Class ConsumeEffectTypes
java.lang.Object
com.github.retrooper.packetevents.protocol.item.consumables.ConsumeEffectTypes
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConsumeEffectType
<ApplyEffectsConsumeEffect> static final ConsumeEffectType
<ClearAllEffectsConsumeEffect> static final ConsumeEffectType
<PlaySoundConsumeEffect> static final ConsumeEffectType
<RemoveEffectsConsumeEffect> static final ConsumeEffectType
<TeleportRandomlyConsumeEffect> -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ConsumeEffect<?>>
ConsumeEffectType<T> define
(String name, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer) static VersionedRegistry
<ConsumeEffectType<?>>
-
Field Details
-
APPLY_EFFECTS
-
REMOVE_EFFECTS
-
CLEAR_ALL_EFFECTS
-
TELEPORT_RANDOMLY
-
PLAY_SOUND
-
-
Method Details
-
define
@Internal public static <T extends ConsumeEffect<?>> ConsumeEffectType<T> define(String name, PacketWrapper.Reader<T> reader, PacketWrapper.Writer<T> writer) -
getRegistry
-