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 TypeMethodDescriptionRegistrySetBuilder.build
(RegistryAccess p_256112_) RegistrySetBuilder.buildPatch
(RegistryAccess p_255676_, HolderLookup.Provider p_255900_) static HolderLookup.Provider
HolderLookup.Provider.create
(Stream<HolderLookup.RegistryLookup<?>> p_256054_) Modifier and TypeMethodDescriptionRegistrySetBuilder.buildPatch
(RegistryAccess p_255676_, HolderLookup.Provider p_255900_) void
RegistrySetBuilder.BuildState.fillMissingHolders
(HolderLookup.Provider p_255679_) -
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
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
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
Deprecated.Modifier and TypeMethodDescriptionRegistriesDatapackGenerator.getRegistryProvider()
Deprecated.Forge: Call this to get the registry holder lookup provider that includes elements added viaDatapackBuiltinEntriesProvider
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_) Deprecated.private static void
VanillaRegistries.validateThatAllBiomeFeaturesHaveBiomeFilter
(HolderLookup.Provider p_256242_) ModifierConstructorDescriptionRegistriesDatapackGenerator
(PackOutput p_256643_, CompletableFuture<HolderLookup.Provider> p_255780_) Deprecated.RegistriesDatapackGenerator
(PackOutput p_256643_, CompletableFuture<HolderLookup.Provider> p_255780_, Set<String> modIds) Deprecated. -
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
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_) 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 TypeMethodDescriptionprivate static HolderLookup.Provider
DatapackBuiltinEntriesProvider.constructRegistries
(HolderLookup.Provider original, RegistrySetBuilder datapackEntriesBuilder) A method used to construct empty bootstraps for all registries this provider did not touch such that existing dynamic registry objects do not get inlined.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) private static HolderLookup.Provider
DatapackBuiltinEntriesProvider.constructRegistries
(HolderLookup.Provider original, RegistrySetBuilder datapackEntriesBuilder) A method used to construct empty bootstraps for all registries this provider did not touch such that existing dynamic registry objects do not get inlined.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) DatapackBuiltinEntriesProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> registries, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder.DatapackBuiltinEntriesProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> registries, RegistrySetBuilder datapackEntriesBuilder, Set<String> modIds) Constructs a new datapack provider which generates all registry objects from the provided mods using the holder.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)