mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 10:46:05 +03:00
15 lines
750 B
Diff
15 lines
750 B
Diff
--- ../src-base/minecraft/net/minecraft/util/SoundEvent.java
|
|
+++ ../src-work/minecraft/net/minecraft/util/SoundEvent.java
|
|
@@ -4,9 +4,9 @@
|
|
import net.minecraftforge.fml.relauncher.Side;
|
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
|
|
|
-public class SoundEvent
|
|
+public class SoundEvent extends net.minecraftforge.registries.IForgeRegistryEntry.Impl<SoundEvent>
|
|
{
|
|
- public static final RegistryNamespaced<ResourceLocation, SoundEvent> REGISTRY = new RegistryNamespaced<ResourceLocation, SoundEvent>();
|
|
+ public static final RegistryNamespaced<ResourceLocation, SoundEvent> REGISTRY = net.minecraftforge.registries.GameData.getWrapper(SoundEvent.class);
|
|
private final ResourceLocation soundName;
|
|
private static int soundEventId;
|
|
|