Class ConsumeEffect<T extends ConsumeEffect<?>>
java.lang.Object
com.github.retrooper.packetevents.protocol.item.consumables.ConsumeEffect<T>
- Direct Known Subclasses:
ApplyEffectsConsumeEffect
,ClearAllEffectsConsumeEffect
,PlaySoundConsumeEffect
,RemoveEffectsConsumeEffect
,TeleportRandomlyConsumeEffect
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetType()
static ConsumeEffect
<?> readFull
(PacketWrapper<?> wrapper) static <T extends ConsumeEffect<?>>
voidwriteFull
(PacketWrapper<?> wrapper, ConsumeEffect<T> effect)
-
Field Details
-
type
-
-
Constructor Details
-
ConsumeEffect
-
-
Method Details
-
readFull
-
writeFull
public static <T extends ConsumeEffect<?>> void writeFull(PacketWrapper<?> wrapper, ConsumeEffect<T> effect) -
getType
-