Class StaticSlotDisplayType<T extends SlotDisplay<?>>
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.recipe.display.slot.StaticSlotDisplayType<T>
- All Implemented Interfaces:
MappedEntity,SlotDisplayType<T>
public class StaticSlotDisplayType<T extends SlotDisplay<?>>
extends AbstractMappedEntity
implements SlotDisplayType<T>
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data -
Constructor Summary
ConstructorsConstructorDescriptionStaticSlotDisplayType(@Nullable TypesBuilderData data, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer) -
Method Summary
Modifier and TypeMethodDescriptionread(PacketWrapper<?> wrapper) voidwrite(PacketWrapper<?> wrapper, T display) Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticSlotDisplayType
public StaticSlotDisplayType(@Nullable @Nullable TypesBuilderData data, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer)
-
-
Method Details
-
read
- Specified by:
readin interfaceSlotDisplayType<T extends SlotDisplay<?>>
-
write
- Specified by:
writein interfaceSlotDisplayType<T extends SlotDisplay<?>>
-