History - net.minecraft.world.item.consume_effects.PlaySoundConsumeEffect

1.21.3

Names

dbc

net.minecraft.world.item.consume_effects.PlaySoundConsumeEffect

net.minecraft.class_10136

net.minecraft.item.consume.PlaySoundConsumeEffect

net.minecraft.world.item.consume_effects.PlaySoundConsumeEffect

Fields

Holder<SoundEvent>: c, sound, comp_3098, sound

com.mojang.serialization.MapCodec<PlaySoundConsumeEffect>: a, CODEC, field_53815, CODEC

StreamCodec<RegistryFriendlyByteBuf, PlaySoundConsumeEffect>: b, STREAM_CODEC, field_53816, PACKET_CODEC

Constructors

(Holder<SoundEvent>)

Methods

ConsumeEffect$Type<PlaySoundConsumeEffect> (): a, getType, method_62864, getType

boolean (Level, ItemStack, LivingEntity): a, apply, method_62866, onConsume

Holder<SoundEvent> (): b, sound, comp_3098, sound