Package | Description |
---|---|
net.minecraftforge.common | |
net.minecraftforge.registries |
Modifier and Type | Field and Description |
---|---|
private static ForgeRegistry<DataSerializerEntry> |
ForgeHooks.serializerRegistry |
Modifier and Type | Field and Description |
---|---|
private ForgeRegistry<V> |
NamespacedWrapper.delegate |
private ForgeRegistry<V> |
NamespacedDefaultedWrapper.delegate |
private static ForgeRegistry<EntityEntry> |
GameData.entityRegistry |
private ForgeRegistry<?> |
ObjectHolderRef.registry |
Modifier and Type | Field and Description |
---|---|
private static java.util.function.BiConsumer<ResourceLocation,ForgeRegistry<?>> |
GameData.LOCK_VANILLA |
(package private) com.google.common.collect.BiMap<ResourceLocation,ForgeRegistry<? extends IForgeRegistryEntry<?>>> |
RegistryManager.registries |
Modifier and Type | Method and Description |
---|---|
(package private) ForgeRegistry<V> |
ForgeRegistry.copy(RegistryManager stage) |
(package private) <V extends IForgeRegistryEntry<V>> |
RegistryManager.createRegistry(ResourceLocation name,
java.lang.Class<V> type,
ResourceLocation defaultKey,
int min,
int max,
IForgeRegistry.AddCallback<V> add,
IForgeRegistry.ClearCallback<V> clear,
IForgeRegistry.CreateCallback<V> create,
IForgeRegistry.ValidateCallback<V> validate,
boolean persisted,
boolean allowOverrides,
boolean isModifiable,
IForgeRegistry.DummyFactory<V> dummyFactory,
IForgeRegistry.MissingFactory<V> missing) |
static ForgeRegistry<EntityEntry> |
GameData.getEntityRegistry() |
<V extends IForgeRegistryEntry<V>> |
RegistryManager.getRegistry(ResourceLocation key) |
<V extends IForgeRegistryEntry<V>> |
RegistryManager.getRegistry(ResourceLocation key,
RegistryManager other) |
private ForgeRegistry<?> |
ObjectHolderRef.getRegistryForType(java.lang.reflect.Field field) |
Modifier and Type | Method and Description |
---|---|
void |
ForgeRegistry.loadIds(java.util.Map<ResourceLocation,java.lang.Integer> ids,
java.util.Map<ResourceLocation,java.lang.String> overrides,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remapped,
ForgeRegistry<V> old,
ResourceLocation name) |
(package private) void |
ForgeRegistry.processMissingEvent(ResourceLocation name,
ForgeRegistry<V> pool,
java.util.List<RegistryEvent.MissingMappings.Mapping<V>> mappings,
java.util.Map<ResourceLocation,java.lang.Integer> missing,
java.util.Map<ResourceLocation,java.lang.Integer[]> remaps,
java.util.Collection<ResourceLocation> defaulted,
java.util.Collection<ResourceLocation> failed,
boolean injectNetworkDummies) |
(package private) void |
ForgeRegistry.sync(ResourceLocation name,
ForgeRegistry<V> from) |
Constructor and Description |
---|
NamespacedDefaultedWrapper(ForgeRegistry<V> owner) |
NamespacedWrapper(ForgeRegistry<V> owner) |