Uses of Interface
net.minecraftforge.registries.IForgeRegistry
-
-
Uses of IForgeRegistry in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type IForgeRegistry Modifier and Type Method Description static <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, java.util.Set<java.util.function.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 IForgeRegistry Modifier and Type Field Description private static java.util.Map<IForgeRegistry<?>,java.lang.String>ForgeRegistryTagsProvider. vanillaTypesMethods in net.minecraftforge.common.data with parameters of type IForgeRegistry Modifier and Type Method Description private static <T extends IForgeRegistryEntry<T>>
java.lang.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 IForgeRegistry Constructor Description ForgeRegistryTagsProvider(DataGenerator generatorIn, IForgeRegistry<T> registryIn, java.lang.String modId, ExistingFileHelper existingFileHelper) -
Uses of IForgeRegistry in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type IForgeRegistry Modifier and Type Method Description default <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 IForgeRegistry Modifier and Type Field Description private static java.util.function.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 IForgeRegistry Modifier and Type Field Description private static java.util.function.Supplier<IForgeRegistry<CustomTagTypesTest.Custom>>CustomTagTypesTest. CUSTOM_REG -
Uses of IForgeRegistry in net.minecraftforge.event
Fields in net.minecraftforge.event declared as IForgeRegistry Modifier and Type Field Description private IForgeRegistry<T>RegistryEvent.MissingMappings.Mapping. poolIForgeRegistry<T>RegistryEvent.MissingMappings.Mapping. registryprivate IForgeRegistry<T>RegistryEvent.MissingMappings. registryprivate IForgeRegistry<T>RegistryEvent.Register. registryMethods in net.minecraftforge.event that return IForgeRegistry Modifier and Type Method Description IForgeRegistry<T>RegistryEvent.MissingMappings. getRegistry()IForgeRegistry<T>RegistryEvent.Register. getRegistry()Constructors in net.minecraftforge.event with parameters of type IForgeRegistry Constructor Description Mapping(IForgeRegistry<T> registry, IForgeRegistry<T> pool, ResourceLocation key, int id)MissingMappings(ResourceLocation name, IForgeRegistry<T> registry, java.util.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 IForgeRegistry Modifier and Type Method Description static <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 IForgeRegistry Constructor Description RegistryObject(ResourceLocation name, IForgeRegistry<V> registry) -
Uses of IForgeRegistry in net.minecraftforge.fml.common.registry
Methods in net.minecraftforge.fml.common.registry that return IForgeRegistry Modifier and Type Method Description static <K extends IForgeRegistryEntry<K>>
IForgeRegistry<K>GameRegistry. findRegistry(java.lang.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 IForgeRegistry Modifier and Type Method Description private 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.registries Modifier and Type Interface Description interfaceIForgeRegistryInternal<V extends IForgeRegistryEntry<V>>interfaceIForgeRegistryModifiable<V extends IForgeRegistryEntry<V>>Classes in net.minecraftforge.registries that implement IForgeRegistry Modifier and Type Class Description classForgeRegistry<V extends IForgeRegistryEntry<V>>Methods in net.minecraftforge.registries that return IForgeRegistry Modifier and Type Method Description IForgeRegistry<T>RegistryBuilder. create()<V extends IForgeRegistryEntry<V>>
IForgeRegistry<V>RegistryManager. getRegistry(java.lang.Class<? super V> cls)Methods in net.minecraftforge.registries that return types with arguments of type IForgeRegistry Modifier and Type Method Description java.util.function.Supplier<IForgeRegistry<T>>DeferredRegister. makeRegistry(java.lang.String name, java.util.function.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 IForgeRegistry Modifier and Type Method Description static <B extends IForgeRegistryEntry<B>>
DeferredRegister<B>DeferredRegister. create(IForgeRegistry<B> reg, java.lang.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 Constructor Description DeferredRegister(IForgeRegistry<T> reg, java.lang.String modid)
-