Package net.minecraftforge.registries
package net.minecraftforge.registries
-
ClassDescriptionUtility class to help with managing registry entries.A class that exposes static references to all vanilla and Forge registries.ForgeRegistry<V extends IForgeRegistryEntry<V>>ForgeRegistryEntry<V extends IForgeRegistryEntry<V>>Default implementation of IForgeRegistryEntry, this is necessary to reduce redundant code.ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>This class exists for registry entries which are dynamic (e.g.ForgeRegistryTag<V extends IForgeRegistryEntry<V>>ForgeRegistryTagManager<V extends IForgeRegistryEntry<V>>INTERNAL ONLY MODDERS SHOULD HAVE NO REASON TO USE THIS CLASSIForgeRegistry<V extends IForgeRegistryEntry<V>>Main interface for the registry system.IForgeRegistry.AddCallback<V extends IForgeRegistryEntry<V>>Callback fired when objects are added to the registry.IForgeRegistry.BakeCallback<V extends IForgeRegistryEntry<V>>Callback fired when the registry is done processing.IForgeRegistry.ClearCallback<V extends IForgeRegistryEntry<V>>Callback fired when the registry is cleared.IForgeRegistry.CreateCallback<V extends IForgeRegistryEntry<V>>Callback fired when a registry instance is created.IForgeRegistry.DummyFactory<V extends IForgeRegistryEntry<V>>Factory for creating dummy entries, allowing worlds to be loaded and keep the missing block references.IForgeRegistry.MissingFactory<V extends IForgeRegistryEntry<V>>IForgeRegistry.ValidateCallback<V extends IForgeRegistryEntry<V>>Callback fired when the registry contents are validated.IForgeRegistryInternal<V extends IForgeRegistryEntry<V>>IForgeRegistryModifiable<V extends IForgeRegistryEntry<V>>IHolderHelperHolder<T extends IForgeRegistryEntry<T>>A registry delegate for holding references to items or blocks These should be safe to use in things like lists though aliased items and blocks will not have object identity with respect to their delegate.NamespacedDefaultedWrapper<T extends IForgeRegistryEntry<T>>NamespacedDefaultedWrapper.Factory<V extends IForgeRegistryEntry<V>>NamespacedHolderHelper<T extends IForgeRegistryEntry<T>>NamespacedWrapper<T extends IForgeRegistryEntry<T>>NamespacedWrapper.Factory<V extends IForgeRegistryEntry<V>>Register new registries when you receive this event through
RegistryBuilder
andNewRegistryEvent.create(RegistryBuilder)
.NewRegistryEvent.RegistryData<V extends IForgeRegistryEntry<V>>NewRegistryEvent.RegistryHolder<V extends IForgeRegistryEntry<V>>ObjectHolder can be used to automatically populate public static final fields with entries from the registry.Internal registry for trackingObjectHolder
referencesRegistryBuilder<T extends IForgeRegistryEntry<T>>Deprecated, for removal: This API element is subject to removal in a future version.