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> type, Holder.Reference<T> value, MinMaxBounds.Ints range) -
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> context, String argument) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Holder.Reference<ConfiguredFeature<?, ?>> ResourceKeyArgument.getConfiguredFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Holder.Reference<Enchantment> ResourceArgument.getEnchantment(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Holder.Reference<EntityType<?>> ResourceArgument.getEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Holder.Reference<MobEffect> ResourceArgument.getMobEffect(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static <T> Holder.Reference<T> ResourceArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey) static Holder.Reference<Structure> ResourceArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Holder.Reference<Structure> ResourceKeyArgument.getStructure(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) ResourceKeyArgument.getStructureTemplatePool(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) static Holder.Reference<EntityType<?>> ResourceArgument.getSummonableEntityType(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument) ResourceArgument.parse(com.mojang.brigadier.StringReader builder) private static <T> Holder.Reference<T> ResourceKeyArgument.resolveKey(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String argument, ResourceKey<Registry<T>> registryKey, com.mojang.brigadier.exceptions.DynamicCommandExceptionType exception) 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.commands.arguments.item
Constructors in net.minecraft.commands.arguments.item with parameters of type Holder.ReferenceModifierConstructorDescriptionPredicateWrapper(Holder.Reference<ItemSubPredicate.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> owner, T value) Deprecated.MappedRegistry.createIntrusiveHolder(T value) Registry.createIntrusiveHolder(T value) static <T> Holder.Reference<T> Holder.Reference.createStandAlone(HolderOwner<T> owner, ResourceKey<T> key) default Holder.Reference<T> Registry.getHolderOrThrow(ResourceKey<T> key) (package private) <T> Holder.Reference<T> RegistrySetBuilder.UniversalLookup.getOrCreate(ResourceKey<T> key) (package private) Holder.Reference<T> MappedRegistry.getOrCreateHolderOrThrow(ResourceKey<T> key) default Holder.Reference<T> HolderGetter.getOrThrow(ResourceKey<T> resourceKey) DefaultedMappedRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) MappedRegistry.register(int id, ResourceKey<T> p_256252_, T p_256591_, RegistrationInfo p_326235_) MappedRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) WritableRegistry.register(ResourceKey<T> key, T value, RegistrationInfo registrationInfo) static <T> Holder.Reference<T> Registry.registerForHolder(Registry<T> registry, ResourceKey<T> key, T value) static <T> Holder.Reference<T> Registry.registerForHolder(Registry<T> registry, ResourceLocation name, T value) Methods in net.minecraft.core that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionHolderGetter.get(ResourceKey<T> resourceKey) default <T> Optional<Holder.Reference<T>> HolderGetter.Provider.get(ResourceKey<? extends Registry<? extends T>> registryKey, ResourceKey<T> key) default Optional<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.get(ResourceKey<T> p_255619_) RegistrySetBuilder.UniversalLookup.get(ResourceKey<Object> resourceKey) DefaultedMappedRegistry.getAny()MappedRegistry.getAny()Registry.getAny()MappedRegistry.getHolder(int id) MappedRegistry.getHolder(ResourceKey<T> key) MappedRegistry.getHolder(ResourceLocation location) Registry.getHolder(int id) Registry.getHolder(ResourceKey<T> key) Registry.getHolder(ResourceLocation location) DefaultedMappedRegistry.getRandom(RandomSource random) MappedRegistry.getRandom(RandomSource random) Registry.getRandom(RandomSource random) RegistrySetBuilder.ValueAndHolder.holder()Returns the value of theholderrecord component.MappedRegistry.holders()Registry.holders()HolderLookup.listElements()default Stream<Holder.Reference<T>> HolderLookup.RegistryLookup.Delegate.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> value) Methods in net.minecraft.core with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionprivate static <T> TMappedRegistry.getValueFromNullable(Holder.Reference<T> holder) 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>> registryKey, com.mojang.serialization.Lifecycle registryLifecycle, HolderOwner<T> p_owner, Map<ResourceKey<T>, Holder.Reference<T>> elements) 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.worldgen
Methods in net.minecraft.data.worldgen that return Holder.ReferenceModifier and TypeMethodDescriptiondefault Holder.Reference<T> BootstrapContext.register(ResourceKey<T> key, T value) BootstrapContext.register(ResourceKey<T> key, T value, com.mojang.serialization.Lifecycle registryLifecycle) -
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> key) -
Uses of Holder.Reference in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type Holder.ReferenceModifier and TypeMethodDescriptionstatic EntitySummonCommand.createEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag tag, boolean randomizeProperties) private static intFillBiomeCommand.fill(CommandSourceStack source, BlockPos from, BlockPos to, Holder.Reference<Biome> biome, Predicate<Holder<Biome>> filter) static intPlaceCommand.placeFeature(CommandSourceStack source, Holder.Reference<ConfiguredFeature<?, ?>> feature, BlockPos pos) static intPlaceCommand.placeStructure(CommandSourceStack source, Holder.Reference<Structure> p_structure, BlockPos pos) private static intSummonCommand.spawnEntity(CommandSourceStack source, Holder.Reference<EntityType<?>> type, Vec3 pos, CompoundTag tag, boolean randomizeProperties) private static CommandSourceStackExecuteCommand.spawnEntityAndRedirect(CommandSourceStack source, Holder.Reference<EntityType<?>> entityType) -
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.GENERIC_EXPLODEstatic 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.RAID_HORNstatic final Holder.Reference<SoundEvent> SoundEvents.RESPAWN_ANCHOR_DEPLETEstatic final Holder.Reference<SoundEvent> SoundEvents.SOUL_ESCAPEstatic final Holder.Reference<SoundEvent> SoundEvents.UI_BUTTON_CLICKstatic final Holder.Reference<SoundEvent> SoundEvents.WIND_CHARGE_BURSTFields 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 name) private static Holder.Reference<SoundEvent> SoundEvents.registerForHolder(ResourceLocation name) private static Holder.Reference<SoundEvent> SoundEvents.registerForHolder(ResourceLocation name, ResourceLocation location) 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.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.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> context, ResourceKey<JukeboxSong> key, Holder.Reference<SoundEvent> soundEvent, int lengthInSeconds, int comparatorOutput) -
Uses of Holder.Reference in net.minecraft.world.item.armortrim
Methods in net.minecraft.world.item.armortrim that return types with arguments of type Holder.ReferenceModifier and TypeMethodDescriptionstatic Optional<Holder.Reference<TrimMaterial>> TrimMaterials.getFromIngredient(HolderLookup.Provider regustries, ItemStack ingredient) static Optional<Holder.Reference<TrimPattern>> TrimPatterns.getFromTemplate(HolderLookup.Provider registries, ItemStack template) -
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.Reference -
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>> structureOverrides, List<FlatLayerInfo> layersInfo, boolean addLakes, boolean decoration, Optional<Holder<Biome>> biome, Holder.Reference<Biome> defaultBiome, Holder<PlacedFeature> lavaUnderground, Holder<PlacedFeature> lavaSurface) -
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)