Class StaticAttributeDisplayType<T extends AttributeDisplay>
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.attribute.StaticAttributeDisplayType<T>
- All Implemented Interfaces:
AttributeDisplayType<T>,MappedEntity
@NullMarked
public class StaticAttributeDisplayType<T extends AttributeDisplay>
extends AbstractMappedEntity
implements AttributeDisplayType<T>
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data -
Constructor Summary
ConstructorsConstructorDescriptionStaticAttributeDisplayType(@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
-
StaticAttributeDisplayType
@Internal public StaticAttributeDisplayType(@Nullable @Nullable TypesBuilderData data, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer)
-
-
Method Details
-
read
- Specified by:
readin interfaceAttributeDisplayType<T extends AttributeDisplay>
-
write
- Specified by:
writein interfaceAttributeDisplayType<T extends AttributeDisplay>
-