public class SoundEvent extends Object
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<SoundEvent> |
CODEC |
private Identifier |
id |
Constructor and Description |
---|
SoundEvent(Identifier id) |
public static final com.mojang.serialization.Codec<SoundEvent> CODEC
private final Identifier id
public SoundEvent(Identifier id)
@Environment(value=CLIENT) public Identifier getId()