implements ConsumeEffect
| dcs | |
| net.minecraft.world.item.consume_effects.PlaySoundConsumeEffect | |
| net.minecraft.class_10136 | |
| net.minecraft.unmapped.C_kezmvpzh | |
| net.minecraft.item.consume.PlaySoundConsumeEffect | |
| net.minecraft.item.PlaySoundComponent |
Field summary
| Modifier and Type | Field | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| private final Holder<SoundEvent> |
| ||||||||||||
| public static final com.mojang.serialization.MapCodec<PlaySoundConsumeEffect> |
| ||||||||||||
| public static final StreamCodec<RegistryFriendlyByteBuf, PlaySoundConsumeEffect> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Holder<SoundEvent> sound) |
Method summary
| Modifier and Type | Method | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public ConsumeEffect$Type<PlaySoundConsumeEffect> |
| ||||||||||||
| public boolean |
| ||||||||||||
| public Holder<SoundEvent> |
|