Uses of Class
net.minecraft.core.Holder.Reference
Packages that use Holder.Reference
Package
Description
-
Uses of Holder.Reference in net.minecraft.advancements.critereon
Methods in net.minecraft.advancements.critereon with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionPlayerPredicate.Builder.addStat(StatType<T> pType, Holder.Reference<T> pValue, MinMaxBounds.Ints pRange) -
Uses of Holder.Reference in net.minecraft.client.gui.screens
Fields 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.arguments
Fields 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> pContext, String pArgument) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceKeyArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static Holder.Reference<Enchantment> ResourceArgument.getEnchantment(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static Holder.Reference<EntityType<?>> ResourceArgument.getEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static Holder.Reference<MobEffect> ResourceArgument.getMobEffect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static <T> Holder.Reference<T> ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey) static Holder.Reference<Structure> ResourceArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static Holder.Reference<Structure> ResourceKeyArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) ResourceKeyArgument.getStructureTemplatePool(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) static Holder.Reference<EntityType<?>> ResourceArgument.getSummonableEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument) ResourceArgument.parse(com.mojang.brigadier.StringReader pBuilder) private static <T> Holder.Reference<T> ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<Registry<T>> pRegistryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType pException) 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 TypeMethodDescriptionstatic <T> Collection<Holder.Reference<T>> ResourceSelectorArgument.getSelectedResources(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, String pArgument, ResourceKey<? extends Registry<T>> pRegistryKey) ResourceSelectorArgument.parse(com.mojang.brigadier.StringReader p_397392_) static <T> Collection<Holder.Reference<T>> ResourceSelectorArgument.parse(com.mojang.brigadier.StringReader pParse, HolderLookup<T> pLookup) com.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.commands.arguments.item
Constructors in net.minecraft.commands.arguments.item with parameters of type Holder.ReferenceModifierConstructorDescriptionPredicateWrapper(Holder.Reference<DataComponentPredicate.Type<?>> p_336100_) -
Uses of Holder.Reference in net.minecraft.core
Subclasses 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 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> pOwner, T pValue) Deprecated.MappedRegistry.createIntrusiveHolder(T p_205915_) Registry.createIntrusiveHolder(T pValue) static <T> Holder.Reference<T> Holder.Reference.createStandAlone(HolderOwner<T> pOwner, ResourceKey<T> pKey) (package private) <T> Holder.Reference<T> RegistrySetBuilder.UniversalLookup.getOrCreate(ResourceKey<T> pKey) (package private) Holder.Reference<T> MappedRegistry.getOrCreateHolderOrThrow(ResourceKey<T> pKey) default Holder.Reference<T> HolderGetter.getOrThrow(ResourceKey<T> pResourceKey) default <T> Holder.Reference<T> HolderGetter.Provider.getOrThrow(ResourceKey<T> pKey) DefaultedMappedRegistry.register(ResourceKey<T> p_321803_, T p_321739_, RegistrationInfo p_325995_) MappedRegistry.register(int id, ResourceKey<T> p_256252_, T p_256591_, RegistrationInfo p_326235_) MappedRegistry.register(ResourceKey<T> p_256252_, T p_256591_, RegistrationInfo p_326235_) WritableRegistry.register(ResourceKey<T> pKey, T pValue, RegistrationInfo pRegistrationInfo) static <T> Holder.Reference<T> Registry.registerForHolder(Registry<T> pRegistry, ResourceKey<T> pKey, T pValue) static <T> Holder.Reference<T> Registry.registerForHolder(Registry<T> pRegistry, ResourceLocation pName, T pValue) private Holder.Reference<T> MappedRegistry.validateAndUnwrapTagElement(TagKey<T> pKey, Holder<T> pValue) Methods in net.minecraft.core that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionHolderGetter.get(ResourceKey<T> pResourceKey) default <T> Optional<Holder.Reference<T>> HolderGetter.Provider.get(ResourceKey<T> pKey) default Optional<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.get(ResourceKey<T> p_255619_) MappedRegistry.get(int p_205907_) MappedRegistry.get(ResourceKey<T> p_205905_) MappedRegistry.get(ResourceLocation p_316743_) Registry.get(int pIndex) Registry.get(ResourceLocation pKey) RegistrySetBuilder.UniversalLookup.get(ResourceKey<Object> p_256303_) DefaultedMappedRegistry.getAny()MappedRegistry.getAny()Registry.getAny()DefaultedMappedRegistry.getRandom(RandomSource p_260255_) MappedRegistry.getRandom(RandomSource p_235716_) Registry.getRandom(RandomSource pRandom) RegistrySetBuilder.ValueAndHolder.holder()Returns the value of theholderrecord component.HolderLookup.listElements()default Stream<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.listElements()MappedRegistry.listElements()RegistrySetBuilder.UniversalLookup.listElements()private com.mojang.serialization.Codec<Holder.Reference<T>> Registry.referenceHolderWithLifecycle()private com.mojang.serialization.DataResult<Holder.Reference<T>> Registry.safeCastToReference(Holder<T> pValue) Methods in net.minecraft.core with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static <T> TMappedRegistry.getValueFromNullable(Holder.Reference<T> pHolder) 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>> pRegistryKey, com.mojang.serialization.Lifecycle pRegistryLifecycle, HolderOwner<T> pOwner, Map<ResourceKey<T>, Holder.Reference<T>> pElements) 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.advancements.packs
Fields in net.minecraft.data.advancements.packs with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionprivate static final Comparator<Holder.Reference<?>> VanillaHusbandryAdvancements.HOLDER_KEY_COMPARATORMethods in net.minecraft.data.advancements.packs that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static <T> Stream<Holder.Reference<T>> VanillaHusbandryAdvancements.sortedVariants(HolderLookup<T> pVariantRegistry) -
Uses of Holder.Reference in net.minecraft.data.worldgen
Methods in net.minecraft.data.worldgen that return Holder.ReferenceModifier and TypeMethodDescriptiondefault Holder.Reference<T> BootstrapContext.register(ResourceKey<T> pKey, T pValue) BootstrapContext.register(ResourceKey<T> pKey, T pValue, com.mojang.serialization.Lifecycle pRegistryLifecycle) -
Uses of Holder.Reference in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as Holder.ReferenceModifier and TypeFieldDescriptionprivate final Holder.Reference<GameTestInstance> GameTestInfo.testFields in net.minecraft.gametest.framework with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionprivate static final Set<Holder.Reference<GameTestInstance>> FailedTestTracker.LAST_FAILED_TESTSprivate final UnaryOperator<Supplier<Stream<Holder.Reference<GameTestInstance>>>> TestFinder.Builder.testFinderWrapperMethods in net.minecraft.gametest.framework that return Holder.ReferenceMethods in net.minecraft.gametest.framework that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionTestFinder.findTests()TestInstanceFinder.findTests()static Stream<Holder.Reference<GameTestInstance>> FailedTestTracker.getLastFailedTests()static Stream<Holder.Reference<GameTestInstance>> GameTestServer.getTestsForSelection(RegistryAccess pRegistries, String pSelection) Methods in net.minecraft.gametest.framework with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionGameTestBatchFactory.TestDecorator.decorate(Holder.Reference<GameTestInstance> pInstance, ServerLevel pLevel) static voidFailedTestTracker.rememberFailedTest(Holder.Reference<GameTestInstance> pTest) private static Stream<GameTestInfo> GameTestServer.rotateAndMultiply(Holder.Reference<GameTestInstance> pTest, ServerLevel pLevel) Method parameters in net.minecraft.gametest.framework with type arguments of type Holder.ReferenceModifier and TypeMethodDescriptionTestFinder.Builder.byResourceSelection(com.mojang.brigadier.context.CommandContext<CommandSourceStack> pContext, Collection<Holder.Reference<GameTestInstance>> pCollection) static List<GameTestBatch> GameTestBatchFactory.divideIntoBatches(Collection<Holder.Reference<GameTestInstance>> pInstances, GameTestBatchFactory.TestDecorator pDecorator, ServerLevel pLevel) Constructors in net.minecraft.gametest.framework with parameters of type Holder.ReferenceModifierConstructorDescriptionGameTestInfo(Holder.Reference<GameTestInstance> pTest, Rotation pRotation, ServerLevel pLevel, RetryOptions pRetryOptions) Constructor parameters in net.minecraft.gametest.framework with type arguments of type Holder.ReferenceModifierConstructorDescriptionprivateBuilder(UnaryOperator<Supplier<Stream<Holder.Reference<GameTestInstance>>>> pTestFinderWrapper, UnaryOperator<Supplier<Stream<BlockPos>>> pStructureBlockPosFinderWrapper) -
Uses of Holder.Reference in net.minecraft.resources
Methods 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> pKey) -
Uses of Holder.Reference in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static List<Holder.Reference<Item>> SpawnArmorTrimsCommand.findEquippableItemsWithAssets(HolderLookup<Item> pItemRegistry) Methods in net.minecraft.server.commands with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionstatic EntitySummonCommand.createEntity(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pType, Vec3 pPos, CompoundTag pTag, boolean pRandomizeProperties) private static intFillBiomeCommand.fill(CommandSourceStack pSource, BlockPos pFrom, BlockPos pTo, Holder.Reference<Biome> pBiome, Predicate<Holder<Biome>> pFilter) static intPlaceCommand.placeFeature(CommandSourceStack pSource, Holder.Reference<ConfiguredFeature<?, ?>> pFeature, BlockPos pPos) static intPlaceCommand.placeStructure(CommandSourceStack pSource, Holder.Reference<Structure> pStructure, BlockPos pPos) private static intSummonCommand.spawnEntity(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pType, Vec3 pPos, CompoundTag pTag, boolean pRandomizeProperties) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack pSource, Holder.Reference<EntityType<?>> pEntityType) Method parameters in net.minecraft.server.commands with type arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static intSpawnArmorTrimsCommand.spawnArmorTrims(CommandSourceStack pSource, Player pPlayer, Stream<Holder.Reference<TrimPattern>> pPatterns) -
Uses of Holder.Reference in net.minecraft.sounds
Fields 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.BREEZE_WIND_CHARGE_BURSTstatic final Holder.Reference<SoundEvent> SoundEvents.CAMEL_SADDLEstatic final Holder.Reference<SoundEvent> SoundEvents.GENERIC_DRINKstatic final Holder.Reference<SoundEvent> SoundEvents.GENERIC_EATstatic final Holder.Reference<SoundEvent> SoundEvents.GENERIC_EXPLODEstatic final Holder.Reference<SoundEvent> SoundEvents.HONEY_DRINKstatic final Holder.Reference<SoundEvent> SoundEvents.HORSE_ARMORstatic final Holder.Reference<SoundEvent> SoundEvents.HORSE_SADDLEstatic final Holder.Reference<SoundEvent> SoundEvents.ITEM_BREAKstatic final Holder.Reference<SoundEvent> SoundEvents.LLAMA_SWAGstatic 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_DISC_11static final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_13static final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_5static final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_BLOCKSstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_CATstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_CHIRPstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_CREATORstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_CREATOR_MUSIC_BOXstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_FARstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_MALLstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_MELLOHIstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_OTHERSIDEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_PIGSTEPstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_PRECIPICEstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_RELICstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_STALstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_STRADstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_WAITstatic final Holder.Reference<SoundEvent> SoundEvents.MUSIC_DISC_WARDstatic 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.OMINOUS_BOTTLE_DISPOSEstatic final Holder.Reference<SoundEvent> SoundEvents.PIG_SADDLEstatic final Holder.Reference<SoundEvent> SoundEvents.RAID_HORNstatic final Holder.Reference<SoundEvent> SoundEvents.RESPAWN_ANCHOR_DEPLETEstatic final Holder.Reference<SoundEvent> SoundEvents.SHIELD_BLOCKstatic final Holder.Reference<SoundEvent> SoundEvents.SHIELD_BREAKstatic final Holder.Reference<SoundEvent> SoundEvents.SOUL_ESCAPEstatic final Holder.Reference<SoundEvent> SoundEvents.STRIDER_SADDLEstatic final Holder.Reference<SoundEvent> SoundEvents.UI_BUTTON_CLICKstatic final Holder.Reference<SoundEvent> SoundEvents.WIND_CHARGE_BURSTstatic final Holder.Reference<SoundEvent> SoundEvents.WOLF_ARMOR_BREAKFields in net.minecraft.sounds with type parameters of type Holder.ReferenceModifier and TypeFieldDescriptionstatic final 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 pName) private static Holder.Reference<SoundEvent> SoundEvents.registerForHolder(ResourceLocation pName) private static Holder.Reference<SoundEvent> SoundEvents.registerForHolder(ResourceLocation pName, ResourceLocation pLocation) Methods in net.minecraft.sounds that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static ImmutableList<Holder.Reference<SoundEvent>> SoundEvents.registerGoatHornSoundVariants() -
Uses of Holder.Reference in net.minecraft.util
Fields in net.minecraft.util with type parameters of type Holder.ReferenceModifier and TypeFieldDescription(package private) final Map<ResourceKey<Object>, Holder.Reference<Object>> PlaceholderLookupProvider.holdersMethods in net.minecraft.util that return Holder.ReferenceModifier and TypeMethodDescriptionprivate Holder.Reference<Object> PlaceholderLookupProvider.UniversalLookup.getOrCreate(ResourceKey<Object> pKey) PlaceholderLookupProvider.UniversalLookup.getOrThrow(ResourceKey<Object> p_399477_) Methods in net.minecraft.util that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionPlaceholderLookupProvider.UniversalLookup.get(ResourceKey<Object> p_400058_) -
Uses of Holder.Reference in net.minecraft.world.entity
Fields 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.entity.animal
Methods in net.minecraft.world.entity.animal that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionstatic Optional<Holder.Reference<CatVariant>> CatVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pContext) static Optional<Holder.Reference<ChickenVariant>> ChickenVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pSpawnContext) static Optional<Holder.Reference<CowVariant>> CowVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pContext) static Optional<Holder.Reference<PigVariant>> PigVariants.selectVariantToSpawn(RandomSource pRandom, RegistryAccess pRegistryAccess, SpawnContext pContext) -
Uses of Holder.Reference in net.minecraft.world.entity.animal.frog
Methods in net.minecraft.world.entity.animal.frog that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionstatic Optional<Holder.Reference<FrogVariant>> FrogVariants.selectVariantToSpawn(RandomSource pSource, RegistryAccess pRegistryAccess, SpawnContext pContext) -
Uses of Holder.Reference in net.minecraft.world.item
Fields in net.minecraft.world.item declared as Holder.ReferenceMethods in net.minecraft.world.item that return Holder.ReferenceMethods in net.minecraft.world.item with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static voidJukeboxSongs.register(BootstrapContext<JukeboxSong> pContext, ResourceKey<JukeboxSong> pKey, Holder.Reference<SoundEvent> pSoundEvent, int pLengthInSeconds, int pComparatorOutput) -
Uses of Holder.Reference in net.minecraft.world.level.block
Fields 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.entity
Fields 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.ReferenceMethods in net.minecraft.world.level.block.entity that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionprivate Optional<Holder.Reference<GameTestInstance>> TestInstanceBlockEntity.getTestHolder() -
Uses of Holder.Reference in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as Holder.ReferenceModifier and TypeFieldDescriptionstatic final Holder.Reference<GameEvent> GameEvent.BLOCK_ACTIVATEstatic final Holder.Reference<GameEvent> GameEvent.BLOCK_ATTACHThis event is broadcast when a block is attached to another.static final Holder.Reference<GameEvent> GameEvent.BLOCK_CHANGEThis event is broadcast when a block is changed.static final Holder.Reference<GameEvent> GameEvent.BLOCK_CLOSEThis event is broadcast when a block such as a door, trap door, or gate is closed.static final Holder.Reference<GameEvent> GameEvent.BLOCK_DEACTIVATEstatic final Holder.Reference<GameEvent> GameEvent.BLOCK_DESTROYThis event is broadcast when a block is destroyed or picked up by an enderman.static final Holder.Reference<GameEvent> GameEvent.BLOCK_DETACHThis event is broadcast when a block is detached from another block.static final Holder.Reference<GameEvent> GameEvent.BLOCK_OPENThis event is broadcast when a block such as a door, trap door, or gate has been opened.static final Holder.Reference<GameEvent> GameEvent.BLOCK_PLACEThis event is broadcast when a block is placed in the world.static final Holder.Reference<GameEvent> GameEvent.CONTAINER_CLOSEThis event is broadcast when a block with a storage inventory such as a chest or barrel is closed.static final Holder.Reference<GameEvent> GameEvent.CONTAINER_OPENThis event is broadcast when a block with a storage inventory such as a chest or barrel is opened.static final Holder.Reference<GameEvent> GameEvent.DRINKstatic final Holder.Reference<GameEvent> GameEvent.EATThis event is broadcast when an entity consumes food.static final Holder.Reference<GameEvent> GameEvent.ELYTRA_GLIDEstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_ACTIONstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_DAMAGEstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_DIEstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_DISMOUNTstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_INTERACTstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_MOUNTstatic final Holder.Reference<GameEvent> GameEvent.ENTITY_PLACEThis event is broadcast when an entity is artificially placed in the world using an item.static final Holder.Reference<GameEvent> GameEvent.EQUIPThis event is broadcast when an item is equipped to an entity or armor stand.static final Holder.Reference<GameEvent> GameEvent.EXPLODEThis event is broadcast when an entity such as a creeper, tnt, or a firework explodes.static final Holder.Reference<GameEvent> GameEvent.FLAPThis event is broadcast when a flying entity such as the ender dragon flaps its wings.static final Holder.Reference<GameEvent> GameEvent.FLUID_PICKUPThis event is broadcast when a fluid is picked up.static final Holder.Reference<GameEvent> GameEvent.FLUID_PLACEThis event is broadcast when fluid is placed.static final Holder.Reference<GameEvent> GameEvent.HIT_GROUNDThis event is broadcast when an entity falls far enough to take fall damage.static final Holder.Reference<GameEvent> GameEvent.INSTRUMENT_PLAYstatic final Holder.Reference<GameEvent> GameEvent.ITEM_INTERACT_FINISHstatic final Holder.Reference<GameEvent> GameEvent.ITEM_INTERACT_STARTstatic final Holder.Reference<GameEvent> GameEvent.JUKEBOX_PLAYstatic final Holder.Reference<GameEvent> GameEvent.JUKEBOX_STOP_PLAYstatic final Holder.Reference<GameEvent> GameEvent.LIGHTNING_STRIKEThis event is broadcast when lightning strikes a block.static final Holder.Reference<GameEvent> GameEvent.NOTE_BLOCK_PLAYstatic final Holder.Reference<GameEvent> GameEvent.PRIME_FUSEThis event is broadcast when an entity such as a creeper or TNT begins exploding.static final Holder.Reference<GameEvent> GameEvent.PROJECTILE_LANDThis event is broadcast when a projectile hits something.static final Holder.Reference<GameEvent> GameEvent.PROJECTILE_SHOOTThis event is broadcast when a projectile is fired.static final Holder.Reference<GameEvent> GameEvent.RESONATE_1static final Holder.Reference<GameEvent> GameEvent.RESONATE_10static final Holder.Reference<GameEvent> GameEvent.RESONATE_11static final Holder.Reference<GameEvent> GameEvent.RESONATE_12static final Holder.Reference<GameEvent> GameEvent.RESONATE_13static final Holder.Reference<GameEvent> GameEvent.RESONATE_14static final Holder.Reference<GameEvent> GameEvent.RESONATE_15static final Holder.Reference<GameEvent> GameEvent.RESONATE_2static final Holder.Reference<GameEvent> GameEvent.RESONATE_3static final Holder.Reference<GameEvent> GameEvent.RESONATE_4static final Holder.Reference<GameEvent> GameEvent.RESONATE_5static final Holder.Reference<GameEvent> GameEvent.RESONATE_6static final Holder.Reference<GameEvent> GameEvent.RESONATE_7static final Holder.Reference<GameEvent> GameEvent.RESONATE_8static final Holder.Reference<GameEvent> GameEvent.RESONATE_9static final Holder.Reference<GameEvent> GameEvent.SCULK_SENSOR_TENDRILS_CLICKINGstatic final Holder.Reference<GameEvent> GameEvent.SHEARThis event is broadcast when a shear is used.static final Holder.Reference<GameEvent> GameEvent.SHRIEKstatic final Holder.Reference<GameEvent> GameEvent.SPLASHThis event is broadcast wen an entity splashes in the water.static final Holder.Reference<GameEvent> GameEvent.STEPThis event is broadcast when an entity moves on the ground.static final Holder.Reference<GameEvent> GameEvent.SWIMThis event is broadcast as an entity swims around in water.static final Holder.Reference<GameEvent> GameEvent.TELEPORTstatic final Holder.Reference<GameEvent> GameEvent.UNEQUIPMethods in net.minecraft.world.level.gameevent that return Holder.ReferenceModifier and TypeMethodDescriptionprivate static Holder.Reference<GameEvent> private static Holder.Reference<GameEvent> -
Uses of Holder.Reference in net.minecraft.world.level.levelgen
Constructors in net.minecraft.world.level.levelgen with parameters of type Holder.Reference -
Uses of Holder.Reference in net.minecraft.world.level.levelgen.flat
Constructors in net.minecraft.world.level.levelgen.flat with parameters of type Holder.ReferenceModifierConstructorDescriptionprivateFlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> pStructureOverrides, List<FlatLayerInfo> pLayersInfo, boolean pAddLakes, boolean pDecoration, Optional<Holder<Biome>> pBiome, Holder.Reference<Biome> pDefaultBiome, Holder<PlacedFeature> pLavaUnderground, Holder<PlacedFeature> pLavaSurface) -
Uses of Holder.Reference in net.minecraft.world.level.material
Fields 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 -
Uses of Holder.Reference in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptiondefault <T> Optional<Holder.Reference<T>> IHolderLookupProviderExtension.holder(ResourceKey<T> key) Shortcut method to get an optional holder from a ResourceKey.default <T> Optional<Holder.Reference<T>> ILevelReaderExtension.holder(ResourceKey<T> key) Shortcut method to get an optional holder from a ResourceKey. -
Uses of Holder.Reference in net.neoforged.neoforge.event.enchanting
Methods in net.neoforged.neoforge.event.enchanting that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionGetEnchantmentLevelEvent.getHolder(ResourceKey<Enchantment> key) Attempts to resolve aHolder.Referencefor a target enchantment. -
Uses of Holder.Reference in net.neoforged.neoforge.server
Methods in net.neoforged.neoforge.server with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static <T> voidServerLifecycleHooks.ensureProperSync(boolean modified, Holder.Reference<T> holder, Registry<T> registry)