Uses of Class
net.minecraft.core.Holder.Reference
Packages that use Holder.Reference
Package
Description
- 
Uses of Holder.Reference in net.minecraft.advancements.critereonMethods in net.minecraft.advancements.critereon with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionPlayerPredicate.Builder.addStat(StatType<T> p_299266_, Holder.Reference<T> p_299053_, MinMaxBounds.Ints p_156770_) 
- 
Uses of Holder.Reference in net.minecraft.client.gui.screensFields in net.minecraft.client.gui.screens declared as Holder.ReferenceModifier and TypeFieldDescription(package private) final Holder.Reference<Biome>CreateBuffetWorldScreen.BiomeList.Entry.biomeConstructors in net.minecraft.client.gui.screens with parameters of type Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.commands.argumentsFields in net.minecraft.commands.arguments declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<T>ResourceOrTagArgument.ResourceResult.valueThe field for thevaluerecord component.Methods in net.minecraft.commands.arguments that return Holder.ReferenceModifier and TypeMethodDescriptionstatic Holder.Reference<Attribute>ResourceArgument.getAttribute(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_248753_, String p_251157_) static Holder.Reference<ConfiguredFeature<?,?>> ResourceArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_250819_, String p_252256_) static Holder.Reference<ConfiguredFeature<?,?>> ResourceKeyArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_249310_, String p_250729_) static Holder.Reference<Enchantment>ResourceArgument.getEnchantment(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_248656_, String p_248713_) static Holder.Reference<EntityType<?>>ResourceArgument.getEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_251258_, String p_252322_) static Holder.Reference<MobEffect>ResourceArgument.getMobEffect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_250521_, String p_249927_) static <T> Holder.Reference<T>ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_251788_, String p_251996_, ResourceKey<Registry<T>> p_250077_) static Holder.Reference<Structure>ResourceArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_250288_, String p_250856_) static Holder.Reference<Structure>ResourceKeyArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_248804_, String p_251331_) ResourceKeyArgument.getStructureTemplatePool(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_252203_, String p_250407_) static Holder.Reference<EntityType<?>>ResourceArgument.getSummonableEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_251880_, String p_250243_) ResourceArgument.parse(com.mojang.brigadier.StringReader p_250909_) private static <T> Holder.Reference<T>ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_248662_, String p_252172_, ResourceKey<Registry<T>> p_249701_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_249790_) ResourceOrTagArgument.ResourceResult.value()Returns the value of thevaluerecord component.Methods in net.minecraft.commands.arguments that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptioncom.mojang.datafixers.util.Either<Holder.Reference<T>,HolderSet.Named<T>> ResourceOrTagArgument.ResourceResult.unwrap()com.mojang.datafixers.util.Either<Holder.Reference<T>,HolderSet.Named<T>> ResourceOrTagArgument.Result.unwrap()com.mojang.datafixers.util.Either<Holder.Reference<T>,HolderSet.Named<T>> ResourceOrTagArgument.TagResult.unwrap()Constructors in net.minecraft.commands.arguments with parameters of type Holder.ReferenceModifierConstructorDescription(package private)ResourceResult(Holder.Reference<T> value) Creates an instance of aResourceResultrecord class.
- 
Uses of Holder.Reference in net.minecraft.coreSubclasses of Holder.Reference in net.minecraft.coreFields in net.minecraft.core declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate Holder.Reference<T>DefaultedMappedRegistry.defaultValueFields in net.minecraft.core with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.ObjectList<Holder.Reference<T>>MappedRegistry.byIdprivate final Map<ResourceKey<T>,Holder.Reference<T>> MappedRegistry.byKeyprivate final Map<ResourceLocation,Holder.Reference<T>> MappedRegistry.byLocationprivate final Map<T,Holder.Reference<T>> MappedRegistry.byValueprivate final Optional<Holder.Reference<T>>RegistrySetBuilder.ValueAndHolder.holderThe field for theholderrecord component.(package private) final Map<ResourceKey<Object>,Holder.Reference<Object>> RegistrySetBuilder.UniversalLookup.holdersprivate List<Holder.Reference<T>>MappedRegistry.holdersInOrderprotected Map<T,Holder.Reference<T>> MappedRegistry.unregisteredIntrusiveHoldersMethods in net.minecraft.core that return Holder.ReferenceModifier and TypeMethodDescriptionstatic <T> Holder.Reference<T>Holder.Reference.createIntrusive(HolderOwner<T> p_256106_, T p_255948_) Deprecated.MappedRegistry.createIntrusiveHolder(T p_205915_) Registry.createIntrusiveHolder(T p_206068_) static <T> Holder.Reference<T>Holder.Reference.createStandAlone(HolderOwner<T> p_255955_, ResourceKey<T> p_255958_) default Holder.Reference<T>Registry.getHolderOrThrow(ResourceKey<T> p_249087_) (package private) <T> Holder.Reference<T>RegistrySetBuilder.UniversalLookup.getOrCreate(ResourceKey<T> p_256298_) (package private) Holder.Reference<T>MappedRegistry.getOrCreateHolderOrThrow(ResourceKey<T> p_248831_) default Holder.Reference<T>HolderGetter.getOrThrow(ResourceKey<T> p_255990_) MappedRegistry.register(ResourceKey<T> p_256252_, T p_256591_, com.mojang.serialization.Lifecycle p_256255_) WritableRegistry.register(ResourceKey<T> p_256320_, T p_255978_, com.mojang.serialization.Lifecycle p_256625_) static <T> Holder.Reference<T>Registry.registerForHolder(Registry<T> p_263347_, ResourceKey<T> p_263355_, T p_263428_) static <T> Holder.Reference<T>Registry.registerForHolder(Registry<T> p_263351_, ResourceLocation p_263363_, T p_263423_) DefaultedMappedRegistry.registerMapping(int p_259787_, ResourceKey<T> p_259677_, T p_259430_, com.mojang.serialization.Lifecycle p_259516_) MappedRegistry.registerMapping(int p_256563_, ResourceKey<T> p_256594_, T p_256374_, com.mojang.serialization.Lifecycle p_256469_) Methods in net.minecraft.core that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionHolderGetter.get(ResourceKey<T> p_255645_) HolderLookup.Delegate.get(ResourceKey<T> p_256195_) HolderLookup.RegistryLookup.Delegate.get(ResourceKey<T> p_255619_) RegistrySetBuilder.UniversalLookup.get(ResourceKey<Object> p_256303_) MappedRegistry.getHolder(int p_205907_) MappedRegistry.getHolder(ResourceKey<T> p_205905_) Registry.getHolder(int p_206051_) Registry.getHolder(ResourceKey<T> p_206050_) DefaultedMappedRegistry.getRandom(RandomSource p_260255_) MappedRegistry.getRandom(RandomSource p_235716_) Registry.getRandom(RandomSource p_235781_) RegistrySetBuilder.ValueAndHolder.holder()Returns the value of theholderrecord component.MappedRegistry.holders()Registry.holders()private List<Holder.Reference<T>>MappedRegistry.holdersInOrder()HolderLookup.Delegate.listElements()HolderLookup.listElements()HolderLookup.RegistryLookup.Delegate.listElements()Methods in net.minecraft.core with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static <T> TMappedRegistry.getValueFromNullable(Holder.Reference<T> p_205866_) Method parameters in net.minecraft.core with type arguments of type Holder.ReferenceModifier and TypeMethodDescription(package private) static <T> HolderLookup.RegistryLookup<T>RegistrySetBuilder.lookupFromMap(ResourceKey<? extends Registry<? extends T>> p_312781_, com.mojang.serialization.Lifecycle p_312783_, Map<ResourceKey<T>, Holder.Reference<T>> p_312180_) Constructor parameters in net.minecraft.core with type arguments of type Holder.ReferenceModifierConstructorDescription(package private)ValueAndHolder(RegistrySetBuilder.RegisteredValue<T> value, Optional<Holder.Reference<T>> holder) Creates an instance of aValueAndHolderrecord class.
- 
Uses of Holder.Reference in net.minecraft.data.worldgenMethods in net.minecraft.data.worldgen that return Holder.ReferenceModifier and TypeMethodDescriptiondefault Holder.Reference<T>BootstapContext.register(ResourceKey<T> p_255743_, T p_256121_) BootstapContext.register(ResourceKey<T> p_256008_, T p_256454_, com.mojang.serialization.Lifecycle p_255725_) 
- 
Uses of Holder.Reference in net.minecraft.resourcesMethods in net.minecraft.resources that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionstatic <E,O> com.mojang.serialization.codecs.RecordCodecBuilder<O, Holder.Reference<E>> RegistryOps.retrieveElement(ResourceKey<E> p_256347_) 
- 
Uses of Holder.Reference in net.minecraft.server.commandsMethods in net.minecraft.server.commands with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionstatic EntitySummonCommand.createEntity(CommandSourceStack p_270582_, Holder.Reference<EntityType<?>> p_270277_, Vec3 p_270366_, CompoundTag p_270197_, boolean p_270947_) private static intFillBiomeCommand.fill(CommandSourceStack p_262664_, BlockPos p_262651_, BlockPos p_262678_, Holder.Reference<Biome> p_262612_, Predicate<Holder<Biome>> p_262697_) static intPlaceCommand.placeFeature(CommandSourceStack p_214576_, Holder.Reference<ConfiguredFeature<?, ?>> p_248822_, BlockPos p_214578_) static intPlaceCommand.placeStructure(CommandSourceStack p_214588_, Holder.Reference<Structure> p_251799_, BlockPos p_214590_) private static intSummonCommand.spawnEntity(CommandSourceStack p_249752_, Holder.Reference<EntityType<?>> p_251948_, Vec3 p_251429_, CompoundTag p_250568_, boolean p_250229_) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack p_270320_, Holder.Reference<EntityType<?>> p_270344_) 
- 
Uses of Holder.Reference in net.minecraft.soundsFields in net.minecraft.sounds declared as Holder.ReferenceModifier and TypeFieldDescriptionstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_BASALT_DELTAS_ADDITIONSstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_BASALT_DELTAS_LOOPstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_BASALT_DELTAS_MOODstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_CAVEstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_CRIMSON_FOREST_ADDITIONSstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_CRIMSON_FOREST_LOOPstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_CRIMSON_FOREST_MOODstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_NETHER_WASTES_ADDITIONSstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_NETHER_WASTES_LOOPstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_NETHER_WASTES_MOODstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_SOUL_SAND_VALLEY_ADDITIONSstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_SOUL_SAND_VALLEY_LOOPstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_SOUL_SAND_VALLEY_MOODstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_WARPED_FOREST_ADDITIONSstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_WARPED_FOREST_LOOPstatic final Holder.Reference<SoundEvent>SoundEvents.AMBIENT_WARPED_FOREST_MOODstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_BADLANDSstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_BAMBOO_JUNGLEstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_BASALT_DELTASstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_CHERRY_GROVEstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_CRIMSON_FORESTstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_DEEP_DARKstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_DESERTstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_DRIPSTONE_CAVESstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_FLOWER_FORESTstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_FORESTstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_FROZEN_PEAKSstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_GROVEstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_JAGGED_PEAKSstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_JUNGLEstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_LUSH_CAVESstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_MEADOWstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_NETHER_WASTESstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_OLD_GROWTH_TAIGAstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_SNOWY_SLOPESstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_SOUL_SAND_VALLEYstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_SPARSE_JUNGLEstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_STONY_PEAKSstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_SWAMPstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_BIOME_WARPED_FORESTstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_CREATIVEstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_CREDITSstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_DRAGONstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_ENDstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_GAMEstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_MENUstatic final Holder.Reference<SoundEvent>SoundEvents.MUSIC_UNDER_WATERstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_BANJOstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_BASEDRUMstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_BASSstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_BELLstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_BITstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_CHIMEstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_COW_BELLstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_DIDGERIDOOstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_FLUTEstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_GUITARstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_HARPstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_HATstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_IMITATE_CREEPERstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_IMITATE_ENDER_DRAGONstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_IMITATE_PIGLINstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_IMITATE_SKELETONstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_IMITATE_WITHER_SKELETONstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_IMITATE_ZOMBIEstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_IRON_XYLOPHONEstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_PLINGstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_SNAREstatic final Holder.Reference<SoundEvent>SoundEvents.NOTE_BLOCK_XYLOPHONEstatic final Holder.Reference<SoundEvent>SoundEvents.RAID_HORNstatic final Holder.Reference<SoundEvent>SoundEvents.RESPAWN_ANCHOR_DEPLETEstatic final Holder.Reference<SoundEvent>SoundEvents.UI_BUTTON_CLICKFields in net.minecraft.sounds with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionstatic final com.google.common.collect.ImmutableList<Holder.Reference<SoundEvent>>SoundEvents.GOAT_HORN_SOUND_VARIANTSMethods in net.minecraft.sounds that return Holder.ReferenceModifier and TypeMethodDescriptionprivate static Holder.Reference<SoundEvent>SoundEvents.registerForHolder(String p_263391_) private static Holder.Reference<SoundEvent>SoundEvents.registerForHolder(ResourceLocation p_263361_) private static Holder.Reference<SoundEvent>SoundEvents.registerForHolder(ResourceLocation p_263362_, ResourceLocation p_263424_) Methods in net.minecraft.sounds that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static com.google.common.collect.ImmutableList<Holder.Reference<SoundEvent>>SoundEvents.registerGoatHornSoundVariants()
- 
Uses of Holder.Reference in net.minecraft.world.effectFields in net.minecraft.world.effect declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<MobEffect>MobEffect.builtInRegistryHolderMethods in net.minecraft.world.effect that return Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.world.entityFields in net.minecraft.world.entity declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<EntityType<?>>EntityType.builtInRegistryHolderMethods in net.minecraft.world.entity that return Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.world.itemFields in net.minecraft.world.item declared as Holder.ReferenceMethods in net.minecraft.world.item that return Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.world.item.alchemyFields in net.minecraft.world.item.alchemy declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<Potion>Potion.builtInRegistryHolderMethods in net.minecraft.world.item.alchemy that return Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.world.item.armortrimMethods in net.minecraft.world.item.armortrim that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionstatic Optional<Holder.Reference<TrimMaterial>>TrimMaterials.getFromIngredient(RegistryAccess p_266981_, ItemStack p_267327_) static Optional<Holder.Reference<TrimPattern>>TrimPatterns.getFromTemplate(RegistryAccess p_267205_, ItemStack p_267001_) 
- 
Uses of Holder.Reference in net.minecraft.world.item.enchantmentFields in net.minecraft.world.item.enchantment declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<Enchantment>Enchantment.builtInRegistryHolderMethods in net.minecraft.world.item.enchantment that return Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.world.level.blockFields in net.minecraft.world.level.block declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<Block>Block.builtInRegistryHolderMethods in net.minecraft.world.level.block that return Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.world.level.block.entityFields in net.minecraft.world.level.block.entity declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<BlockEntityType<?>>BlockEntityType.builtInRegistryHolderMethods in net.minecraft.world.level.block.entity that return Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.world.level.gameeventFields in net.minecraft.world.level.gameevent declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<GameEvent>GameEvent.builtInRegistryHolderMethods in net.minecraft.world.level.gameevent that return Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.world.level.levelgenConstructors in net.minecraft.world.level.levelgen with parameters of type Holder.Reference
- 
Uses of Holder.Reference in net.minecraft.world.level.levelgen.flatConstructors in net.minecraft.world.level.levelgen.flat with parameters of type Holder.ReferenceModifierConstructorDescriptionprivateFlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> p_256456_, List<FlatLayerInfo> p_255826_, boolean p_255740_, boolean p_255726_, Optional<Holder<Biome>> p_256292_, Holder.Reference<Biome> p_255964_, Holder<PlacedFeature> p_256419_, Holder<PlacedFeature> p_255710_) 
- 
Uses of Holder.Reference in net.minecraft.world.level.materialFields in net.minecraft.world.level.material declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<Fluid>Fluid.builtInRegistryHolderMethods in net.minecraft.world.level.material that return Holder.Reference