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 <E> Optional<? extends HolderLookup<E>> CommandSourceStack.getLookup(ResourceKey<? extends Registry<E>> key) Methods in net.minecraft.commands with parameters of type HolderLookupModifier and TypeMethodDescriptiondefault <E> voidSharedSuggestionProvider.suggestRegistryElements(HolderLookup<E> registry, SharedSuggestionProvider.ElementSuggestionType elements, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Predicate<E> filter) -
Uses of HolderLookup in net.minecraft.commands.arguments
Fields in net.minecraft.commands.arguments declared as HolderLookupModifier and TypeFieldDescriptionprivate final HolderLookup<T> ResourceArgument.registryLookupprivate final HolderLookup<T> ResourceOrTagArgument.registryLookupprivate final HolderLookup<T> ResourceSelectorArgument.registryLookupMethods in net.minecraft.commands.arguments with parameters of type HolderLookupModifier and TypeMethodDescriptionstatic <T> Collection<Holder.Reference<T>> ResourceSelectorArgument.parse(com.mojang.brigadier.StringReader reader, HolderLookup<T> registry) private static ParticleType<?> ParticleArgument.readParticleType(com.mojang.brigadier.StringReader reader, HolderLookup<ParticleType<?>> particles) -
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.blocksprivate final HolderLookup<Block> BlockStateArgument.blocksprivate final HolderLookup<Block> BlockStateParser.blocksMethods in net.minecraft.commands.arguments.blocks with parameters of type HolderLookupModifier and TypeMethodDescriptionstatic CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> BlockStateParser.fillSuggestions(HolderLookup<Block> blocks, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, boolean forTesting, boolean allowNbt) BlockPredicateArgument.parse(HolderLookup<Block> blocks, com.mojang.brigadier.StringReader reader) static BlockStateParser.BlockResultBlockStateParser.parseForBlock(HolderLookup<Block> blocks, com.mojang.brigadier.StringReader reader, boolean allowNbt) static BlockStateParser.BlockResultBlockStateParser.parseForBlock(HolderLookup<Block> blocks, String value, boolean allowNbt) static com.mojang.datafixers.util.Either<BlockStateParser.BlockResult, BlockStateParser.TagResult> BlockStateParser.parseForTesting(HolderLookup<Block> blocks, com.mojang.brigadier.StringReader reader, boolean allowNbt) static com.mojang.datafixers.util.Either<BlockStateParser.BlockResult, BlockStateParser.TagResult> BlockStateParser.parseForTesting(HolderLookup<Block> blocks, String value, boolean allowNbt) Constructors in net.minecraft.commands.arguments.blocks with parameters of type HolderLookupModifierConstructorDescriptionprivateBlockStateParser(HolderLookup<Block> blocks, com.mojang.brigadier.StringReader reader, boolean forTesting, boolean allowNbt) -
Uses of HolderLookup in net.minecraft.core
Subinterfaces of HolderLookup in net.minecraft.coreModifier and TypeInterfaceDescriptioninterfacestatic interfacestatic interfaceinterfaceRegistry<T>interfaceClasses in net.minecraft.core that implement HolderLookup -
Uses of HolderLookup in net.minecraft.core.registries
Classes in net.minecraft.core.registries that implement HolderLookupModifier and TypeClassDescriptionclassfinal recordclass -
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> items) -
Uses of HolderLookup in net.minecraft.world.attribute
Methods in net.minecraft.world.attribute with parameters of type HolderLookupModifier and TypeMethodDescriptionprivate static voidEnvironmentAttributeSystem.addBiomeLayer(EnvironmentAttributeSystem.Builder builder, HolderLookup<Biome> biomes, BiomeManager biomeManager) -
Uses of HolderLookup in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type HolderLookupModifier and TypeMethodDescriptionprivate static voidCreativeModeTabs.generateEnchantmentBookTypesAllLevels(CreativeModeTab.Output output, HolderLookup<Enchantment> enchantments, CreativeModeTab.TabVisibility tabVisibility) private static voidCreativeModeTabs.generateEnchantmentBookTypesOnlyMaxLevel(CreativeModeTab.Output output, HolderLookup<Enchantment> enchantments, CreativeModeTab.TabVisibility tabVisibility) private static voidCreativeModeTabs.generateInstrumentTypes(CreativeModeTab.Output output, HolderLookup<Instrument> instruments, Item instrumentItem, TagKey<Instrument> instrumentTagKey, CreativeModeTab.TabVisibility tabVisibility) private static voidCreativeModeTabs.generatePotionEffectTypes(CreativeModeTab.Output output, HolderLookup<Potion> potions, Item item, CreativeModeTab.TabVisibility tabVisibility, FeatureFlagSet enabledFeatures) -
Uses of HolderLookup in net.minecraft.world.item.crafting
Methods in net.minecraft.world.item.crafting with parameters of type HolderLookupModifier and TypeMethodDescriptionstatic RecipeMapRecipeMap.create(HolderLookup<Recipe<?>> recipes) -
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>> key) -
Uses of HolderLookup in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type HolderLookupModifier and TypeMethodDescriptionstatic ChunkGeneratorStructureStateChunkGeneratorStructureState.createForNormal(RandomState randomState, long levelSeed, ChunkPos origin, BiomeSource biomeSource, HolderLookup<StructureSet> allStructures) ChunkGenerator.createState(HolderLookup<StructureSet> structureSets, RandomState randomState, long legacyLevelSeed) -
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> structureSets, RandomState randomState, long levelSeed) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(HolderLookup<DimensionType> dimensionTypes, Map<ResourceKey<LevelStem>, LevelStem> dimensions, ChunkGenerator generator) -
Uses of HolderLookup in net.minecraft.world.level.storage.loot
Methods in net.minecraft.world.level.storage.loot with parameters of type HolderLookupModifier and TypeMethodDescriptionvoidLootDataType.runValidation(ValidationContextSource contextSource, HolderLookup<T> lookup) -
Uses of HolderLookup in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return types with arguments of type HolderLookupModifier and TypeMethodDescriptiondefault <S> Optional<HolderLookup<S>> BootstrapContextAccessExtension.holderLookup(ResourceKey<? extends Registry<? extends S>> registry) -
Uses of HolderLookup in net.neoforged.neoforge.registries
Classes in net.neoforged.neoforge.registries that implement HolderLookup -
Uses of HolderLookup in net.neoforged.neoforge.registries.holdersets
Fields in net.neoforged.neoforge.registries.holdersets declared as HolderLookupModifier and TypeFieldDescriptionprivate final HolderLookup<T> AnyHolderSet.registryLookupThe field for theregistryLookuprecord component.Methods in net.neoforged.neoforge.registries.holdersets that return HolderLookupModifier and TypeMethodDescriptionAnyHolderSet.registryLookup()Returns the value of theregistryLookuprecord component.Constructors in net.neoforged.neoforge.registries.holdersets with parameters of type HolderLookupModifierConstructorDescriptionAnyHolderSet(ResourceKey<? extends Registry<T>> registryKey, HolderLookup<T> registryLookup) Creates an instance of aAnyHolderSetrecord class.