Package net.minecraftforge.registries
package net.minecraftforge.registries
-
ClassDescriptionFired when datapack registries can be registered.Utility class to help with managing registry entries.A class that exposes static references to all vanilla and Forge registries.INTERNAL ONLY MODDERS SHOULD HAVE NO REASON TO USE THIS CLASSCalled whenever the ID mapping might have changed.Main interface for the registry system.Callback fired when objects are added to the registry.Callback fired when the registry is done processing.Callback fired when the registry is cleared.Callback fired when a registry instance is created.Factory for creating dummy entries, allowing worlds to be loaded and keep the missing block references.Callback fired when the registry contents are validated.Fired on the
forge bus
.Actions you can take with this missing mapping.Register new registries when you receive this event throughRegistryBuilder
andNewRegistryEvent.create(RegistryBuilder)
.ObjectHolder can be used to automatically populate public static final fields with entries from the registry.Internal registry for trackingObjectHolder
referencesThis event fires for each forge and vanilla registry when all registries are ready to have modded objects registered.