Uses of Interface
net.minecraft.core.HolderLookup.Provider
Package
Description
-
Uses of HolderLookup.Provider in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptionprivate void
CreativeModeInventoryScreen.tryRefreshInvalidatedTabs
(FeatureFlagSet p_259501_, boolean p_259713_, HolderLookup.Provider p_270898_) -
Uses of HolderLookup.Provider in net.minecraft.commands
Modifier and TypeMethodDescriptionstatic CommandBuildContext
Commands.createValidationContext
(HolderLookup.Provider p_256243_) static CommandBuildContext
CommandBuildContext.simple
(HolderLookup.Provider p_255702_, FeatureFlagSet p_255968_) -
Uses of HolderLookup.Provider in net.minecraft.core
Modifier and TypeInterfaceDescriptioninterface
static interface
Modifier and TypeFieldDescriptionprivate final HolderLookup.Provider
RegistrySetBuilder.PatchedRegistries.full
The field for thefull
record component.private final HolderLookup.Provider
RegistrySetBuilder.PatchedRegistries.patches
The field for thepatches
record component.Modifier and TypeMethodDescriptionRegistrySetBuilder.build
(RegistryAccess p_256112_) private static HolderLookup.Provider
RegistrySetBuilder.buildProviderWithContext
(RegistryAccess p_311176_, Stream<HolderLookup.RegistryLookup<?>> p_311668_) static HolderLookup.Provider
HolderLookup.Provider.create
(Stream<HolderLookup.RegistryLookup<?>> p_256054_) private HolderLookup.Provider
RegistrySetBuilder.createLazyFullPatchedRegistries
(RegistryAccess p_312999_, HolderLookup.Provider p_309815_, Cloner.Factory p_311992_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_309672_, HolderLookup.Provider p_312434_) RegistrySetBuilder.PatchedRegistries.full()
Returns the value of thefull
record component.RegistrySetBuilder.PatchedRegistries.patches()
Returns the value of thepatches
record component.Modifier and TypeMethodDescriptionRegistrySetBuilder.buildPatch
(RegistryAccess p_255676_, HolderLookup.Provider p_255900_, Cloner.Factory p_310265_) Cloner.clone
(T p_311468_, HolderLookup.Provider p_309751_, HolderLookup.Provider p_312597_) private <T> HolderLookup.RegistryLookup<T>
RegistrySetBuilder.createLazyFullPatchedRegistries
(HolderOwner<T> p_312548_, Cloner.Factory p_312934_, ResourceKey<? extends Registry<? extends T>> p_313093_, HolderLookup.Provider p_311682_, HolderLookup.Provider p_313198_, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> p_311605_) private HolderLookup.Provider
RegistrySetBuilder.createLazyFullPatchedRegistries
(RegistryAccess p_312999_, HolderLookup.Provider p_309815_, Cloner.Factory p_311992_, Map<ResourceKey<? extends Registry<?>>, RegistrySetBuilder.RegistryContents<?>> p_309672_, HolderLookup.Provider p_312434_) Modifier and TypeMethodDescriptionprivate <T> HolderLookup.RegistryLookup<T>
RegistrySetBuilder.createLazyFullPatchedRegistries
(HolderOwner<T> p_312548_, Cloner.Factory p_312934_, ResourceKey<? extends Registry<? extends T>> p_313093_, HolderLookup.Provider p_311682_, HolderLookup.Provider p_313198_, org.apache.commons.lang3.mutable.MutableObject<HolderLookup.Provider> p_311605_) ModifierConstructorDescriptionPatchedRegistries
(HolderLookup.Provider full, HolderLookup.Provider patches) Creates an instance of aPatchedRegistries
record class. -
Uses of HolderLookup.Provider in net.minecraft.data
Modifier and TypeMethodDescriptionprivate static <T extends DataProvider>
DataProvider.Factory<T>Main.bindRegistries
(BiFunction<PackOutput, CompletableFuture<HolderLookup.Provider>, T> p_256618_, CompletableFuture<HolderLookup.Provider> p_256515_) private static <T extends DataProvider>
DataProvider.Factory<T>Main.bindRegistries
(BiFunction<PackOutput, CompletableFuture<HolderLookup.Provider>, T> p_256618_, CompletableFuture<HolderLookup.Provider> p_256515_) -
Uses of HolderLookup.Provider in net.minecraft.data.advancements
Modifier and TypeFieldDescriptionprivate final CompletableFuture<HolderLookup.Provider>
AdvancementProvider.registries
Deprecated.Modifier and TypeMethodDescriptionvoid
AdvancementSubProvider.generate
(HolderLookup.Provider p_255901_, Consumer<AdvancementHolder> p_250888_) ModifierConstructorDescriptionAdvancementProvider
(PackOutput p_256529_, CompletableFuture<HolderLookup.Provider> p_255722_, List<AdvancementSubProvider> p_255883_) Deprecated. -
Uses of HolderLookup.Provider in net.minecraft.data.advancements.packs
Modifier and TypeMethodDescriptionvoid
UpdateOneTwentyOneAdventureAdvancements.generate
(HolderLookup.Provider p_312808_, Consumer<AdvancementHolder> p_313044_) void
VanillaAdventureAdvancements.generate
(HolderLookup.Provider p_255887_, Consumer<AdvancementHolder> p_256428_) void
VanillaHusbandryAdvancements.generate
(HolderLookup.Provider p_255680_, Consumer<AdvancementHolder> p_251389_) void
VanillaNetherAdvancements.generate
(HolderLookup.Provider p_256338_, Consumer<AdvancementHolder> p_249760_) void
VanillaStoryAdvancements.generate
(HolderLookup.Provider p_256574_, Consumer<AdvancementHolder> p_248554_) void
VanillaTheEndAdvancements.generate
(HolderLookup.Provider p_256214_, Consumer<AdvancementHolder> p_250851_) Modifier and TypeMethodDescriptionstatic AdvancementProvider
UpdateOneTwentyOneAdvancementProvider.create
(PackOutput p_309585_, CompletableFuture<HolderLookup.Provider> p_309812_) static AdvancementProvider
VanillaAdvancementProvider.create
(PackOutput p_255890_, CompletableFuture<HolderLookup.Provider> p_255777_) -
Uses of HolderLookup.Provider in net.minecraft.data.info
Modifier and TypeFieldDescriptionprivate final CompletableFuture<HolderLookup.Provider>
BiomeParametersDumpReport.registries
private final CompletableFuture<HolderLookup.Provider>
CommandsReport.registries
ModifierConstructorDescriptionBiomeParametersDumpReport
(PackOutput p_256322_, CompletableFuture<HolderLookup.Provider> p_256222_) CommandsReport
(PackOutput p_256167_, CompletableFuture<HolderLookup.Provider> p_256506_) -
Uses of HolderLookup.Provider in net.minecraft.data.registries
Modifier and TypeFieldDescriptionprivate final CompletableFuture<HolderLookup.Provider>
RegistriesDatapackGenerator.registries
Modifier and TypeMethodDescriptionRegistriesDatapackGenerator.getRegistryProvider()
Forge: Call this to get the registry holder lookup provider that includes elements added vianet.minecraftforge.common.data.DatapackBuiltinEntriesProvider
Modifier and TypeMethodDescriptionprivate <T> Optional<CompletableFuture<?>>
RegistriesDatapackGenerator.dumpRegistryCap
(CachedOutput p_256502_, HolderLookup.Provider p_256492_, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> p_256000_, RegistryDataLoader.RegistryData<T> p_256449_) private static void
VanillaRegistries.validateThatAllBiomeFeaturesHaveBiomeFilter
(HolderLookup.Provider p_256242_) Modifier and TypeMethodDescriptionRegistryPatchGenerator.createLookup
(CompletableFuture<HolderLookup.Provider> p_310881_, RegistrySetBuilder p_310262_) UpdateOneTwentyOneRegistries.createLookup
(CompletableFuture<HolderLookup.Provider> p_310387_) ModifierConstructorDescriptionRegistriesDatapackGenerator
(PackOutput p_256643_, CompletableFuture<HolderLookup.Provider> p_255780_) RegistriesDatapackGenerator
(PackOutput p_256643_, CompletableFuture<HolderLookup.Provider> p_255780_, Set<String> modIds) -
Uses of HolderLookup.Provider in net.minecraft.data.tags
Modifier and TypeFieldDescriptionprivate final CompletableFuture<HolderLookup.Provider>
TagsProvider.lookupProvider
Modifier and TypeMethodDescriptionprotected CompletableFuture<HolderLookup.Provider>
ItemTagsProvider.createContentsProvider()
protected CompletableFuture<HolderLookup.Provider>
TagsProvider.createContentsProvider()
Modifier and TypeMethodDescriptionprotected void
BannerPatternTagsProvider.addTags
(HolderLookup.Provider p_255819_) protected void
BiomeTagsProvider.addTags
(HolderLookup.Provider p_256485_) protected void
CatVariantTagsProvider.addTags
(HolderLookup.Provider p_256078_) protected void
DamageTypeTagsProvider.addTags
(HolderLookup.Provider p_270108_) protected void
EntityTypeTagsProvider.addTags
(HolderLookup.Provider p_255894_) protected void
FlatLevelGeneratorPresetTagsProvider.addTags
(HolderLookup.Provider p_255741_) protected void
FluidTagsProvider.addTags
(HolderLookup.Provider p_256366_) protected void
GameEventTagsProvider.addTags
(HolderLookup.Provider p_255981_) protected void
InstrumentTagsProvider.addTags
(HolderLookup.Provider p_256291_) protected void
PaintingVariantTagsProvider.addTags
(HolderLookup.Provider p_256017_) protected void
PoiTypeTagsProvider.addTags
(HolderLookup.Provider p_256206_) protected void
StructureTagsProvider.addTags
(HolderLookup.Provider p_256087_) protected abstract void
TagsProvider.addTags
(HolderLookup.Provider p_256380_) protected void
TradeRebalanceStructureTagsProvider.addTags
(HolderLookup.Provider p_301604_) protected void
UpdateOneTwentyOneBiomeTagsProvider.addTags
(HolderLookup.Provider p_312031_) protected void
UpdateOneTwentyOneBlockTagsProvider.addTags
(HolderLookup.Provider p_311271_) protected void
UpdateOneTwentyOneDamageTypeTagsProvider.addTags
(HolderLookup.Provider p_312660_) protected void
UpdateOneTwentyOneEntityTypeTagsProvider.addTags
(HolderLookup.Provider p_312640_) protected void
UpdateOneTwentyOneItemTagsProvider.addTags
(HolderLookup.Provider p_312918_) protected void
VanillaBlockTagsProvider.addTags
(HolderLookup.Provider p_255662_) protected void
VanillaItemTagsProvider.addTags
(HolderLookup.Provider p_255639_) protected void
WorldPresetTagsProvider.addTags
(HolderLookup.Provider p_255734_) ModifierConstructorDescriptionBannerPatternTagsProvider
(PackOutput p_256451_, CompletableFuture<HolderLookup.Provider> p_256420_) Deprecated.Forge: Use the mod id variantBannerPatternTagsProvider
(PackOutput p_256451_, CompletableFuture<HolderLookup.Provider> p_256420_, String modId, ExistingFileHelper existingFileHelper) BiomeTagsProvider
(PackOutput p_255800_, CompletableFuture<HolderLookup.Provider> p_256205_) Deprecated.Forge: Use the mod id variantBiomeTagsProvider
(PackOutput p_255800_, CompletableFuture<HolderLookup.Provider> p_256205_, String modId, ExistingFileHelper existingFileHelper) CatVariantTagsProvider
(PackOutput p_256547_, CompletableFuture<HolderLookup.Provider> p_256090_) Deprecated.Forge: Use the mod id variantCatVariantTagsProvider
(PackOutput p_256547_, CompletableFuture<HolderLookup.Provider> p_256090_, String modId, ExistingFileHelper existingFileHelper) DamageTypeTagsProvider
(PackOutput p_270719_, CompletableFuture<HolderLookup.Provider> p_270256_) Deprecated.Forge: Use the mod id variantDamageTypeTagsProvider
(PackOutput p_270719_, CompletableFuture<HolderLookup.Provider> p_270256_, String modId, ExistingFileHelper existingFileHelper) EntityTypeTagsProvider
(PackOutput p_256095_, CompletableFuture<HolderLookup.Provider> p_256572_) Deprecated.Forge: Use the mod id variantEntityTypeTagsProvider
(PackOutput p_256095_, CompletableFuture<HolderLookup.Provider> p_256572_, String modId, ExistingFileHelper existingFileHelper) FlatLevelGeneratorPresetTagsProvider
(PackOutput p_256604_, CompletableFuture<HolderLookup.Provider> p_255962_) Deprecated.Forge: Use the mod id variantFlatLevelGeneratorPresetTagsProvider
(PackOutput p_256604_, CompletableFuture<HolderLookup.Provider> p_255962_, String modId, ExistingFileHelper existingFileHelper) FluidTagsProvider
(PackOutput p_255941_, CompletableFuture<HolderLookup.Provider> p_256600_) Deprecated.Forge: Use the mod id variantFluidTagsProvider
(PackOutput p_255941_, CompletableFuture<HolderLookup.Provider> p_256600_, String modId, ExistingFileHelper existingFileHelper) GameEventTagsProvider
(PackOutput p_256060_, CompletableFuture<HolderLookup.Provider> p_255621_) Deprecated.Forge: Use the mod id variantGameEventTagsProvider
(PackOutput p_256060_, CompletableFuture<HolderLookup.Provider> p_255621_, String modId, ExistingFileHelper existingFileHelper) InstrumentTagsProvider
(PackOutput p_256418_, CompletableFuture<HolderLookup.Provider> p_256038_) Deprecated.Forge: Use the mod id variantInstrumentTagsProvider
(PackOutput p_256418_, CompletableFuture<HolderLookup.Provider> p_256038_, String modId, ExistingFileHelper existingFileHelper) IntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_) Deprecated.Forge: Use the mod id variantIntrinsicHolderTagsProvider
(PackOutput p_275304_, ResourceKey<? extends Registry<T>> p_275709_, CompletableFuture<HolderLookup.Provider> p_275227_, CompletableFuture<TagsProvider.TagLookup<T>> p_275311_, Function<T, ResourceKey<T>> p_275566_, String modId, ExistingFileHelper existingFileHelper) IntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_) Deprecated.Forge: Use the mod id variantIntrinsicHolderTagsProvider
(PackOutput p_256164_, ResourceKey<? extends Registry<T>> p_256155_, CompletableFuture<HolderLookup.Provider> p_256488_, Function<T, ResourceKey<T>> p_256168_, String modId, ExistingFileHelper existingFileHelper) ItemTagsProvider
(PackOutput p_275204_, CompletableFuture<HolderLookup.Provider> p_275194_, CompletableFuture<TagsProvider.TagLookup<Item>> p_275207_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275634_) Deprecated.Forge: Use the mod id variantItemTagsProvider
(PackOutput p_275204_, CompletableFuture<HolderLookup.Provider> p_275194_, CompletableFuture<TagsProvider.TagLookup<Item>> p_275207_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275634_, String modId, ExistingFileHelper existingFileHelper) ItemTagsProvider
(PackOutput p_275343_, CompletableFuture<HolderLookup.Provider> p_275729_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275322_) Deprecated.Forge: Use the mod id variantItemTagsProvider
(PackOutput p_275343_, CompletableFuture<HolderLookup.Provider> p_275729_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275322_, String modId, ExistingFileHelper existingFileHelper) PaintingVariantTagsProvider
(PackOutput p_255750_, CompletableFuture<HolderLookup.Provider> p_256184_) Deprecated.Forge: Use the mod id variantPaintingVariantTagsProvider
(PackOutput p_255750_, CompletableFuture<HolderLookup.Provider> p_256184_, String modId, ExistingFileHelper existingFileHelper) PoiTypeTagsProvider
(PackOutput p_256012_, CompletableFuture<HolderLookup.Provider> p_256617_) Deprecated.Forge: Use the mod id variantPoiTypeTagsProvider
(PackOutput p_256012_, CompletableFuture<HolderLookup.Provider> p_256617_, String modId, ExistingFileHelper existingFileHelper) StructureTagsProvider
(PackOutput p_256522_, CompletableFuture<HolderLookup.Provider> p_256661_) Deprecated.Forge: Use the mod id variantStructureTagsProvider
(PackOutput p_256522_, CompletableFuture<HolderLookup.Provider> p_256661_, String modId, ExistingFileHelper existingFileHelper) protected
TagsProvider
(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_) Deprecated.Forge: Use the mod id variantprotected
TagsProvider
(PackOutput p_256596_, ResourceKey<? extends Registry<T>> p_255886_, CompletableFuture<HolderLookup.Provider> p_256513_, String modId, ExistingFileHelper existingFileHelper) protected
TagsProvider
(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_) Deprecated.Forge: Use the mod id variantprotected
TagsProvider
(PackOutput p_275432_, ResourceKey<? extends Registry<T>> p_275476_, CompletableFuture<HolderLookup.Provider> p_275222_, CompletableFuture<TagsProvider.TagLookup<T>> p_275565_, String modId, ExistingFileHelper existingFileHelper) TradeRebalanceStructureTagsProvider
(PackOutput p_301607_, CompletableFuture<HolderLookup.Provider> p_301609_) UpdateOneTwentyOneBiomeTagsProvider
(PackOutput p_310637_, CompletableFuture<HolderLookup.Provider> p_311863_, CompletableFuture<TagsProvider.TagLookup<Biome>> p_310269_) UpdateOneTwentyOneBlockTagsProvider
(PackOutput p_311091_, CompletableFuture<HolderLookup.Provider> p_312495_, CompletableFuture<TagsProvider.TagLookup<Block>> p_312696_) UpdateOneTwentyOneDamageTypeTagsProvider
(PackOutput p_309466_, CompletableFuture<HolderLookup.Provider> p_309611_) UpdateOneTwentyOneEntityTypeTagsProvider
(PackOutput p_312388_, CompletableFuture<HolderLookup.Provider> p_311973_) UpdateOneTwentyOneItemTagsProvider
(PackOutput p_309895_, CompletableFuture<HolderLookup.Provider> p_312150_, CompletableFuture<TagsProvider.TagLookup<Item>> p_311361_, CompletableFuture<TagsProvider.TagLookup<Block>> p_310346_) VanillaBlockTagsProvider
(PackOutput p_256406_, CompletableFuture<HolderLookup.Provider> p_256525_) VanillaItemTagsProvider
(PackOutput p_275657_, CompletableFuture<HolderLookup.Provider> p_275712_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275572_) WorldPresetTagsProvider
(PackOutput p_255701_, CompletableFuture<HolderLookup.Provider> p_255974_) Deprecated.Forge: Use the mod id variantWorldPresetTagsProvider
(PackOutput p_255701_, CompletableFuture<HolderLookup.Provider> p_255974_, String modId, ExistingFileHelper existingFileHelper) -
Uses of HolderLookup.Provider in net.minecraft.resources
Modifier and TypeMethodDescriptionstatic <T> RegistryOps<T>
RegistryOps.create
(com.mojang.serialization.DynamicOps<T> p_256342_, HolderLookup.Provider p_255950_) -
Uses of HolderLookup.Provider in net.minecraft.world.item
Modifier and TypeFieldDescriptionprivate final HolderLookup.Provider
CreativeModeTab.ItemDisplayParameters.holders
The field for theholders
record component.Modifier and TypeMethodDescriptionCreativeModeTab.ItemDisplayParameters.holders()
Returns the value of theholders
record component.Modifier and TypeMethodDescriptionboolean
CreativeModeTab.ItemDisplayParameters.needsUpdate
(FeatureFlagSet p_270338_, boolean p_270835_, HolderLookup.Provider p_270575_) static boolean
CreativeModeTabs.tryRebuildTabContents
(FeatureFlagSet p_270988_, boolean p_270090_, HolderLookup.Provider p_270799_) ModifierConstructorDescriptionItemDisplayParameters
(FeatureFlagSet enabledFeatures, boolean hasPermissions, HolderLookup.Provider holders) Creates an instance of aItemDisplayParameters
record class. -
Uses of HolderLookup.Provider in net.minecraftforge.common.data
Modifier and TypeMethodDescriptionprotected void
ForgeBiomeTagsProvider.addTags
(HolderLookup.Provider lookupProvider) void
ForgeBlockTagsProvider.addTags
(HolderLookup.Provider p_256380_) void
ForgeEntityTypeTagsProvider.addTags
(HolderLookup.Provider lookupProvider) void
ForgeFluidTagsProvider.addTags
(HolderLookup.Provider lookupProvider) void
ForgeItemTagsProvider.addTags
(HolderLookup.Provider lookupProvider) void
ForgeAdvancementProvider.AdvancementGenerator.generate
(HolderLookup.Provider registries, Consumer<AdvancementHolder> saver, ExistingFileHelper existingFileHelper) A method used to generate advancements for a mod.ModifierConstructorDescriptionBlockTagsProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> lookupProvider, String modId, @Nullable ExistingFileHelper existingFileHelper) ForgeAdvancementProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> registries, ExistingFileHelper existingFileHelper, List<ForgeAdvancementProvider.AdvancementGenerator> subProviders) Constructs an advancement provider using the generators to write the advancements to a file.ForgeBiomeTagsProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> lookupProvider, ExistingFileHelper existingFileHelper) ForgeBlockTagsProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> lookupProvider, @Nullable ExistingFileHelper existingFileHelper) ForgeEntityTypeTagsProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> lookupProvider, ExistingFileHelper existingFileHelper) ForgeFluidTagsProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> lookupProvider, ExistingFileHelper existingFileHelper) ForgeItemTagsProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> lookupProvider, CompletableFuture<TagsProvider.TagLookup<Block>> blockTagProvider, ExistingFileHelper existingFileHelper) -
Uses of HolderLookup.Provider in net.minecraftforge.data.event
Modifier and TypeFieldDescriptionprivate final CompletableFuture<HolderLookup.Provider>
GatherDataEvent.DataGeneratorConfig.lookupProvider
ModifierConstructorDescriptionDataGeneratorConfig
(Set<String> mods, Path path, Collection<Path> inputs, CompletableFuture<HolderLookup.Provider> lookupProvider, boolean server, boolean client, boolean dev, boolean reports, boolean validate, boolean flat) -
Uses of HolderLookup.Provider in net.minecraftforge.debug.gameplay.crafting
Modifier and TypeMethodDescriptionvoid
CustomIngredientsTest.BlockTagsGen.addTags
(HolderLookup.Provider lookup) void
CustomIngredientsTest.ItemTagsGen.addTags
(HolderLookup.Provider lookup) ModifierConstructorDescriptionBlockTagsGen
(PackOutput out, CompletableFuture<HolderLookup.Provider> look, @Nullable ExistingFileHelper exist) ItemTagsGen
(PackOutput out, CompletableFuture<HolderLookup.Provider> lookup, BlockTagsProvider blocks, ExistingFileHelper existing)