Uses of Interface
net.minecraft.core.HolderLookup
Packages that use HolderLookup
Package
Description
-
Uses of HolderLookup in net.minecraft.commands
Methods in net.minecraft.commands that return types with arguments of type HolderLookupModifier and TypeMethodDescriptionprivate Optional
<? extends HolderLookup<?>> CommandSourceStack.getLookup
(ResourceKey<? extends Registry<?>> pRegistryKey) Methods in net.minecraft.commands with parameters of type HolderLookupModifier and TypeMethodDescriptiondefault void
SharedSuggestionProvider.suggestRegistryElements
(HolderLookup<?> p_426100_, SharedSuggestionProvider.ElementSuggestionType p_212337_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212338_) -
Uses of HolderLookup in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as HolderLookupModifier and TypeFieldDescriptionprivate final HolderLookup
<T> ResourceArgument.registryLookup
private final HolderLookup
<T> ResourceOrTagArgument.registryLookup
private final HolderLookup
<T> ResourceSelectorArgument.registryLookup
Methods in net.minecraft.commands.arguments with parameters of type HolderLookupModifier and TypeMethodDescriptionstatic <T> Collection
<Holder.Reference<T>> ResourceSelectorArgument.parse
(com.mojang.brigadier.StringReader p_397046_, HolderLookup<T> p_397718_) private static ParticleType
<?> ParticleArgument.readParticleType
(com.mojang.brigadier.StringReader p_249621_, HolderLookup<ParticleType<?>> p_248983_) -
Uses of HolderLookup in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks declared as HolderLookupModifier and TypeFieldDescriptionprivate final HolderLookup
<Block> BlockPredicateArgument.blocks
private final HolderLookup
<Block> BlockStateArgument.blocks
private final HolderLookup
<Block> BlockStateParser.blocks
Methods in net.minecraft.commands.arguments.blocks with parameters of type HolderLookupModifier and TypeMethodDescriptionstatic CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> BlockStateParser.fillSuggestions
(HolderLookup<Block> p_234696_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_234697_, boolean p_234698_, boolean p_234699_) BlockPredicateArgument.parse
(HolderLookup<Block> p_234634_, com.mojang.brigadier.StringReader p_234635_) static BlockStateParser.BlockResult
BlockStateParser.parseForBlock
(HolderLookup<Block> p_234692_, com.mojang.brigadier.StringReader p_234693_, boolean p_234694_) static BlockStateParser.BlockResult
BlockStateParser.parseForBlock
(HolderLookup<Block> pLookup, String pInput, boolean pAllowNbt) static com.mojang.datafixers.util.Either
<BlockStateParser.BlockResult, BlockStateParser.TagResult> BlockStateParser.parseForTesting
(HolderLookup<Block> p_234717_, com.mojang.brigadier.StringReader p_234718_, boolean p_234719_) static com.mojang.datafixers.util.Either
<BlockStateParser.BlockResult, BlockStateParser.TagResult> BlockStateParser.parseForTesting
(HolderLookup<Block> p_252082_, String p_251830_, boolean p_249125_) Constructors in net.minecraft.commands.arguments.blocks with parameters of type HolderLookupModifierConstructorDescriptionprivate
BlockStateParser
(HolderLookup<Block> p_234673_, com.mojang.brigadier.StringReader p_234674_, boolean p_234675_, boolean p_234676_) -
Uses of HolderLookup in net.minecraft.core
Subinterfaces of HolderLookup in net.minecraft.coreModifier and TypeInterfaceDescriptioninterface
static interface
static interface
interface
Registry<T>
interface
Classes in net.minecraft.core that implement HolderLookupModifier and TypeClassDescriptionclass
class
(package private) static class
(package private) static class
(package private) static class
-
Uses of HolderLookup in net.minecraft.data.advancements.packs
Methods in net.minecraft.data.advancements.packs with parameters of type HolderLookupModifier and TypeMethodDescriptionprivate static Advancement.Builder
VanillaHusbandryAdvancements.addCatVariants
(Advancement.Builder pBuilder, HolderLookup<CatVariant> pVariantRegistry) private static Advancement.Builder
VanillaHusbandryAdvancements.addLeashedFrogVariants
(HolderGetter<EntityType<?>> pEntityTypeRegistry, HolderGetter<Item> pItemRegistry, HolderLookup<FrogVariant> pFrogVariants, Advancement.Builder pBuilder) private static Advancement.Builder
VanillaHusbandryAdvancements.addTamedWolfVariants
(Advancement.Builder pBuilder, HolderLookup<WolfVariant> pVariantRegistry) private static <T> Stream
<Holder.Reference<T>> VanillaHusbandryAdvancements.sortedVariants
(HolderLookup<T> pVariantRegistry) private static List
<EntityType<?>> VanillaAdventureAdvancements.validateMobsToKill
(List<EntityType<?>> pMobsToKill, HolderLookup<EntityType<?>> pEntityTypeRegistry) -
Uses of HolderLookup in net.minecraft.data.registries
Methods in net.minecraft.data.registries with parameters of type HolderLookupModifier and TypeMethodDescriptionstatic void
VanillaRegistries.validateThatAllBiomeFeaturesHaveBiomeFilter
(HolderGetter<PlacedFeature> pFeatures, HolderLookup<Biome> pBiomes) -
Uses of HolderLookup in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type HolderLookupModifier and TypeMethodDescriptionprivate static List
<Holder.Reference<Item>> SpawnArmorTrimsCommand.findEquippableItemsWithAssets
(HolderLookup<Item> pItemRegistry) -
Uses of HolderLookup in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type HolderLookupModifier and TypeMethodDescriptionprivate static void
CreativeModeTabs.generateEnchantmentBookTypesAllLevels
(CreativeModeTab.Output pOutput, HolderLookup<Enchantment> pEnchantments, CreativeModeTab.TabVisibility pTabVisibility) private static void
CreativeModeTabs.generateEnchantmentBookTypesOnlyMaxLevel
(CreativeModeTab.Output pOutput, HolderLookup<Enchantment> pEnchantments, CreativeModeTab.TabVisibility pTabVisibility) private static void
CreativeModeTabs.generateInstrumentTypes
(CreativeModeTab.Output pOutput, HolderLookup<Instrument> pInstruments, Item pItem, TagKey<Instrument> pInstrument, CreativeModeTab.TabVisibility pTabVisibility) private static void
CreativeModeTabs.generatePotionEffectTypes
(CreativeModeTab.Output pOutput, HolderLookup<Potion> pPotions, Item pItem, CreativeModeTab.TabVisibility pTabVisibility, FeatureFlagSet pRequiredFeatures) -
Uses of HolderLookup in net.minecraft.world.level
Methods in net.minecraft.world.level that return HolderLookupModifier and TypeMethodDescriptiondefault <T> HolderLookup
<T> LevelReader.holderLookup
(ResourceKey<? extends Registry<? extends T>> pRegistryKey) -
Uses of HolderLookup in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as HolderLookup -
Uses of HolderLookup in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type HolderLookupModifier and TypeMethodDescriptionstatic ChunkGeneratorStructureState
ChunkGeneratorStructureState.createForNormal
(RandomState pRandomState, long pSeed, BiomeSource pBiomeSource, HolderLookup<StructureSet> pStructureSetLookup) ChunkGenerator.createState
(HolderLookup<StructureSet> pStructureSetLookup, RandomState pRandomState, long pSeed) -
Uses of HolderLookup in net.minecraft.world.level.levelgen
Methods in net.minecraft.world.level.levelgen with parameters of type HolderLookupModifier and TypeMethodDescriptionFlatLevelSource.createState
(HolderLookup<StructureSet> pStructureSetLookup, RandomState pRandomState, long pSeed) static Map
<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld
(HolderLookup<DimensionType> pDimensionTypeRegistry, Map<ResourceKey<LevelStem>, LevelStem> pDimensions, ChunkGenerator pChunkGenerator) -
Uses of HolderLookup in net.neoforged.neoforge.registries
Classes in net.neoforged.neoforge.registries that implement HolderLookup