Interface ComponentType<T>
- All Superinterfaces:
MappedEntity
- All Known Implementing Classes:
StaticComponentType
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(NBT nbt, ClientVersion version) encode
(T value, ClientVersion version) <Z> ComponentType
<Z> read
(PacketWrapper<?> wrapper) void
write
(PacketWrapper<?> wrapper, T content) Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Method Details
-
read
-
write
-
decode
-
encode
-
legacyMap
-