Uses of Class
net.minecraftforge.registries.ForgeRegistry
-
Uses of ForgeRegistry in net.minecraftforge.registries
Modifier and TypeFieldDescriptionprivate final ForgeRegistry<T>
NamespacedDefaultedWrapper.delegate
private final ForgeRegistry<T>
NamespacedWrapper.delegate
(package private) final @Nullable ForgeRegistry<?>
RegisterEvent.forgeRegistry
private final ForgeRegistry<V>
ForgeRegistryTagManager.owner
private final ForgeRegistry<T>
NamespacedHolderHelper.owner
private final ForgeRegistry<?>
ObjectHolderRef.registry
Modifier and TypeFieldDescriptionprivate static final BiConsumer<ResourceLocation,
ForgeRegistry<?>> GameData.LOCK_VANILLA
(package private) com.google.common.collect.BiMap<ResourceLocation,
ForgeRegistry<?>> RegistryManager.registries
Modifier and TypeMethodDescription(package private) ForgeRegistry<V>
ForgeRegistry.copy
(RegistryManager stage) (package private) <V> ForgeRegistry<V>
RegistryManager.createRegistry
(ResourceLocation name, RegistryBuilder<V> builder) <V> ForgeRegistry<V>
RegistryManager.getRegistry
(ResourceKey<? extends Registry<V>> key) <V> ForgeRegistry<V>
RegistryManager.getRegistry
(ResourceLocation key) <V> ForgeRegistry<V>
RegistryManager.getRegistry
(ResourceLocation key, RegistryManager other) Modifier and TypeMethodDescriptionprivate static <V> void
RegistryManager.injectForgeRegistry
(ForgeRegistry<V> forgeReg, Registry<? extends Registry<?>> rootRegistry) void
ForgeRegistry.loadIds
(Map<ResourceLocation, Integer> ids, Map<ResourceLocation, String> overrides, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remapped, ForgeRegistry<V> old, ResourceLocation name) (package private) void
ForgeRegistry.processMissingEvent
(ResourceLocation name, ForgeRegistry<V> pool, List<MissingMappingsEvent.Mapping<V>> mappings, Map<ResourceLocation, Integer> missing, Map<ResourceLocation, IdMappingEvent.IdRemapping> remaps, Collection<ResourceLocation> defaulted, Collection<ResourceLocation> failed, boolean injectNetworkDummies) (package private) static <V> void
RegistryManager.registerToBuiltinRegistry
(ForgeRegistry<V> forgeReg) (package private) static <V> void
RegistryManager.registerToRootRegistry
(ForgeRegistry<V> forgeReg) (package private) void
ForgeRegistry.sync
(ResourceLocation name, ForgeRegistry<V> from) ModifierConstructorDescription(package private)
ForgeRegistryTagManager
(ForgeRegistry<V> owner) private
NamespacedDefaultedWrapper
(ForgeRegistry<T> owner, Function<T, Holder.Reference<T>> holderLookup) (package private)
NamespacedHolderHelper
(ForgeRegistry<T> owner, Registry<T> self, @Nullable ResourceLocation defaultKey, @Nullable Function<T, Holder.Reference<T>> holderLookup) NamespacedWrapper
(ForgeRegistry<T> owner, Function<T, Holder.Reference<T>> holderLookup) private
ObjectHolderRef
(ForgeRegistry<?> registry, Field field, ResourceLocation injectedObject) (package private)
RegisterEvent
(@NotNull ResourceKey<? extends Registry<?>> registryKey, @Nullable ForgeRegistry<?> forgeRegistry, @Nullable Registry<?> vanillaRegistry)