Package net.minecraftforge.registries
package net.minecraftforge.registries
-
InterfaceDescriptionIForgeRegistry<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>>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.
-
ClassDescriptionDeferredRegister<T extends IForgeRegistryEntry<T>>Utility 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.INTERNAL ONLY MODDERS SHOULD HAVE NO REASON TO USE THIS CLASSNamespacedDefaultedWrapper<T extends IForgeRegistryEntry<T>>NamespacedDefaultedWrapper.Factory<V extends IForgeRegistryEntry<V>>NamespacedWrapper<T extends IForgeRegistryEntry<T>>NamespacedWrapper.Factory<V extends IForgeRegistryEntry<V>>Internal registry for tracking
ObjectHolder
referencesRegistryBuilder<T extends IForgeRegistryEntry<T>> -
Annotation InterfaceDescriptionObjectHolder can be used to automatically populate public static final fields with entries from the registry.