Package net.minecraft.util
Class SoundEvent
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<SoundEvent>
-
- net.minecraft.util.SoundEvent
-
- All Implemented Interfaces:
IForgeRegistryEntry<SoundEvent>
public class SoundEvent extends ForgeRegistryEntry<SoundEvent>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<SoundEvent>
CODEC
private ResourceLocation
location
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description SoundEvent(ResourceLocation p_i46834_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceLocation
getLocation()
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<SoundEvent> CODEC
-
location
private final ResourceLocation location
-
-
Constructor Detail
-
SoundEvent
public SoundEvent(ResourceLocation p_i46834_1_)
-
-
Method Detail
-
getLocation
public ResourceLocation getLocation()
-
-