Uses of Interface
net.minecraftforge.registries.IForgeRegistry
Packages that use IForgeRegistry
Package
Description
-
Uses of IForgeRegistry in net.minecraft.world.item.alchemy
Constructors in net.minecraft.world.item.alchemy with parameters of type IForgeRegistryModifierConstructorDescriptionMix(IForgeRegistry<T> registry, T p_43536_, Ingredient p_43537_, T p_43538_) -
Uses of IForgeRegistry in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type IForgeRegistryModifier and TypeMethodDescriptiondefault <T> TIForgeFriendlyByteBuf.readRegistryIdUnsafe(@NotNull IForgeRegistry<T> registry) Reads an integer value from the buffer, which will be interpreted as an registry-id in the given registry.default <T> voidIForgeFriendlyByteBuf.writeRegistryId(@NotNull IForgeRegistry<T> registry, T entry) Writes a given registry-entry's integer id to the specified buffer in combination with writing the containing registry's id.default voidIForgeFriendlyByteBuf.writeRegistryIdUnsafe(@NotNull IForgeRegistry<?> registry, @NotNull ResourceLocation entryKey) Writes the given entries integer id to the buffer.default <T> voidIForgeFriendlyByteBuf.writeRegistryIdUnsafe(@NotNull 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.registries
Subinterfaces of IForgeRegistry in net.minecraftforge.registriesModifier and TypeInterfaceDescriptioninterfaceinterfaceClasses 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<BlockEntityType<?>>ForgeRegistries.BLOCK_ENTITY_TYPESstatic final IForgeRegistry<BlockStateProviderType<?>>ForgeRegistries.BLOCK_STATE_PROVIDER_TYPESstatic final IForgeRegistry<Block>ForgeRegistries.BLOCKSstatic final IForgeRegistry<ChunkStatus>ForgeRegistries.CHUNK_STATUSstatic final IForgeRegistry<ArgumentTypeInfo<?,?>> ForgeRegistries.COMMAND_ARGUMENT_TYPESstatic final IForgeRegistry<Enchantment>ForgeRegistries.ENCHANTMENTSstatic final IForgeRegistry<EntityType<?>>ForgeRegistries.ENTITY_TYPESstatic final IForgeRegistry<Feature<?>>ForgeRegistries.FEATURESstatic final IForgeRegistry<Fluid>ForgeRegistries.FLUIDSstatic final IForgeRegistry<FoliagePlacerType<?>>ForgeRegistries.FOLIAGE_PLACER_TYPESstatic final IForgeRegistry<Item>ForgeRegistries.ITEMSstatic final IForgeRegistry<MemoryModuleType<?>>ForgeRegistries.MEMORY_MODULE_TYPESstatic final IForgeRegistry<MenuType<?>>ForgeRegistries.MENU_TYPESstatic final IForgeRegistry<MobEffect>ForgeRegistries.MOB_EFFECTSstatic final IForgeRegistry<PaintingVariant>ForgeRegistries.PAINTING_VARIANTSstatic final IForgeRegistry<ParticleType<?>>ForgeRegistries.PARTICLE_TYPESstatic final IForgeRegistry<PoiType>ForgeRegistries.POI_TYPESprivate final IForgeRegistry<T>MissingMappingsEvent.Mapping.poolstatic final IForgeRegistry<Potion>ForgeRegistries.POTIONSstatic final IForgeRegistry<RecipeSerializer<?>>ForgeRegistries.RECIPE_SERIALIZERSstatic final IForgeRegistry<RecipeType<?>>ForgeRegistries.RECIPE_TYPESprivate IForgeRegistry<V>DeferredRegister.RegistryHolder.registryprivate final IForgeRegistry<T>MissingMappingsEvent.Mapping.registryprivate final IForgeRegistry<?>MissingMappingsEvent.registry(package private) IForgeRegistry<V>NewRegistryEvent.RegistryHolder.registrystatic 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<TreeDecoratorType<?>>ForgeRegistries.TREE_DECORATOR_TYPESstatic final IForgeRegistry<VillagerProfession>ForgeRegistries.VILLAGER_PROFESSIONSstatic final IForgeRegistry<WorldCarver<?>>ForgeRegistries.WORLD_CARVERSFields in net.minecraftforge.registries with type parameters of type IForgeRegistryModifier and TypeFieldDescriptionstatic final Supplier<IForgeRegistry<com.mojang.serialization.Codec<? extends BiomeModifier>>>ForgeRegistries.BIOME_MODIFIER_SERIALIZERSCallingSupplier.get()beforeNewRegistryEventis fired will result in a null registry returned.static final Supplier<IForgeRegistry<EntityDataSerializer<?>>>ForgeRegistries.ENTITY_DATA_SERIALIZERSCallingSupplier.get()beforeNewRegistryEventis fired will result in a null registry returned.static final Supplier<IForgeRegistry<FluidType>>ForgeRegistries.FLUID_TYPESCallingSupplier.get()beforeNewRegistryEventis fired will result in a null registry returned.static final Supplier<IForgeRegistry<com.mojang.serialization.Codec<? extends IGlobalLootModifier>>>ForgeRegistries.GLOBAL_LOOT_MODIFIER_SERIALIZERSCallingSupplier.get()beforeNewRegistryEventis fired will result in a null registry returned.static final Supplier<IForgeRegistry<HolderSetType>>ForgeRegistries.HOLDER_SET_TYPESCallingSupplier.get()beforeNewRegistryEventis fired will result in a null registry returned.private final Consumer<IForgeRegistry<V>>NewRegistryEvent.RegistryData.onFillThe field for theonFillrecord component.static final Supplier<IForgeRegistry<com.mojang.serialization.Codec<? extends StructureModifier>>>ForgeRegistries.STRUCTURE_MODIFIER_SERIALIZERSCallingSupplier.get()beforeNewRegistryEventis fired will result in a null registry returned.Methods in net.minecraftforge.registries that return IForgeRegistryModifier and TypeMethodDescription(package private) IForgeRegistry<T>RegistryBuilder.create()Modders: UseNewRegistryEvent.create(RegistryBuilder)insteadDeferredRegister.RegistryHolder.get()NewRegistryEvent.RegistryHolder.get()<T> @Nullable IForgeRegistry<T>RegisterEvent.getForgeRegistry()MissingMappingsEvent.getRegistry()MissingMappingsEvent.Mapping.getRegistry()Methods in net.minecraftforge.registries that return types with arguments of type IForgeRegistryModifier and TypeMethodDescription<V> Supplier<IForgeRegistry<V>>NewRegistryEvent.create(RegistryBuilder<V> builder) Adds a registry builder to be created.<V> Supplier<IForgeRegistry<V>>NewRegistryEvent.create(RegistryBuilder<V> builder, @Nullable Consumer<IForgeRegistry<V>> onFill) Adds a registry builder to be created.DeferredRegister.makeRegistry(Supplier<RegistryBuilder<T>> sup) Only used for custom registries to fill the forge registry held in this DeferredRegister.private Supplier<IForgeRegistry<T>>DeferredRegister.makeRegistry(ResourceLocation registryName, Supplier<RegistryBuilder<T>> sup) NewRegistryEvent.RegistryData.onFill()Returns the value of theonFillrecord component.Methods in net.minecraftforge.registries with parameters of type IForgeRegistryModifier and TypeMethodDescriptionstatic <B> DeferredRegister<B>DeferredRegister.create(IForgeRegistry<B> reg, String modid) DeferredRegister factory for forge registries that exist before this DeferredRegister is created.static <T,U extends T>
RegistryObject<U>RegistryObject.create(ResourceLocation name, IForgeRegistry<T> registry) Factory for aRegistryObjectthat stores the value of an object from the provided forge registry once it is ready.<V> ResourceLocationRegistryManager.getName(IForgeRegistry<V> reg) private voidDeferredRegister.onFill(IForgeRegistry<?> registry) (package private) voidRegistryObject.updateReference(IForgeRegistry<? extends T> registry) Method parameters in net.minecraftforge.registries with type arguments of type IForgeRegistryModifier and TypeMethodDescriptionprivate <T> voidNewRegistryEvent.buildRegistry(Map<RegistryBuilder<?>, IForgeRegistry<?>> builtRegistries, NewRegistryEvent.RegistryData<T> data) <V> Supplier<IForgeRegistry<V>>NewRegistryEvent.create(RegistryBuilder<V> builder, @Nullable Consumer<IForgeRegistry<V>> onFill) Adds a registry builder to be created.Constructors in net.minecraftforge.registries with parameters of type IForgeRegistryModifierConstructorDescriptionprivateDeferredRegister(IForgeRegistry<T> reg, String modid) Mapping(IForgeRegistry<T> registry, IForgeRegistry<T> pool, ResourceLocation key, int id) MissingMappingsEvent(ResourceKey<? extends Registry<?>> key, IForgeRegistry<?> registry, Collection<MissingMappingsEvent.Mapping<?>> missed) privateRegistryObject(ResourceLocation name, IForgeRegistry<?> registry) Constructor parameters in net.minecraftforge.registries with type arguments of type IForgeRegistryModifierConstructorDescriptionprivateRegistryData(RegistryBuilder<V> builder, NewRegistryEvent.RegistryHolder<V> registryHolder, Consumer<IForgeRegistry<V>> onFill) Creates an instance of aRegistryDatarecord class.