Uses of Interface
net.minecraftforge.registries.IForgeRegistry
Packages that use IForgeRegistry
Package
Description
-
Uses of IForgeRegistry in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type IForgeRegistryModifier and TypeMethodDescriptionstatic <T extends IForgeRegistryEntry<T>>
Tags.IOptionalNamedTag<T>ForgeTagHandler.createOptionalTag(IForgeRegistry<T> registry, ResourceLocation name)Helper method that creates an optional tag for a forge registry, erroring if the registry doesn't support custom tag types.static <T extends IForgeRegistryEntry<T>>
Tags.IOptionalNamedTag<T>ForgeTagHandler.createOptionalTag(IForgeRegistry<T> registry, ResourceLocation name, Set<Supplier<T>> defaults)Helper method that creates an optional tag for a forge registry, erroring if the registry doesn't support custom tag types.private static <T extends IForgeRegistryEntry<T>>
StaticTagHelper<T>ForgeTagHandler.getTagHelper(IForgeRegistry<T> registry)static <T extends IForgeRegistryEntry<T>>
Tag.Named<T>ForgeTagHandler.makeWrapperTag(IForgeRegistry<T> registry, ResourceLocation name)Helper method that creates a named tag for a forge registry, erroring if the registry doesn't support custom tag types.private static voidForgeTagHandler.validateRegistrySupportsTags(IForgeRegistry<?> registry) -
Uses of IForgeRegistry in net.minecraftforge.common.data
Fields in net.minecraftforge.common.data with type parameters of type IForgeRegistryModifier and TypeFieldDescriptionprivate static Map<IForgeRegistry<?>,String>ForgeRegistryTagsProvider.vanillaTypesMethods in net.minecraftforge.common.data with parameters of type IForgeRegistryModifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
StringForgeRegistryTagsProvider.getTagFolder(IForgeRegistry<T> registryIn)private static <T extends IForgeRegistryEntry<T>>
Registry<T>ForgeRegistryTagsProvider.wrapRegistry(IForgeRegistry<T> registryIn)Constructors in net.minecraftforge.common.data with parameters of type IForgeRegistryModifierConstructorDescriptionForgeRegistryTagsProvider(DataGenerator generatorIn, IForgeRegistry<T> registryIn, String modId, ExistingFileHelper existingFileHelper) -
Uses of IForgeRegistry in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type IForgeRegistryModifier 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 voidIForgeFriendlyByteBuf.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
Fields in net.minecraftforge.debug with type parameters of type IForgeRegistryModifier and TypeFieldDescriptionprivate static Supplier<IForgeRegistry<DeferredRegistryTest.Custom>>DeferredRegistryTest.CUSTOM_REG -
Uses of IForgeRegistry in net.minecraftforge.debug.misc
Fields in net.minecraftforge.debug.misc with type parameters of type IForgeRegistryModifier and TypeFieldDescriptionprivate static Supplier<IForgeRegistry<CustomTagTypesTest.Custom>>CustomTagTypesTest.CUSTOM_REG -
Uses of IForgeRegistry in net.minecraftforge.event
Fields in net.minecraftforge.event declared as IForgeRegistryModifier and TypeFieldDescriptionprivate IForgeRegistry<T>RegistryEvent.MissingMappings.Mapping.poolRegistryEvent.MissingMappings.Mapping.registryprivate IForgeRegistry<T>RegistryEvent.MissingMappings.registryprivate IForgeRegistry<T>RegistryEvent.Register.registryMethods in net.minecraftforge.event that return IForgeRegistryModifier and TypeMethodDescriptionRegistryEvent.MissingMappings.getRegistry()RegistryEvent.Register.getRegistry()Constructors in net.minecraftforge.event with parameters of type IForgeRegistryModifierConstructorDescriptionMapping(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.fmllegacy
Methods in net.minecraftforge.fmllegacy with parameters of type IForgeRegistryModifier and TypeMethodDescriptionstatic <T extends IForgeRegistryEntry<T>, U extends T>
RegistryObject<U>RegistryObject.of(ResourceLocation name, IForgeRegistry<T> registry)voidRegistryObject.updateReference(IForgeRegistry<? extends T> registry)Constructors in net.minecraftforge.fmllegacy with parameters of type IForgeRegistryModifierConstructorDescriptionprivateRegistryObject(ResourceLocation name, IForgeRegistry<V> registry) -
Uses of IForgeRegistry in net.minecraftforge.fmllegacy.common.registry
Methods in net.minecraftforge.fmllegacy.common.registry that return IForgeRegistryModifier and TypeMethodDescriptionstatic <K extends IForgeRegistryEntry<K>>
IForgeRegistry<K>GameRegistry.findRegistry(Class<K> registryType)Retrieves the registry associated with this super class type. -
Uses of IForgeRegistry in net.minecraftforge.registries
Subinterfaces of IForgeRegistry in net.minecraftforge.registriesModifier and TypeInterfaceDescriptioninterfaceIForgeRegistryInternal<V extends IForgeRegistryEntry<V>>interfaceIForgeRegistryModifiable<V extends IForgeRegistryEntry<V>>Classes in net.minecraftforge.registries that implement IForgeRegistryFields in net.minecraftforge.registries declared as IForgeRegistryModifier and TypeFieldDescriptionstatic IForgeRegistry<Activity>ForgeRegistries.ACTIVITIESstatic IForgeRegistry<Attribute>ForgeRegistries.ATTRIBUTESstatic IForgeRegistry<Biome>ForgeRegistries.BIOMESstatic IForgeRegistry<BlockEntityType<?>>ForgeRegistries.BLOCK_ENTITIESstatic IForgeRegistry<BlockPlacerType<?>>ForgeRegistries.BLOCK_PLACER_TYPESstatic IForgeRegistry<BlockStateProviderType<?>>ForgeRegistries.BLOCK_STATE_PROVIDER_TYPESstatic IForgeRegistry<Block>ForgeRegistries.BLOCKSstatic IForgeRegistry<ChunkStatus>ForgeRegistries.CHUNK_STATUSstatic IForgeRegistry<MenuType<?>>ForgeRegistries.CONTAINERSstatic IForgeRegistry<DataSerializerEntry>ForgeRegistries.DATA_SERIALIZERSstatic IForgeRegistry<FeatureDecorator<?>>ForgeRegistries.DECORATORSstatic IForgeRegistry<Enchantment>ForgeRegistries.ENCHANTMENTSstatic IForgeRegistry<EntityType<?>>ForgeRegistries.ENTITIESstatic IForgeRegistry<Feature<?>>ForgeRegistries.FEATURESstatic IForgeRegistry<Fluid>ForgeRegistries.FLUIDSstatic IForgeRegistry<FoliagePlacerType<?>>ForgeRegistries.FOLIAGE_PLACER_TYPESstatic IForgeRegistry<Item>ForgeRegistries.ITEMSstatic IForgeRegistry<GlobalLootModifierSerializer<?>>ForgeRegistries.LOOT_MODIFIER_SERIALIZERSstatic IForgeRegistry<MemoryModuleType<?>>ForgeRegistries.MEMORY_MODULE_TYPESstatic IForgeRegistry<MobEffect>ForgeRegistries.MOB_EFFECTSstatic IForgeRegistry<Motive>ForgeRegistries.PAINTING_TYPESstatic IForgeRegistry<ParticleType<?>>ForgeRegistries.PARTICLE_TYPESstatic IForgeRegistry<PoiType>ForgeRegistries.POI_TYPESstatic IForgeRegistry<Potion>ForgeRegistries.POTIONSstatic IForgeRegistry<VillagerProfession>ForgeRegistries.PROFESSIONSstatic IForgeRegistry<RecipeSerializer<?>>ForgeRegistries.RECIPE_SERIALIZERSstatic IForgeRegistry<Schedule>ForgeRegistries.SCHEDULESstatic IForgeRegistry<SensorType<?>>ForgeRegistries.SENSOR_TYPESstatic IForgeRegistry<SoundEvent>ForgeRegistries.SOUND_EVENTSstatic IForgeRegistry<StatType<?>>ForgeRegistries.STAT_TYPESstatic IForgeRegistry<StructureFeature<?>>ForgeRegistries.STRUCTURE_FEATURESstatic IForgeRegistry<SurfaceBuilder<?>>ForgeRegistries.SURFACE_BUILDERSstatic IForgeRegistry<TreeDecoratorType<?>>ForgeRegistries.TREE_DECORATOR_TYPESprivate IForgeRegistry<T>DeferredRegister.typestatic IForgeRegistry<WorldCarver<?>>ForgeRegistries.WORLD_CARVERSstatic IForgeRegistry<ForgeWorldType>ForgeRegistries.WORLD_TYPESMethods in net.minecraftforge.registries that return IForgeRegistryModifier and TypeMethodDescriptionRegistryBuilder.create()<V extends IForgeRegistryEntry<V>>
IForgeRegistry<V>RegistryManager.getRegistry(Class<? super V> cls)Methods in net.minecraftforge.registries that return types with arguments of type IForgeRegistryModifier and TypeMethodDescriptionDeferredRegister.makeRegistry(String name, Supplier<RegistryBuilder<T>> sup)For custom registries only, fills theDeferredRegister.registryFactoryto be called later seeDeferredRegister.register(IEventBus)CallsRegistryBuilder.setName(net.minecraft.resources.ResourceLocation)andRegistryBuilder.setType(java.lang.Class<T>)automatically.Methods in net.minecraftforge.registries with parameters of type IForgeRegistryModifier and TypeMethodDescriptionstatic <B extends IForgeRegistryEntry<B>>
DeferredRegister<B>DeferredRegister.create(IForgeRegistry<B> reg, String modid)Use for vanilla/forge registries.<V extends IForgeRegistryEntry<V>>
ResourceLocationRegistryManager.getName(IForgeRegistry<V> reg)Constructors in net.minecraftforge.registries with parameters of type IForgeRegistry