Uses of Class
net.minecraftforge.registries.RegistryManager
-
Uses of RegistryManager in net.minecraftforge.registries
Modifier and TypeFieldDescriptionstatic final RegistryManager
RegistryManager.ACTIVE
static final RegistryManager
RegistryManager.FROZEN
private final RegistryManager
ForgeRegistry.stage
private RegistryManager
NamespacedWrapper.stage
static final RegistryManager
RegistryManager.VANILLA
Modifier and TypeMethodDescription(package private) ForgeRegistry<V>
ForgeRegistry.copy
(RegistryManager stage) <V> ForgeRegistry<V>
RegistryManager.getRegistry
(ResourceLocation key, RegistryManager other) private static <T> void
GameData.loadFrozenDataToStagingRegistry
(RegistryManager STAGING, ResourceLocation name, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps) private static <T> void
GameData.loadPersistentDataToStagingRegistry
(RegistryManager pool, RegistryManager to, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Map<ResourceLocation, Integer> missing, ResourceLocation name, ForgeRegistry.Snapshot snap) private static <T> void
GameData.loadRegistry
(ResourceLocation registryName, RegistryManager from, RegistryManager to, boolean freeze) void
GameData.BlockCallbacks.onAdd
(IForgeRegistryInternal<Block> owner, RegistryManager stage, int id, ResourceKey<Block> key, Block block, @Nullable Block oldBlock) void
GameData.ItemCallbacks.onAdd
(IForgeRegistryInternal<Item> owner, RegistryManager stage, int id, ResourceKey<Item> key, Item item, @Nullable Item oldItem) void
GameData.PointOfInterestTypeCallbacks.onAdd
(IForgeRegistryInternal<PoiType> owner, RegistryManager stage, int id, ResourceKey<PoiType> key, PoiType obj, @Nullable PoiType oldObj) void
IForgeRegistry.AddCallback.onAdd
(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceKey<V> key, V obj, V oldObj) void
NamespacedDefaultedWrapper.Factory.onAdd
(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceKey<V> key, V value, V oldValue) void
NamespacedWrapper.Factory.onAdd
(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceKey<V> key, V value, V oldValue) (package private) Holder.Reference<T>
NamespacedDefaultedWrapper.onAdded
(RegistryManager stage, int id, ResourceKey<T> key, T newValue, T oldValue) (package private) Holder.Reference<T>
NamespacedWrapper.onAdded
(RegistryManager stage, int id, ResourceKey<T> key, T newValue, T oldValue) void
GameData.BlockCallbacks.onBake
(IForgeRegistryInternal<Block> owner, RegistryManager stage) void
IForgeRegistry.BakeCallback.onBake
(IForgeRegistryInternal<V> owner, RegistryManager stage) void
GameData.BlockCallbacks.onClear
(IForgeRegistryInternal<Block> owner, RegistryManager stage) void
GameData.ItemCallbacks.onClear
(IForgeRegistryInternal<Item> owner, RegistryManager stage) void
GameData.PointOfInterestTypeCallbacks.onClear
(IForgeRegistryInternal<PoiType> owner, RegistryManager stage) void
IForgeRegistry.ClearCallback.onClear
(IForgeRegistryInternal<V> owner, RegistryManager stage) void
GameData.BlockCallbacks.onCreate
(IForgeRegistryInternal<Block> owner, RegistryManager stage) void
GameData.ItemCallbacks.onCreate
(IForgeRegistryInternal<Item> owner, RegistryManager stage) void
GameData.PointOfInterestTypeCallbacks.onCreate
(IForgeRegistryInternal<PoiType> owner, RegistryManager stage) void
IForgeRegistry.CreateCallback.onCreate
(IForgeRegistryInternal<V> owner, RegistryManager stage) void
NamespacedDefaultedWrapper.Factory.onCreate
(IForgeRegistryInternal<V> owner, RegistryManager stage) void
NamespacedWrapper.Factory.onCreate
(IForgeRegistryInternal<V> owner, RegistryManager stage) void
GameData.AttributeCallbacks.onValidate
(IForgeRegistryInternal<Attribute> owner, RegistryManager stage, int id, ResourceLocation key, Attribute obj) void
IForgeRegistry.ValidateCallback.onValidate
(IForgeRegistryInternal<V> owner, RegistryManager stage, int id, ResourceLocation key, V obj) private static <T> void
GameData.processMissing
(ResourceLocation name, RegistryManager STAGING, MissingMappingsEvent e, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) static void
GameData.revert
(RegistryManager state, ResourceLocation registry, boolean lock) static void
GameData.revertTo
(RegistryManager target, boolean fireEvents) ModifierConstructorDescription(package private)
ForgeRegistry
(RegistryManager stage, ResourceLocation name, RegistryBuilder<V> builder) (package private)
NamespacedDefaultedWrapper
(ForgeRegistry<T> fowner, Function<T, Holder.Reference<T>> intrusiveHolderCallback, RegistryManager stage) (package private)
NamespacedWrapper
(ForgeRegistry<T> fowner, Function<T, Holder.Reference<T>> intrusiveHolderCallback, RegistryManager stage)