Uses of Interface
net.minecraft.item.consume.ConsumeEffect
-
Uses of ConsumeEffect in net.minecraft.component.type
Modifier and TypeFieldDescriptionprivate final List
<ConsumeEffect> ConsumableComponent.Builder.consumeEffects
private final List
<ConsumeEffect> DeathProtectionComponent.deathEffects
The field for thedeathEffects
record component.private final List
<ConsumeEffect> ConsumableComponent.onConsumeEffects
The field for theonConsumeEffects
record component.Modifier and TypeMethodDescriptionDeathProtectionComponent.deathEffects()
Returns the value of thedeathEffects
record component.ConsumableComponent.onConsumeEffects()
Returns the value of theonConsumeEffects
record component.Modifier and TypeMethodDescriptionConsumableComponent.Builder.consumeEffect
(ConsumeEffect consumeEffect) ModifierConstructorDescriptionConsumableComponent
(float float2, UseAction useAction, RegistryEntry<SoundEvent> registryEntry, boolean bool, List<ConsumeEffect> list) -
Uses of ConsumeEffect in net.minecraft.item.consume
Modifier and TypeClassDescriptionfinal record
final record
final record
final record
final record
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ConsumeEffect> ConsumeEffect.CODEC
static final PacketCodec
<RegistryByteBuf, ConsumeEffect> ConsumeEffect.PACKET_CODEC
Modifier and TypeMethodDescriptionprivate static <T extends ConsumeEffect>
ConsumeEffect.Type<T> ConsumeEffect.Type.register
(String id, com.mojang.serialization.MapCodec<T> codec, PacketCodec<RegistryByteBuf, T> packetCodec) Modifier and TypeMethodDescriptionConsumeEffect.Type
<? extends ConsumeEffect> ConsumeEffect.getType()