Class StaticRecipeDisplayType<T extends RecipeDisplay<?>>
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.recipe.display.StaticRecipeDisplayType<T>
- All Implemented Interfaces:
MappedEntity
,RecipeDisplayType<T>
public class StaticRecipeDisplayType<T extends RecipeDisplay<?>>
extends AbstractMappedEntity
implements RecipeDisplayType<T>
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorDescriptionStaticRecipeDisplayType
(@Nullable TypesBuilderData data, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer) -
Method Summary
Modifier and TypeMethodDescriptionread
(PacketWrapper<?> wrapper) void
write
(PacketWrapper<?> wrapper, T display) Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticRecipeDisplayType
public StaticRecipeDisplayType(@Nullable @Nullable TypesBuilderData data, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer)
-
-
Method Details
-
read
- Specified by:
read
in interfaceRecipeDisplayType<T extends RecipeDisplay<?>>
-
write
- Specified by:
write
in interfaceRecipeDisplayType<T extends RecipeDisplay<?>>
-