Uses of Interface
net.minecraftforge.registries.IForgeRegistry
Package
Description
-
Uses of IForgeRegistry in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
Registry<T>ForgeRegistryTagsProvider.wrapRegistry
(IForgeRegistry<T> forgeRegistry) ModifierConstructorDescriptionForgeRegistryTagsProvider
(DataGenerator generator, IForgeRegistry<T> forgeRegistry, String modId, @Nullable ExistingFileHelper existingFileHelper) -
Uses of IForgeRegistry in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault <T extends IForgeRegistryEntry<T>>
TIForgeFriendlyByteBuf.readRegistryIdUnsafe
(IForgeRegistry<T> registry) Reads an integer value from the buffer, which will be interpreted as an registry-id in the given registry.default void
IForgeFriendlyByteBuf.writeRegistryIdUnsafe
(IForgeRegistry<?> registry, ResourceLocation entryKey) Writes the given entries integer id to the buffer.default <T extends IForgeRegistryEntry<T>>
voidIForgeFriendlyByteBuf.writeRegistryIdUnsafe
(IForgeRegistry<T> registry, T entry) Writes the given entries integer id to the buffer. -
Uses of IForgeRegistry in net.minecraftforge.debug
Modifier and TypeFieldDescriptionprivate static final Supplier<IForgeRegistry<DeferredRegistryTest.Custom>>
DeferredRegistryTest.CUSTOM_REG
-
Uses of IForgeRegistry in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final IForgeRegistry<T>
RegistryEvent.MissingMappings.Mapping.pool
final IForgeRegistry<T>
RegistryEvent.MissingMappings.Mapping.registry
private final IForgeRegistry<T>
RegistryEvent.MissingMappings.registry
private final IForgeRegistry<T>
RegistryEvent.Register.registry
Modifier and TypeMethodDescriptionRegistryEvent.MissingMappings.getRegistry()
RegistryEvent.Register.getRegistry()
ModifierConstructorDescriptionMapping
(IForgeRegistry<T> registry, IForgeRegistry<T> pool, ResourceLocation key, int id) MissingMappings
(ResourceLocation name, IForgeRegistry<T> registry, Collection<RegistryEvent.MissingMappings.Mapping<T>> missed) Register
(ResourceLocation name, IForgeRegistry<T> registry) -
Uses of IForgeRegistry in net.minecraftforge.registries
Modifier and TypeInterfaceDescriptioninterface
IForgeRegistryInternal<V extends IForgeRegistryEntry<V>>
interface
IForgeRegistryModifiable<V extends IForgeRegistryEntry<V>>
Modifier and TypeFieldDescriptionstatic final IForgeRegistry<Activity>
ForgeRegistries.ACTIVITIES
static final IForgeRegistry<Attribute>
ForgeRegistries.ATTRIBUTES
static final IForgeRegistry<Biome>
ForgeRegistries.BIOMES
static final IForgeRegistry<BlockEntityType<?>>
ForgeRegistries.BLOCK_ENTITIES
static final IForgeRegistry<BlockStateProviderType<?>>
ForgeRegistries.BLOCK_STATE_PROVIDER_TYPES
static final IForgeRegistry<Block>
ForgeRegistries.BLOCKS
static final IForgeRegistry<ChunkStatus>
ForgeRegistries.CHUNK_STATUS
static final IForgeRegistry<MenuType<?>>
ForgeRegistries.CONTAINERS
static final IForgeRegistry<Enchantment>
ForgeRegistries.ENCHANTMENTS
static final IForgeRegistry<EntityType<?>>
ForgeRegistries.ENTITIES
static final IForgeRegistry<Feature<?>>
ForgeRegistries.FEATURES
static final IForgeRegistry<Fluid>
ForgeRegistries.FLUIDS
static final IForgeRegistry<FoliagePlacerType<?>>
ForgeRegistries.FOLIAGE_PLACER_TYPES
static final IForgeRegistry<Item>
ForgeRegistries.ITEMS
static final IForgeRegistry<MemoryModuleType<?>>
ForgeRegistries.MEMORY_MODULE_TYPES
static final IForgeRegistry<MobEffect>
ForgeRegistries.MOB_EFFECTS
static final IForgeRegistry<Motive>
ForgeRegistries.PAINTING_TYPES
static final IForgeRegistry<ParticleType<?>>
ForgeRegistries.PARTICLE_TYPES
static final IForgeRegistry<PoiType>
ForgeRegistries.POI_TYPES
static final IForgeRegistry<Potion>
ForgeRegistries.POTIONS
static final IForgeRegistry<VillagerProfession>
ForgeRegistries.PROFESSIONS
static final IForgeRegistry<RecipeSerializer<?>>
ForgeRegistries.RECIPE_SERIALIZERS
(package private) IForgeRegistry<V>
NewRegistryEvent.RegistryHolder.registry
static final IForgeRegistry<Schedule>
ForgeRegistries.SCHEDULES
static final IForgeRegistry<SensorType<?>>
ForgeRegistries.SENSOR_TYPES
static final IForgeRegistry<SoundEvent>
ForgeRegistries.SOUND_EVENTS
static final IForgeRegistry<StatType<?>>
ForgeRegistries.STAT_TYPES
static final IForgeRegistry<StructureFeature<?>>
ForgeRegistries.STRUCTURE_FEATURES
static final IForgeRegistry<TreeDecoratorType<?>>
ForgeRegistries.TREE_DECORATOR_TYPES
static final IForgeRegistry<WorldCarver<?>>
ForgeRegistries.WORLD_CARVERS
Modifier and TypeFieldDescriptionstatic final Supplier<IForgeRegistry<DataSerializerEntry>>
ForgeRegistries.DATA_SERIALIZERS
static final Supplier<IForgeRegistry<GlobalLootModifierSerializer<?>>>
ForgeRegistries.LOOT_MODIFIER_SERIALIZERS
private final Consumer<IForgeRegistry<V>>
NewRegistryEvent.RegistryData.onFill
The field for theonFill
record component.static final Supplier<IForgeRegistry<ForgeWorldPreset>>
ForgeRegistries.WORLD_TYPES
Modifier and TypeMethodDescription(package private) IForgeRegistry<T>
RegistryBuilder.create()
Modders: UseNewRegistryEvent.create(RegistryBuilder)
insteadprivate @Nullable IForgeRegistry<?>
DeferredRegister.findForgeRegistry()
NewRegistryEvent.RegistryHolder.get()
<V extends IForgeRegistryEntry<V>>
IForgeRegistry<V>RegistryManager.getRegistry
(Class<? super V> cls) Deprecated, for removal: This API element is subject to removal in a future version.The uniqueness of registry super types will not be guaranteed starting in 1.19.Modifier and TypeMethodDescription<V extends IForgeRegistryEntry<V>>
Supplier<IForgeRegistry<V>>NewRegistryEvent.create
(RegistryBuilder<V> builder) Adds a registry builder to be created.<V extends IForgeRegistryEntry<V>>
Supplier<IForgeRegistry<V>>NewRegistryEvent.create
(RegistryBuilder<V> builder, @Nullable Consumer<IForgeRegistry<V>> onFill) Adds a registry builder to be created.<E extends IForgeRegistryEntry<E>>
Supplier<IForgeRegistry<E>>DeferredRegister.makeRegistry
(Class<E> base, Supplier<RegistryBuilder<E>> sup) Only used for custom registries to fill the forge registry held in this DeferredRegister.<E extends IForgeRegistryEntry<E>>
Supplier<IForgeRegistry<E>>DeferredRegister.makeRegistry
(String name, Supplier<RegistryBuilder<E>> sup) Deprecated, for removal: This API element is subject to removal in a future version.private <E extends IForgeRegistryEntry<E>>
Supplier<IForgeRegistry<E>>DeferredRegister.makeRegistry
(ResourceLocation registryName, Class<E> superType, Supplier<RegistryBuilder<E>> sup) NewRegistryEvent.RegistryData.onFill()
Returns the value of theonFill
record component.Modifier and TypeMethodDescriptionstatic <B extends IForgeRegistryEntry<B>>
DeferredRegister<B>DeferredRegister.create
(IForgeRegistry<B> reg, String modid) DeferredRegister factory for forge registries that exist before this DeferredRegister is created.static <T extends IForgeRegistryEntry<T>,
U extends T>
RegistryObject<U>RegistryObject.create
(ResourceLocation name, IForgeRegistry<T> registry) Factory for aRegistryObject
that stores the value of an object from the provided forge registry once it is ready.<V extends IForgeRegistryEntry<V>>
ResourceLocationRegistryManager.getName
(IForgeRegistry<V> reg) static <T extends IForgeRegistryEntry<T>,
U extends T>
RegistryObject<U>RegistryObject.of
(ResourceLocation name, IForgeRegistry<T> registry) Deprecated, for removal: This API element is subject to removal in a future version.private void
DeferredRegister.onFill
(IForgeRegistry<?> registry) void
RegistryObject.updateReference
(IForgeRegistry<? extends T> registry) Deprecated.Modifier and TypeMethodDescription<V extends IForgeRegistryEntry<V>>
Supplier<IForgeRegistry<V>>NewRegistryEvent.create
(RegistryBuilder<V> builder, @Nullable Consumer<IForgeRegistry<V>> onFill) Adds a registry builder to be created.ModifierConstructorDescriptionprivate
DeferredRegister
(IForgeRegistry<E> reg, String modid) private
RegistryObject
(ResourceLocation name, IForgeRegistry<V> registry) ModifierConstructorDescriptionprivate
RegistryData
(RegistryBuilder<V> builder, NewRegistryEvent.RegistryHolder<V> registryHolder, Consumer<IForgeRegistry<V>> onFill) Creates an instance of aRegistryData
record class.