Class StaticConsumeEffectType<T extends ConsumeEffect<?>>
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.item.consumables.StaticConsumeEffectType<T>
- All Implemented Interfaces:
ConsumeEffectType<T>
,MappedEntity
public class StaticConsumeEffectType<T extends ConsumeEffect<?>>
extends AbstractMappedEntity
implements ConsumeEffectType<T>
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorDescriptionStaticConsumeEffectType
(@Nullable TypesBuilderData data, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer) -
Method Summary
Modifier and TypeMethodDescriptionread
(PacketWrapper<?> wrapper) void
write
(PacketWrapper<?> wrapper, T effect) 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
-
StaticConsumeEffectType
public StaticConsumeEffectType(@Nullable @Nullable TypesBuilderData data, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer)
-
-
Method Details
-
read
- Specified by:
read
in interfaceConsumeEffectType<T extends ConsumeEffect<?>>
-
write
- Specified by:
write
in interfaceConsumeEffectType<T extends ConsumeEffect<?>>
-