public class SoundEvent extends IForgeRegistryEntry.Impl<SoundEvent>
IForgeRegistryEntry.Impl<T extends IForgeRegistryEntry<T>>
Modifier and Type | Field and Description |
---|---|
static RegistryNamespaced<ResourceLocation,SoundEvent> |
REGISTRY |
private static int |
soundEventId |
private ResourceLocation |
soundName |
delegate
Constructor and Description |
---|
SoundEvent(ResourceLocation soundNameIn) |
Modifier and Type | Method and Description |
---|---|
ResourceLocation |
getSoundName() |
private static void |
registerSound(java.lang.String soundNameIn) |
static void |
registerSounds() |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final RegistryNamespaced<ResourceLocation,SoundEvent> REGISTRY
private final ResourceLocation soundName
private static int soundEventId
public SoundEvent(ResourceLocation soundNameIn)
public ResourceLocation getSoundName()
public static void registerSounds()
private static void registerSound(java.lang.String soundNameIn)