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>>
TagRegistry<T>ForgeTagHandler.getTagRegistry(IForgeRegistry<T> registry) static <T extends IForgeRegistryEntry<T>>
ITag.INamedTag<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 final 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>>
ITagCollection<T>IForgeTagCollectionSupplier.getCustomTypeCollection(IForgeRegistry<T> reg) Gets theITagCollectionfor a forge registry, or throws an exception if the registry doesn't support custom tag types.default <T extends IForgeRegistryEntry<T>>
TIForgePacketBuffer.readRegistryIdUnsafe(IForgeRegistry<T> registry) Reads an integer value from the buffer, which will be interpreted as an registry-id in the given registry.default voidIForgePacketBuffer.writeRegistryIdUnsafe(IForgeRegistry<?> registry, ResourceLocation entryKey) Writes the given entries integer id to the buffer.default <T extends IForgeRegistryEntry<T>>
voidIForgePacketBuffer.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 final 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 final Supplier<IForgeRegistry<CustomTagTypesTest.Custom>>CustomTagTypesTest.CUSTOM_REG -
Uses of IForgeRegistry in net.minecraftforge.event
Fields in net.minecraftforge.event declared as IForgeRegistryModifier and TypeFieldDescriptionprivate final IForgeRegistry<T>RegistryEvent.MissingMappings.Mapping.poolfinal IForgeRegistry<T>RegistryEvent.MissingMappings.Mapping.registryprivate final IForgeRegistry<T>RegistryEvent.MissingMappings.registryprivate final 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.fml
Methods in net.minecraftforge.fml 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.fml with parameters of type IForgeRegistryModifierConstructorDescriptionprivateRegistryObject(ResourceLocation name, IForgeRegistry<V> registry) -
Uses of IForgeRegistry in net.minecraftforge.fml.common.registry
Methods in net.minecraftforge.fml.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.fml.network
Methods in net.minecraftforge.fml.network with parameters of type IForgeRegistryModifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
ITagCollection<T>FMLPlayMessages.SyncCustomTagTypes.readTagCollection(PacketBuffer buf, IForgeRegistry<T> registry) -
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 final IForgeRegistry<Activity>ForgeRegistries.ACTIVITIESstatic final IForgeRegistry<Attribute>ForgeRegistries.ATTRIBUTESstatic final IForgeRegistry<Biome>ForgeRegistries.BIOMESstatic final IForgeRegistry<BlockPlacerType<?>>ForgeRegistries.BLOCK_PLACER_TYPESstatic final IForgeRegistry<BlockStateProviderType<?>>ForgeRegistries.BLOCK_STATE_PROVIDER_TYPESstatic final IForgeRegistry<Block>ForgeRegistries.BLOCKSstatic final IForgeRegistry<ChunkStatus>ForgeRegistries.CHUNK_STATUSstatic final IForgeRegistry<ContainerType<?>>ForgeRegistries.CONTAINERSstatic final IForgeRegistry<DataSerializerEntry>ForgeRegistries.DATA_SERIALIZERSstatic final IForgeRegistry<Placement<?>>ForgeRegistries.DECORATORSstatic final IForgeRegistry<Enchantment>ForgeRegistries.ENCHANTMENTSstatic final IForgeRegistry<EntityType<?>>ForgeRegistries.ENTITIESstatic final IForgeRegistry<Feature<?>>ForgeRegistries.FEATURESstatic final IForgeRegistry<Fluid>ForgeRegistries.FLUIDSstatic final IForgeRegistry<FoliagePlacerType<?>>ForgeRegistries.FOLIAGE_PLACER_TYPESstatic final IForgeRegistry<Item>ForgeRegistries.ITEMSstatic final IForgeRegistry<GlobalLootModifierSerializer<?>>ForgeRegistries.LOOT_MODIFIER_SERIALIZERSstatic final IForgeRegistry<MemoryModuleType<?>>ForgeRegistries.MEMORY_MODULE_TYPESstatic final IForgeRegistry<PaintingType>ForgeRegistries.PAINTING_TYPESstatic final IForgeRegistry<ParticleType<?>>ForgeRegistries.PARTICLE_TYPESstatic final IForgeRegistry<PointOfInterestType>ForgeRegistries.POI_TYPESstatic final IForgeRegistry<Potion>ForgeRegistries.POTION_TYPESstatic final IForgeRegistry<Effect>ForgeRegistries.POTIONSstatic final IForgeRegistry<VillagerProfession>ForgeRegistries.PROFESSIONSstatic final IForgeRegistry<IRecipeSerializer<?>>ForgeRegistries.RECIPE_SERIALIZERSstatic final IForgeRegistry<Schedule>ForgeRegistries.SCHEDULESstatic final IForgeRegistry<SensorType<?>>ForgeRegistries.SENSOR_TYPESstatic final IForgeRegistry<SoundEvent>ForgeRegistries.SOUND_EVENTSstatic final IForgeRegistry<StatType<?>>ForgeRegistries.STAT_TYPESstatic final IForgeRegistry<Structure<?>>ForgeRegistries.STRUCTURE_FEATURESstatic final IForgeRegistry<SurfaceBuilder<?>>ForgeRegistries.SURFACE_BUILDERSstatic final IForgeRegistry<TileEntityType<?>>ForgeRegistries.TILE_ENTITIESstatic final IForgeRegistry<TreeDecoratorType<?>>ForgeRegistries.TREE_DECORATOR_TYPESprivate IForgeRegistry<T>DeferredRegister.typestatic final IForgeRegistry<WorldCarver<?>>ForgeRegistries.WORLD_CARVERSstatic final 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.util.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