Class RegistryEventClient
java.lang.Object
de.luckymcdev.foundryengine.client.event.registry.RegistryEventClient
Client-only companion to
RegistryEvent.
This class must never be loaded on the dedicated server — it is only referenced
from within a FMLEnvironment.getDist().isClient() guard in RegistryEvent,
which prevents the server classloader from ever touching it.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterListener(net.neoforged.bus.api.IEventBus modBus)
-
Constructor Details
-
RegistryEventClient
public RegistryEventClient()
-
-
Method Details
-
registerListener
public static void registerListener(net.neoforged.bus.api.IEventBus modBus)
-