implements ConsumeEffect
dbc | |
net.minecraft.world.item.consume_effects.PlaySoundConsumeEffect | |
net.minecraft.class_10136 | |
net.minecraft.item.consume.PlaySoundConsumeEffect | |
net.minecraft.src.C_346203_ | |
net.minecraft.world.item.consume_effects.PlaySoundConsumeEffect |
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> arg0) |
Method summary
Modifier and Type | Method | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public ConsumeEffect$Type<PlaySoundConsumeEffect> |
| ||||||||||
public boolean |
| ||||||||||
public Holder<SoundEvent> |
|