Uses of Interface
net.minecraft.core.Holder
Package
Description
-
Uses of Holder in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.value
The field for thevalue
record component.Modifier and TypeFieldDescriptionBeeNestDestroyedTrigger.TriggerInstance.block
The field for theblock
record component.EnterBlockTrigger.TriggerInstance.block
The field for theblock
record component.SlideDownBlockTrigger.TriggerInstance.block
The field for theblock
record component.private final com.google.common.collect.ImmutableMap.Builder
<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.Builder.effectMap
private final Map
<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.effectMap
The field for theeffectMap
record component.private final Optional
<Holder<Enchantment>> EnchantmentPredicate.enchantment
The field for theenchantment
record component.EntitySubPredicates.EntityHolderVariantPredicateType.getter
BrewedPotionTrigger.TriggerInstance.potion
The field for thepotion
record component.Modifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.value()
Returns the value of thevalue
record component.Modifier and TypeMethodDescriptionBeeNestDestroyedTrigger.TriggerInstance.block()
Returns the value of theblock
record component.EnterBlockTrigger.TriggerInstance.block()
Returns the value of theblock
record component.SlideDownBlockTrigger.TriggerInstance.block()
Returns the value of theblock
record component.MobEffectsPredicate.effectMap()
Returns the value of theeffectMap
record component.EnchantmentPredicate.enchantment()
Returns the value of theenchantment
record component.BrewedPotionTrigger.TriggerInstance.potion()
Returns the value of thepotion
record component.Modifier and TypeMethodDescriptionMobEffectsPredicate.Builder.and
(Holder<MobEffect> p_316450_, MobEffectsPredicate.MobEffectInstancePredicate p_298742_) static EntitySubPredicate
EntitySubPredicates.catVariant
(Holder<CatVariant> p_335907_) static EntitySubPredicate
EntitySubPredicates.frogVariant
(Holder<FrogVariant> p_335714_) static LocationPredicate.Builder
static LocationPredicate.Builder
LocationPredicate.Builder.inStructure
(Holder<Structure> p_330610_) boolean
boolean
void
BrewedPotionTrigger.trigger
(ServerPlayer p_19121_, Holder<Potion> p_312693_) Modifier and TypeMethodDescriptionstatic <V> EntitySubPredicates.EntityHolderVariantPredicateType
<V> EntitySubPredicates.EntityHolderVariantPredicateType.create
(ResourceKey<? extends Registry<V>> p_335749_, Function<Entity, Optional<Holder<V>>> p_336155_) boolean
MobEffectsPredicate.matches
(Map<Holder<MobEffect>, MobEffectInstance> p_56562_) ModifierConstructorDescriptionStatMatcher
(StatType<T> p_299207_, Holder<T> p_298208_, MinMaxBounds.Ints p_299102_) (package private)
StatMatcher
(StatType<T> type, Holder<T> value, MinMaxBounds.Ints range, Supplier<Stat<T>> stat) Creates an instance of aStatMatcher
record class.ModifierConstructorDescriptionEnchantmentPredicate
(Optional<Holder<Enchantment>> enchantment, MinMaxBounds.Ints level) Creates an instance of aEnchantmentPredicate
record class.EntityHolderVariantPredicateType
(ResourceKey<? extends Registry<V>> p_336141_, Function<Entity, Optional<Holder<V>>> p_336167_) MobEffectsPredicate
(Map<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> effectMap) Creates an instance of aMobEffectsPredicate
record class. -
Uses of Holder in net.minecraft.client.gui.components
Modifier and TypeMethodDescriptionprivate static String
DebugScreenOverlay.printBiome
(Holder<Biome> p_205375_) -
Uses of Holder in net.minecraft.client.gui.screens
ModifierConstructorDescriptionCreateBuffetWorldScreen
(Screen p_232732_, WorldCreationContext p_232733_, Consumer<Holder<Biome>> p_232734_) -
Uses of Holder in net.minecraft.client.gui.screens.inventory
Modifier and TypeFieldDescriptionBeaconScreen.BeaconPowerButton.effect
BeaconScreen.primary
BeaconScreen.secondary
Modifier and TypeMethodDescriptionprotected MutableComponent
BeaconScreen.BeaconPowerButton.createEffectDescription
(Holder<MobEffect> p_316880_) protected MutableComponent
BeaconScreen.BeaconUpgradePowerButton.createEffectDescription
(Holder<MobEffect> p_316391_) private void
LoomScreen.renderPattern
(GuiGraphics p_282452_, Holder<BannerPattern> p_281940_, int p_281872_, int p_282995_) protected void
ModifierConstructorDescriptionBeaconPowerButton
(int p_169642_, int p_169643_, Holder<MobEffect> p_316476_, boolean p_169645_, int p_169646_) BeaconUpgradePowerButton
(int p_169675_, int p_169676_, Holder<MobEffect> p_316593_) -
Uses of Holder in net.minecraft.client.gui.screens.worldselection
Modifier and TypeFieldDescriptionprivate final Holder
<WorldPreset> WorldCreationUiState.WorldTypeEntry.preset
The field for thepreset
record component.Modifier and TypeMethodDescriptionWorldCreationUiState.WorldTypeEntry.preset()
Returns the value of thepreset
record component.Modifier and TypeMethodDescriptionprivate static Optional
<Holder<WorldPreset>> WorldCreationUiState.findPreset
(WorldCreationContext p_268025_, Optional<ResourceKey<WorldPreset>> p_268184_) Modifier and TypeMethodDescriptionprivate static WorldCreationContext.DimensionsUpdater
PresetEditor.fixedBiomeConfigurator
(Holder<Biome> p_248835_) ModifierConstructorDescriptionWorldTypeEntry
(Holder<WorldPreset> preset) Creates an instance of aWorldTypeEntry
record class. -
Uses of Holder in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionClientLevel.getUncachedNoiseBiome
(int p_205516_, int p_205517_, int p_205518_) Modifier and TypeMethodDescriptionvoid
ClientLevel.gameEvent
(Holder<GameEvent> p_316478_, Vec3 p_233640_, GameEvent.Context p_233641_) void
ClientLevel.playSeededSound
(Player p_263381_, double p_263372_, double p_263404_, double p_263365_, Holder<SoundEvent> p_263335_, SoundSource p_263417_, float p_263416_, float p_263349_, long p_263408_) void
ClientLevel.playSeededSound
(Player p_263514_, Entity p_263536_, Holder<SoundEvent> p_263518_, SoundSource p_263487_, float p_263538_, float p_263524_, long p_263509_) ModifierConstructorDescriptionClientLevel
(ClientPacketListener p_205505_, ClientLevel.ClientLevelData p_205506_, ResourceKey<Level> p_205507_, Holder<DimensionType> p_205508_, int p_205509_, int p_205510_, Supplier<ProfilerFiller> p_205511_, LevelRenderer p_205512_, boolean p_205513_, long p_205514_) -
Uses of Holder in net.minecraft.client.player
-
Uses of Holder in net.minecraft.client.renderer
Modifier and TypeMethodDescriptionFogRenderer.BlindnessFogFunction.getMobEffect()
FogRenderer.DarknessFogFunction.getMobEffect()
FogRenderer.MobEffectFogFunction.getMobEffect()
Modifier and TypeMethodDescriptionstatic Material
Sheets.getBannerMaterial
(Holder<BannerPattern> p_332774_) static Material
Sheets.getShieldMaterial
(Holder<BannerPattern> p_332760_) -
Uses of Holder in net.minecraft.client.renderer.debug
Modifier and TypeMethodDescriptionboolean
GameEventListenerRenderer.TrackedListener.handleGameEvent
(ServerLevel p_234540_, Holder<GameEvent> p_316503_, GameEvent.Context p_250285_, Vec3 p_250758_) -
Uses of Holder in net.minecraft.client.renderer.entity.layers
Modifier and TypeMethodDescriptionprivate void
HumanoidArmorLayer.renderTrim
(Holder<ArmorMaterial> p_323506_, PoseStack p_289687_, MultiBufferSource p_289643_, int p_289683_, ArmorTrim p_289692_, A p_289663_, boolean p_289651_) private void
HumanoidArmorLayer.renderTrim
(Holder<ArmorMaterial> p_323506_, PoseStack p_289687_, MultiBufferSource p_289643_, int p_289683_, ArmorTrim p_289692_, Model p_289663_, boolean p_289651_) -
Uses of Holder in net.minecraft.client.resources
Modifier and TypeMethodDescription -
Uses of Holder in net.minecraft.client.resources.sounds
Modifier and TypeMethodDescriptionstatic SimpleSoundInstance
SimpleSoundInstance.forUI
(Holder<SoundEvent> p_263418_, float p_263405_) -
Uses of Holder in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic Holder
<LootItemFunction> ResourceOrIdArgument.getLootModifier
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_335678_, String p_336178_) static Holder
<LootItemCondition> ResourceOrIdArgument.getLootPredicate
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_336183_, String p_336098_) ResourceOrIdArgument.getLootTable
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_335373_, String p_336017_) private static <T> Holder
<T> ResourceOrIdArgument.getResource
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_336122_, String p_335417_) ResourceOrIdArgument.parse
(com.mojang.brigadier.StringReader p_335906_) Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
ModifierConstructorDescriptionprotected
ResourceOrIdArgument
(CommandBuildContext p_335864_, ResourceKey<Registry<T>> p_335475_, com.mojang.serialization.Codec<Holder<T>> p_335632_) -
Uses of Holder in net.minecraft.commands.arguments.item
Modifier and TypeFieldDescriptionItemInput.item
ItemParser.ItemResult.item
The field for theitem
record component.Modifier and TypeMethodDescriptionItemParser.ItemResult.item()
Returns the value of theitem
record component.Modifier and TypeMethodDescriptionprivate static void
ItemParser.validateComponents
(com.mojang.brigadier.StringReader p_341137_, Holder<Item> p_341139_, DataComponentMap p_341277_) default void
ModifierConstructorDescriptionItemInput
(Holder<Item> p_235282_, DataComponentMap p_330777_) ItemResult
(Holder<Item> item, DataComponentMap components) Creates an instance of aItemResult
record class. -
Uses of Holder in net.minecraft.core
Modifier and TypeClassDescriptionstatic final record
static class
(package private) static class
Modifier and TypeFieldDescriptionHolderSet.Direct.contents
HolderSet.Named.contents
HolderSet.Direct.contentsSet
Modifier and TypeMethodDescriptionstatic <T> Holder
<T> Holder.direct
(T p_205710_) HolderSet.get
(int p_205798_) HolderSet.ListBacked.get
(int p_205823_) Holder.getDelegate()
Returns the holder that this holder wraps.MappedRegistry.wrapAsHolder
(T p_263356_) Registry.wrapAsHolder
(T p_263382_) Modifier and TypeMethodDescriptionRegistry.asHolderIdMap()
HolderSet.Direct.contents()
HolderSet.ListBacked.contents()
HolderSet.Named.contents()
HolderSet.getRandomElement
(RandomSource p_235712_) HolderSet.ListBacked.getRandomElement
(RandomSource p_235714_) Registry.getRandomElementOf
(TagKey<T> p_320357_, RandomSource p_320935_) Registry.getTagOrEmpty
(TagKey<T> p_206059_) Registry.holderByNameCodec()
HolderSet.ListBacked.iterator()
HolderSet.ListBacked.spliterator()
HolderSet.ListBacked.stream()
HolderSet.stream()
HolderSet.Direct.unwrap()
HolderSet.Named.unwrap()
HolderSet.unwrap()
Modifier and TypeMethodDescriptionboolean
boolean
boolean
static <T> HolderSet.Direct
<T> boolean
boolean
Deprecated.boolean
private com.mojang.serialization.DataResult
<Holder.Reference<T>> Registry.safeCastToReference
(Holder<T> p_326365_) Modifier and TypeMethodDescriptionvoid
void
void
static <E,
T> HolderSet.Direct <T> static <E,
T> HolderSet.Direct <T> HolderSet.direct
(Function<E, Holder<T>> p_205804_, Collection<E> p_298495_) static <T> HolderSet.Direct
<T> -
Uses of Holder in net.minecraft.core.component
Modifier and TypeFieldDescriptionstatic final DataComponentType
<Holder<Instrument>> DataComponents.INSTRUMENT
-
Uses of Holder in net.minecraft.data.models
Modifier and TypeFieldDescriptionprivate final Map
<Holder<ArmorMaterial>, String> ItemModelGenerators.TrimModelData.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionItemModelGenerators.TrimModelData.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionprivate com.google.gson.JsonObject
ItemModelGenerators.generateBaseArmorTrimTemplate
(ResourceLocation p_266939_, Map<TextureSlot, ResourceLocation> p_267324_, Holder<ArmorMaterial> p_323559_) ItemModelGenerators.TrimModelData.name
(Holder<ArmorMaterial> p_323590_) ModifierConstructorDescription(package private)
TrimModelData
(String name, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials) Creates an instance of aTrimModelData
record class. -
Uses of Holder in net.minecraft.data.worldgen.features
Modifier and TypeMethodDescriptionprivate static Holder
<PlacedFeature> CaveFeatures.makeDripleaf
(Direction p_206468_) private static Holder
<PlacedFeature> CaveFeatures.makeSmallDripleaf()
Modifier and TypeMethodDescriptionstatic RandomPatchConfiguration
FeatureUtils.simpleRandomPatchConfiguration
(int p_206471_, Holder<PlacedFeature> p_206472_) -
Uses of Holder in net.minecraft.data.worldgen.placement
Modifier and TypeMethodDescriptionstatic <FC extends FeatureConfiguration,
F extends Feature<FC>>
Holder<PlacedFeature> PlacementUtils.filtered
(F p_206499_, FC p_206500_, BlockPredicate p_206501_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
Holder<PlacedFeature> PlacementUtils.inlinePlaced
(F p_206503_, FC p_206504_, PlacementModifier... p_206505_) static Holder
<PlacedFeature> PlacementUtils.inlinePlaced
(Holder<ConfiguredFeature<?, ?>> p_206507_, PlacementModifier... p_206508_) static <FC extends FeatureConfiguration,
F extends Feature<FC>>
Holder<PlacedFeature> PlacementUtils.onlyWhenEmpty
(F p_206496_, FC p_206497_) Modifier and TypeMethodDescriptionstatic Holder
<PlacedFeature> PlacementUtils.inlinePlaced
(Holder<ConfiguredFeature<?, ?>> p_206507_, PlacementModifier... p_206508_) static void
PlacementUtils.register
(BootstrapContext<PlacedFeature> p_321821_, ResourceKey<PlacedFeature> p_256614_, Holder<ConfiguredFeature<?, ?>> p_255855_, List<PlacementModifier> p_321672_) static void
PlacementUtils.register
(BootstrapContext<PlacedFeature> p_321697_, ResourceKey<PlacedFeature> p_255820_, Holder<ConfiguredFeature<?, ?>> p_255813_, PlacementModifier... p_321659_) -
Uses of Holder in net.minecraft.gametest.framework
Modifier and TypeMethodDescriptionvoid
GameTestHelper.assertLivingEntityHasMobEffect
(LivingEntity p_296040_, Holder<MobEffect> p_316528_, int p_294266_) -
Uses of Holder in net.minecraft.network.chat
Modifier and TypeFieldDescriptionChatType.Bound.chatType
The field for thechatType
record component.HoverEvent.ItemStackInfo.item
Modifier and TypeMethodDescriptionChatType.Bound.chatType()
Returns the value of thechatType
record component.ModifierConstructorDescription(package private)
Creates an instance of aBound
record class.(package private)
ItemStackInfo
(Holder<Item> p_330519_, int p_130894_, DataComponentPatch p_331646_) -
Uses of Holder in net.minecraft.network.codec
Modifier and TypeMethodDescriptionstatic <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder
(ResourceKey<? extends Registry<T>> p_320391_, StreamCodec<? super RegistryFriendlyByteBuf, T> p_320595_) static <T> StreamCodec
<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry
(ResourceKey<? extends Registry<T>> p_320387_) -
Uses of Holder in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionClientboundUpdateAttributesPacket.AttributeSnapshot.attribute
The field for theattribute
record component.private final Holder
<DimensionType> CommonPlayerSpawnInfo.dimensionType
The field for thedimensionType
record component.ClientboundRemoveMobEffectPacket.effect
The field for theeffect
record component.ClientboundUpdateMobEffectPacket.effect
private final Holder
<SoundEvent> ClientboundExplodePacket.explosionSound
private final Holder
<SoundEvent> ClientboundSoundEntityPacket.sound
private final Holder
<SoundEvent> ClientboundSoundPacket.sound
private final Holder
<DamageType> ClientboundDamageEventPacket.sourceType
The field for thesourceType
record component.Modifier and TypeFieldDescriptionprivate static final StreamCodec
<RegistryFriendlyByteBuf, Holder<DamageType>> ClientboundDamageEventPacket.DAMAGE_TYPE_ID_STREAM_CODEC
private static final StreamCodec
<RegistryFriendlyByteBuf, Holder<DimensionType>> CommonPlayerSpawnInfo.DIMENSION_TYPE_ID_STREAM_CODEC
ServerboundSetBeaconPacket.primary
The field for theprimary
record component.ServerboundSetBeaconPacket.secondary
The field for thesecondary
record component.Modifier and TypeMethodDescriptionClientboundUpdateAttributesPacket.AttributeSnapshot.attribute()
Returns the value of theattribute
record component.CommonPlayerSpawnInfo.dimensionType()
Returns the value of thedimensionType
record component.ClientboundRemoveMobEffectPacket.effect()
Returns the value of theeffect
record component.ClientboundUpdateMobEffectPacket.getEffect()
ClientboundExplodePacket.getExplosionSound()
ClientboundSoundEntityPacket.getSound()
ClientboundSoundPacket.getSound()
ClientboundDamageEventPacket.sourceType()
Returns the value of thesourceType
record component.Modifier and TypeMethodDescriptionServerboundSetBeaconPacket.primary()
Returns the value of theprimary
record component.ServerboundSetBeaconPacket.secondary()
Returns the value of thesecondary
record component.Modifier and TypeMethodDescriptionstatic void
DebugPackets.sendGameEventInfo
(Level p_237888_, Holder<GameEvent> p_316607_, Vec3 p_237890_) ModifierConstructorDescriptionAttributeSnapshot
(Holder<Attribute> attribute, double base, Collection<AttributeModifier> modifiers) Creates an instance of aAttributeSnapshot
record class.ClientboundDamageEventPacket
(int entityId, Holder<DamageType> sourceType, int sourceCauseId, int sourceDirectId, Optional<Vec3> sourcePosition) Creates an instance of aClientboundDamageEventPacket
record class.ClientboundExplodePacket
(double p_132115_, double p_132116_, double p_132117_, float p_132118_, List<BlockPos> p_132119_, Vec3 p_132120_, Explosion.BlockInteraction p_312296_, ParticleOptions p_312499_, ParticleOptions p_312203_, Holder<SoundEvent> p_320679_) ClientboundRemoveMobEffectPacket
(int entityId, Holder<MobEffect> effect) Creates an instance of aClientboundRemoveMobEffectPacket
record class.ClientboundSoundEntityPacket
(Holder<SoundEvent> p_263513_, SoundSource p_263511_, Entity p_263496_, float p_263519_, float p_263523_, long p_263532_) ClientboundSoundPacket
(Holder<SoundEvent> p_263366_, SoundSource p_263375_, double p_263378_, double p_263367_, double p_263394_, float p_263415_, float p_263399_, long p_263409_) CommonPlayerSpawnInfo
(Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, GameType gameType, GameType previousGameType, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation, int portalCooldown) Creates an instance of aCommonPlayerSpawnInfo
record class. -
Uses of Holder in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer
<Holder<CatVariant>> EntityDataSerializers.CAT_VARIANT
static final EntityDataSerializer
<Holder<FrogVariant>> EntityDataSerializers.FROG_VARIANT
static final EntityDataSerializer
<Holder<PaintingVariant>> EntityDataSerializers.PAINTING_VARIANT
static final EntityDataSerializer
<Holder<WolfVariant>> EntityDataSerializers.WOLF_VARIANT
-
Uses of Holder in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<ICustomHolderSet<E>, com.mojang.datafixers.util.Either<TagKey<E>, List<Holder<E>>>>> HolderSetCodec.combinedCodec
HolderSetCodec.elementCodec
HolderSetCodec.homogenousListCodec
private final com.mojang.serialization.Codec
<com.mojang.datafixers.util.Either<TagKey<E>, List<Holder<E>>>> HolderSetCodec.registryAwareCodec
Modifier and TypeMethodDescriptionRegistryFileCodec.decode
(com.mojang.serialization.DynamicOps<T> p_135608_, T p_135609_) RegistryFixedCodec.decode
(com.mojang.serialization.DynamicOps<T> p_206743_, T p_206744_) HolderSetCodec.homogenousList
(com.mojang.serialization.Codec<Holder<E>> p_206668_, boolean p_206669_) Modifier and TypeMethodDescription<T> com.mojang.serialization.DataResult
<T> RegistryFileCodec.encode
(Holder<E> p_206716_, com.mojang.serialization.DynamicOps<T> p_206717_, T p_206718_) <T> com.mojang.serialization.DataResult
<T> RegistryFixedCodec.encode
(Holder<E> p_206729_, com.mojang.serialization.DynamicOps<T> p_206730_, T p_206731_) Modifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec
<HolderSet<E>> HolderSetCodec.create
(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) HolderSetCodec.homogenousList
(com.mojang.serialization.Codec<Holder<E>> p_206668_, boolean p_206669_) ModifierConstructorDescriptionprivate
HolderSetCodec
(ResourceKey<? extends Registry<E>> p_206660_, com.mojang.serialization.Codec<Holder<E>> p_206661_, boolean p_206662_) -
Uses of Holder in net.minecraft.server.commands
Modifier and TypeFieldDescriptionprivate static final Map
<com.mojang.datafixers.util.Pair<Holder<ArmorMaterial>, EquipmentSlot>, Item> SpawnArmorTrimsCommand.MATERIAL_AND_SLOT_TO_ITEM
Modifier and TypeMethodDescriptionprivate static int
AttributeCommand.addModifier
(CommandSourceStack p_136470_, Entity p_136471_, Holder<Attribute> p_251636_, UUID p_136473_, String p_136474_, double p_136475_, AttributeModifier.Operation p_136476_) private static ItemStack
ItemCommands.applyModifier
(CommandSourceStack p_180284_, Holder<LootItemFunction> p_335682_, ItemStack p_180286_) private static int
ItemCommands.blockToBlock
(CommandSourceStack p_180308_, BlockPos p_180309_, int p_180310_, BlockPos p_180311_, int p_180312_, Holder<LootItemFunction> p_335838_) private static int
ItemCommands.blockToEntities
(CommandSourceStack p_180321_, BlockPos p_180322_, int p_180323_, Collection<? extends Entity> p_180324_, int p_180325_, Holder<LootItemFunction> p_336168_) private static boolean
ExecuteCommand.checkCustomPredicate
(CommandSourceStack p_137105_, Holder<LootItemCondition> p_335673_) private static int
EffectCommands.clearEffect
(CommandSourceStack p_250069_, Collection<? extends Entity> p_248561_, Holder<MobEffect> p_249198_) private static int
LootCommand.drop
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_287721_, Holder<LootTable> p_335766_, LootParams p_287728_, LootCommand.DropConsumer p_287770_) private static int
LootCommand.dropChestLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137933_, Holder<LootTable> p_336054_, LootCommand.DropConsumer p_137935_) private static int
LootCommand.dropFishingLoot
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137927_, Holder<LootTable> p_335944_, BlockPos p_137929_, ItemStack p_137930_, LootCommand.DropConsumer p_137931_) private static int
EnchantCommand.enchant
(CommandSourceStack p_249815_, Collection<? extends Entity> p_248848_, Holder<Enchantment> p_251252_, int p_249941_) private static int
ItemCommands.entityToBlock
(CommandSourceStack p_180264_, Entity p_180265_, int p_180266_, BlockPos p_180267_, int p_180268_, Holder<LootItemFunction> p_335965_) private static int
ItemCommands.entityToEntities
(CommandSourceStack p_180277_, Entity p_180278_, int p_180279_, Collection<? extends Entity> p_180280_, int p_180281_, Holder<LootItemFunction> p_335469_) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill
(ServerLevel p_313898_, BlockPos p_313859_, BlockPos p_313868_, Holder<Biome> p_313728_) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill
(ServerLevel p_313779_, BlockPos p_313726_, BlockPos p_313895_, Holder<Biome> p_313905_, Predicate<Holder<Biome>> p_313945_, Consumer<Supplier<Component>> p_313787_) private static int
AttributeCommand.getAttributeBase
(CommandSourceStack p_248780_, Entity p_251083_, Holder<Attribute> p_250388_, double p_250194_) private static Component
AttributeCommand.getAttributeDescription
(Holder<Attribute> p_250602_) private static AttributeInstance
AttributeCommand.getAttributeInstance
(Entity p_252177_, Holder<Attribute> p_249942_) private static int
AttributeCommand.getAttributeModifier
(CommandSourceStack p_136464_, Entity p_136465_, Holder<Attribute> p_250680_, UUID p_136467_, double p_136468_) private static int
AttributeCommand.getAttributeValue
(CommandSourceStack p_251776_, Entity p_249647_, Holder<Attribute> p_250986_, double p_251395_) private static LivingEntity
AttributeCommand.getEntityWithAttribute
(Entity p_252105_, Holder<Attribute> p_248921_) private static int
EffectCommands.giveEffect
(CommandSourceStack p_250553_, Collection<? extends Entity> p_250411_, Holder<MobEffect> p_249495_, Integer p_249652_, int p_251498_, boolean p_249944_) private static BiomeResolver
FillBiomeCommand.makeResolver
(org.apache.commons.lang3.mutable.MutableInt p_262615_, ChunkAccess p_262698_, BoundingBox p_262622_, Holder<Biome> p_262705_, Predicate<Holder<Biome>> p_262695_) private static int
ItemCommands.modifyBlockItem
(CommandSourceStack p_180297_, BlockPos p_180298_, int p_180299_, Holder<LootItemFunction> p_335627_) private static int
ItemCommands.modifyEntityItem
(CommandSourceStack p_180337_, Collection<? extends Entity> p_180338_, int p_180339_, Holder<LootItemFunction> p_335904_) static int
PlaceCommand.placeJigsaw
(CommandSourceStack p_214570_, Holder<StructureTemplatePool> p_214571_, ResourceLocation p_214572_, int p_214573_, BlockPos p_214574_) private static int
AttributeCommand.removeModifier
(CommandSourceStack p_136459_, Entity p_136460_, Holder<Attribute> p_250830_, UUID p_136462_) private static int
AttributeCommand.setAttributeBase
(CommandSourceStack p_248556_, Entity p_248620_, Holder<Attribute> p_249456_, double p_252212_) Modifier and TypeMethodDescriptionprivate static int
FillBiomeCommand.fill
(CommandSourceStack p_262664_, BlockPos p_262651_, BlockPos p_262678_, Holder.Reference<Biome> p_262612_, Predicate<Holder<Biome>> p_262697_) static com.mojang.datafixers.util.Either
<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill
(ServerLevel p_313779_, BlockPos p_313726_, BlockPos p_313895_, Holder<Biome> p_313905_, Predicate<Holder<Biome>> p_313945_, Consumer<Supplier<Component>> p_313787_) private static BiomeResolver
FillBiomeCommand.makeResolver
(org.apache.commons.lang3.mutable.MutableInt p_262615_, ChunkAccess p_262698_, BoundingBox p_262622_, Holder<Biome> p_262705_, Predicate<Holder<Biome>> p_262695_) static int
LocateCommand.showLocateResult
(CommandSourceStack p_263098_, ResourceOrTagArgument.Result<?> p_262956_, BlockPos p_262917_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_263074_, String p_262937_, boolean p_263051_, Duration p_263028_) static int
LocateCommand.showLocateResult
(CommandSourceStack p_263019_, ResourceOrTagKeyArgument.Result<?> p_263031_, BlockPos p_262989_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_262959_, String p_263045_, boolean p_262934_, Duration p_262960_) private static int
LocateCommand.showLocateResult
(CommandSourceStack p_262983_, BlockPos p_263016_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_262941_, String p_263083_, boolean p_263010_, String p_263048_, Duration p_263040_) -
Uses of Holder in net.minecraft.server.level
Modifier and TypeMethodDescriptionServerLevel.getUncachedNoiseBiome
(int p_203775_, int p_203776_, int p_203777_) WorldGenRegion.getUncachedNoiseBiome
(int p_203787_, int p_203788_, int p_203789_) Modifier and TypeMethodDescriptionServerLevel.findClosestBiome3d
(Predicate<Holder<Biome>> p_215070_, BlockPos p_215071_, int p_215072_, int p_215073_, int p_215074_) Modifier and TypeMethodDescriptionServerLevel.explode
(Entity p_256039_, DamageSource p_255778_, ExplosionDamageCalculator p_256002_, double p_256067_, double p_256370_, double p_256153_, float p_256045_, boolean p_255686_, Level.ExplosionInteraction p_255827_, ParticleOptions p_312436_, ParticleOptions p_312391_, Holder<SoundEvent> p_320497_) void
ServerLevel.gameEvent
(Holder<GameEvent> p_316597_, Vec3 p_215042_, GameEvent.Context p_215043_) void
WorldGenRegion.gameEvent
(Holder<GameEvent> p_316792_, Vec3 p_215164_, GameEvent.Context p_215165_) void
ServerLevel.playSeededSound
(Player p_263330_, double p_263393_, double p_263369_, double p_263354_, Holder<SoundEvent> p_263412_, SoundSource p_263338_, float p_263352_, float p_263390_, long p_263403_) void
ServerLevel.playSeededSound
(Player p_263545_, Entity p_263544_, Holder<SoundEvent> p_263491_, SoundSource p_263542_, float p_263530_, float p_263520_, long p_263490_) -
Uses of Holder in net.minecraft.sounds
Modifier and TypeFieldDescriptionstatic final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_CHAIN
static final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_DIAMOND
static final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_ELYTRA
static final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_GENERIC
static final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_GOLD
static final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_IRON
static final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_LEATHER
static final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_NETHERITE
static final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_TURTLE
static final Holder
<SoundEvent> SoundEvents.ARMOR_EQUIP_WOLF
private final Holder
<SoundEvent> Music.event
static final Holder
<SoundEvent> SoundEvents.LLAMA_SWAG
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<SoundEvent>> SoundEvent.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<SoundEvent>> SoundEvent.STREAM_CODEC
Modifier and TypeMethodDescriptionMusic.getEvent()
private static Holder
<SoundEvent> SoundEvents.register
(ResourceLocation p_263323_, ResourceLocation p_263411_, float p_263385_) Modifier and TypeMethodDescriptionstatic Music
Musics.createGameMusic
(Holder<SoundEvent> p_263395_) ModifierConstructorDescriptionMusic
(Holder<SoundEvent> p_263426_, int p_263377_, int p_263383_, boolean p_263387_) -
Uses of Holder in net.minecraft.tags
Modifier and TypeFieldDescriptionprivate final Map
<ResourceLocation, Collection<Holder<T>>> TagManager.LoadResult.tags
The field for thetags
record component.Modifier and TypeMethodDescriptionTagManager.LoadResult.tags()
Returns the value of thetags
record component.Modifier and TypeMethodDescriptionvoid
ModifierConstructorDescriptionLoadResult
(ResourceKey<? extends Registry<T>> key, Map<ResourceLocation, Collection<Holder<T>>> tags) Creates an instance of aLoadResult
record class. -
Uses of Holder in net.minecraft.util
Modifier and TypeMethodDescriptionGsonHelper.convertToItem
(com.google.gson.JsonElement p_13875_, String p_13876_) -
Uses of Holder in net.minecraft.world.damagesource
ModifierConstructorDescriptionDamageSource
(Holder<DamageType> p_270475_) DamageSource
(Holder<DamageType> p_270811_, Entity p_270660_) DamageSource
(Holder<DamageType> p_270818_, Entity p_270162_, Entity p_270115_) DamageSource
(Holder<DamageType> p_270906_, Entity p_270796_, Entity p_270459_, Vec3 p_270623_) DamageSource
(Holder<DamageType> p_270690_, Vec3 p_270579_) -
Uses of Holder in net.minecraft.world.effect
Modifier and TypeFieldDescriptionMobEffects.ABSORPTION
MobEffects.BAD_OMEN
MobEffects.BLINDNESS
MobEffects.CONDUIT_POWER
MobEffects.CONFUSION
MobEffects.DAMAGE_BOOST
MobEffects.DAMAGE_RESISTANCE
MobEffects.DARKNESS
MobEffects.DIG_SLOWDOWN
MobEffects.DIG_SPEED
MobEffects.DOLPHINS_GRACE
MobEffectInstance.effect
MobEffects.FIRE_RESISTANCE
MobEffects.GLOWING
MobEffects.HARM
MobEffects.HEAL
MobEffects.HEALTH_BOOST
MobEffects.HERO_OF_THE_VILLAGE
MobEffects.HUNGER
MobEffects.INFESTED
MobEffects.INVISIBILITY
MobEffects.JUMP
MobEffects.LEVITATION
MobEffects.LUCK
MobEffects.MOVEMENT_SLOWDOWN
MobEffects.MOVEMENT_SPEED
MobEffects.NIGHT_VISION
MobEffects.OOZING
MobEffects.POISON
MobEffects.RAID_OMEN
MobEffects.REGENERATION
MobEffects.SATURATION
MobEffects.SLOW_FALLING
MobEffects.TRIAL_OMEN
MobEffects.UNLUCK
MobEffects.WATER_BREATHING
MobEffects.WEAKNESS
MobEffects.WEAVING
MobEffects.WIND_CHARGED
MobEffects.WITHER
Modifier and TypeFieldDescriptionprivate final Map
<Holder<Attribute>, MobEffect.AttributeTemplate> MobEffect.attributeModifiers
Modifier and TypeMethodDescriptionMobEffect.addAttributeModifier
(Holder<Attribute> p_316656_, String p_19474_, double p_19475_, AttributeModifier.Operation p_19476_) boolean
Modifier and TypeMethodDescriptionvoid
MobEffect.createModifiers
(int p_316803_, BiConsumer<Holder<Attribute>, AttributeModifier> p_316902_) ModifierConstructorDescriptionMobEffectInstance
(Holder<MobEffect> p_316782_) MobEffectInstance
(Holder<MobEffect> p_316473_, int p_19523_) MobEffectInstance
(Holder<MobEffect> p_316819_, int p_216888_, int p_216889_) MobEffectInstance
(Holder<MobEffect> p_316846_, int p_19516_, int p_316691_, boolean p_316120_, boolean p_316433_) MobEffectInstance
(Holder<MobEffect> p_316870_, int p_316726_, int p_316828_, boolean p_316179_, boolean p_316397_, boolean p_316398_) MobEffectInstance
(Holder<MobEffect> p_316176_, int p_19529_, int p_19530_, boolean p_19531_, boolean p_19532_, boolean p_19533_, MobEffectInstance p_316863_) private
MobEffectInstance
(Holder<MobEffect> p_324441_, MobEffectInstance.Details p_324529_) -
Uses of Holder in net.minecraft.world.entity
Modifier and TypeFieldDescriptionprivate final Map
<Holder<MobEffect>, MobEffectInstance> LivingEntity.activeEffects
Modifier and TypeMethodDescriptionvoid
void
LivingEntity.getAttribute
(Holder<Attribute> p_316333_) double
LivingEntity.getAttributeBaseValue
(Holder<Attribute> p_248605_) double
LivingEntity.getAttributeValue
(Holder<Attribute> p_251296_) boolean
private void
LivingEntity.onAttributeUpdated
(Holder<Attribute> p_316778_) boolean
LivingEntity.removeEffect
(Holder<MobEffect> p_316570_) LivingEntity.removeEffectNoUpdate
(Holder<MobEffect> p_316233_) -
Uses of Holder in net.minecraft.world.entity.ai.attributes
Modifier and TypeFieldDescriptionAttributes.ARMOR
Attributes.ARMOR_TOUGHNESS
Attributes.ATTACK_DAMAGE
Attributes.ATTACK_KNOCKBACK
Attributes.ATTACK_SPEED
AttributeInstance.attribute
Attributes.BLOCK_BREAK_SPEED
Attributes.BLOCK_INTERACTION_RANGE
Attributes.ENTITY_INTERACTION_RANGE
Attributes.FALL_DAMAGE_MULTIPLIER
Attributes.FLYING_SPEED
Attributes.FOLLOW_RANGE
Attributes.GRAVITY
Attributes.JUMP_STRENGTH
Attributes.KNOCKBACK_RESISTANCE
Attributes.LUCK
Attributes.MAX_ABSORPTION
Attributes.MAX_HEALTH
Attributes.MOVEMENT_SPEED
Attributes.SAFE_FALL_DISTANCE
Attributes.SCALE
Attributes.SPAWN_REINFORCEMENTS_CHANCE
Attributes.STEP_HEIGHT
Modifier and TypeFieldDescriptionprivate final Map
<Holder<Attribute>, AttributeInstance> AttributeMap.attributes
private final Map
<Holder<Attribute>, AttributeInstance> AttributeSupplier.Builder.builder
private final Map
<Holder<Attribute>, AttributeInstance> AttributeSupplier.instances
Modifier and TypeMethodDescriptionprivate AttributeInstance
AttributeSupplier.createInstance
(Consumer<AttributeInstance> p_22251_, Holder<Attribute> p_316258_) private AttributeInstance
AttributeSupplier.getAttributeInstance
(Holder<Attribute> p_316859_) double
AttributeMap.getBaseValue
(Holder<Attribute> p_316270_) double
AttributeSupplier.getBaseValue
(Holder<Attribute> p_316396_) AttributeMap.getInstance
(Holder<Attribute> p_250010_) double
AttributeMap.getModifierValue
(Holder<Attribute> p_251534_, UUID p_250438_) double
AttributeSupplier.getModifierValue
(Holder<Attribute> p_316754_, UUID p_22249_) double
double
boolean
AttributeMap.hasAttribute
(Holder<Attribute> p_248893_) boolean
AttributeSupplier.Builder.hasAttribute
(Holder<Attribute> attribute) boolean
AttributeSupplier.hasAttribute
(Holder<Attribute> p_316617_) boolean
AttributeMap.hasModifier
(Holder<Attribute> p_250299_, UUID p_250415_) boolean
AttributeSupplier.hasModifier
(Holder<Attribute> p_316471_, UUID p_22257_) ModifierConstructorDescriptionAttributeInstance
(Holder<Attribute> p_316357_, Consumer<AttributeInstance> p_22098_) ModifierConstructorDescription(package private)
AttributeSupplier
(Map<Holder<Attribute>, AttributeInstance> p_22243_) -
Uses of Holder in net.minecraft.world.entity.ai.behavior
Modifier and TypeMethodDescriptionprivate boolean
private static boolean
PoiCompetitorScan.competesForSameJobsite
(GlobalPos p_217330_, Holder<PoiType> p_217331_, Villager p_217332_) private static boolean
PoiCompetitorScan.hasMatchingProfession
(Holder<PoiType> p_217334_, VillagerProfession p_217335_) private static boolean
YieldJobSite.nearbyWantsJobsite
(Holder<PoiType> p_217511_, Villager p_217512_, BlockPos p_217513_) Modifier and TypeMethodDescriptionstatic BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> p_259994_, MemoryModuleType<GlobalPos> p_259167_, boolean p_259077_, Optional<Byte> p_259824_) static BehaviorControl
<PathfinderMob> AcquirePoi.create
(Predicate<Holder<PoiType>> p_260007_, MemoryModuleType<GlobalPos> p_259129_, MemoryModuleType<GlobalPos> p_260194_, boolean p_259108_, Optional<Byte> p_260129_) static BehaviorControl
<LivingEntity> ValidateNearbyPoi.create
(Predicate<Holder<PoiType>> p_259460_, MemoryModuleType<GlobalPos> p_259635_) static Path
AcquirePoi.findPathToPois
(Mob p_217098_, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> p_217099_) -
Uses of Holder in net.minecraft.world.entity.ai.village.poi
Modifier and TypeFieldDescriptionPoiSection.byType
PoiType.NONE
private static final Map
<BlockState, Holder<PoiType>> PoiTypes.TYPE_BY_STATE
Modifier and TypeMethodDescriptionPoiManager.findAllClosestFirstWithType
(Predicate<Holder<PoiType>> p_217995_, Predicate<BlockPos> p_217996_, BlockPos p_217997_, int p_217998_, PoiManager.Occupancy p_217999_) PoiManager.findAllWithType
(Predicate<Holder<PoiType>> p_217984_, Predicate<BlockPos> p_217985_, BlockPos p_217986_, int p_217987_, PoiManager.Occupancy p_217988_) PoiManager.findClosestWithType
(Predicate<Holder<PoiType>> p_218003_, BlockPos p_218004_, int p_218005_, PoiManager.Occupancy p_218006_) PoiTypes.forState
(BlockState p_218076_) Modifier and TypeMethodDescriptionvoid
void
private static void
PoiTypes.registerBlockStates
(Holder<PoiType> p_250815_, Set<BlockState> p_250679_) Modifier and TypeMethodDescriptionboolean
boolean
PoiManager.find
(Predicate<Holder<PoiType>> p_27187_, Predicate<BlockPos> p_27188_, BlockPos p_27189_, int p_27190_, PoiManager.Occupancy p_27191_) PoiManager.findAll
(Predicate<Holder<PoiType>> p_27139_, Predicate<BlockPos> p_27140_, BlockPos p_27141_, int p_27142_, PoiManager.Occupancy p_27143_) PoiManager.findAllClosestFirstWithType
(Predicate<Holder<PoiType>> p_217995_, Predicate<BlockPos> p_217996_, BlockPos p_217997_, int p_217998_, PoiManager.Occupancy p_217999_) PoiManager.findAllWithType
(Predicate<Holder<PoiType>> p_217984_, Predicate<BlockPos> p_217985_, BlockPos p_217986_, int p_217987_, PoiManager.Occupancy p_217988_) PoiManager.findClosest
(Predicate<Holder<PoiType>> p_148659_, Predicate<BlockPos> p_148660_, BlockPos p_148661_, int p_148662_, PoiManager.Occupancy p_148663_) PoiManager.findClosest
(Predicate<Holder<PoiType>> p_27193_, BlockPos p_27194_, int p_27195_, PoiManager.Occupancy p_27196_) PoiManager.findClosestWithType
(Predicate<Holder<PoiType>> p_218003_, BlockPos p_218004_, int p_218005_, PoiManager.Occupancy p_218006_) long
PoiManager.getCountInRange
(Predicate<Holder<PoiType>> p_27122_, BlockPos p_27123_, int p_27124_, PoiManager.Occupancy p_27125_) PoiManager.getInChunk
(Predicate<Holder<PoiType>> p_27118_, ChunkPos p_27119_, PoiManager.Occupancy p_27120_) PoiManager.getInRange
(Predicate<Holder<PoiType>> p_27182_, BlockPos p_27183_, int p_27184_, PoiManager.Occupancy p_27185_) PoiManager.getInSquare
(Predicate<Holder<PoiType>> p_27167_, BlockPos p_27168_, int p_27169_, PoiManager.Occupancy p_27170_) PoiManager.getRandom
(Predicate<Holder<PoiType>> p_217952_, Predicate<BlockPos> p_217953_, PoiManager.Occupancy p_217954_, BlockPos p_217955_, int p_217956_, RandomSource p_217957_) PoiSection.getRecords
(Predicate<Holder<PoiType>> p_27305_, PoiManager.Occupancy p_27306_) void
PoiManager.take
(Predicate<Holder<PoiType>> p_217947_, BiPredicate<Holder<PoiType>, BlockPos> p_217948_, BlockPos p_217949_, int p_217950_) PoiManager.take
(Predicate<Holder<PoiType>> p_217947_, BiPredicate<Holder<PoiType>, BlockPos> p_217948_, BlockPos p_217949_, int p_217950_) private void
PoiManager.updateFromSection
(LevelChunkSection p_27070_, SectionPos p_27071_, BiConsumer<BlockPos, Holder<PoiType>> p_27072_) -
Uses of Holder in net.minecraft.world.entity.animal
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<WolfVariant>> WolfVariant.CODEC
private static final EntityDataAccessor
<Holder<CatVariant>> Cat.DATA_VARIANT_ID
private static final EntityDataAccessor
<Holder<WolfVariant>> Wolf.DATA_VARIANT_ID
Modifier and TypeMethodDescriptionstatic Holder
<WolfVariant> WolfVariants.getSpawnVariant
(RegistryAccess p_332694_, Holder<Biome> p_332773_) Cat.getVariant()
Wolf.getVariant()
Modifier and TypeMethodDescriptionstatic Fox.Type
static Holder
<WolfVariant> WolfVariants.getSpawnVariant
(RegistryAccess p_332694_, Holder<Biome> p_332773_) void
Cat.setVariant
(Holder<CatVariant> p_335581_) void
Wolf.setVariant
(Holder<WolfVariant> p_332777_) -
Uses of Holder in net.minecraft.world.entity.animal.allay
Modifier and TypeMethodDescriptionboolean
Allay.VibrationUser.canReceiveVibration
(ServerLevel p_282038_, BlockPos p_283385_, Holder<GameEvent> p_316820_, GameEvent.Context p_282208_) boolean
Allay.JukeboxListener.handleGameEvent
(ServerLevel p_250009_, Holder<GameEvent> p_316687_, GameEvent.Context p_249478_, Vec3 p_250852_) void
Allay.VibrationUser.onReceiveVibration
(ServerLevel p_281422_, BlockPos p_281449_, Holder<GameEvent> p_316630_, Entity p_281794_, Entity p_281864_, float p_281642_) -
Uses of Holder in net.minecraft.world.entity.animal.frog
Modifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<Holder<FrogVariant>> Frog.DATA_VARIANT_ID
-
Uses of Holder in net.minecraft.world.entity.animal.horse
Modifier and TypeMethodDescriptionprivate void
AbstractHorse.setOffspringAttribute
(AgeableMob p_273163_, AbstractHorse p_273784_, Holder<Attribute> p_316573_, double p_272663_, double p_273405_) -
Uses of Holder in net.minecraft.world.entity.decoration
Modifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<Holder<PaintingVariant>> Painting.DATA_PAINTING_VARIANT_ID
static final com.mojang.serialization.Codec
<Holder<PaintingVariant>> Painting.VARIANT_CODEC
static final com.mojang.serialization.MapCodec
<Holder<PaintingVariant>> Painting.VARIANT_MAP_CODEC
Modifier and TypeMethodDescriptionprivate static Holder
<PaintingVariant> Painting.getDefaultVariant()
Painting.getVariant()
Modifier and TypeMethodDescriptionvoid
Painting.setVariant
(Holder<PaintingVariant> p_218892_) static void
Painting.storeVariant
(CompoundTag p_270928_, Holder<PaintingVariant> p_270667_) private static int
Painting.variantArea
(Holder<PaintingVariant> p_218899_) -
Uses of Holder in net.minecraft.world.entity.monster
-
Uses of Holder in net.minecraft.world.entity.monster.warden
Modifier and TypeMethodDescriptionboolean
Warden.VibrationUser.canReceiveVibration
(ServerLevel p_282574_, BlockPos p_282323_, Holder<GameEvent> p_316784_, GameEvent.Context p_282515_) void
Warden.VibrationUser.onReceiveVibration
(ServerLevel p_281325_, BlockPos p_282386_, Holder<GameEvent> p_316139_, Entity p_281438_, Entity p_282582_, float p_283699_) -
Uses of Holder in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionprivate final Holder
<MapDecorationType> VillagerTrades.TreasureMapForEmeralds.destinationType
Modifier and TypeFieldDescriptionVillagerProfession.acquirableJobSite
The field for theacquirableJobSite
record component.VillagerProfession.ALL_ACQUIRABLE_JOBS
VillagerProfession.heldJobSite
The field for theheldJobSite
record component.static final Map
<MemoryModuleType<GlobalPos>, BiPredicate<Villager, Holder<PoiType>>> Villager.POI_MEMORIES
Modifier and TypeMethodDescriptionVillagerProfession.acquirableJobSite()
Returns the value of theacquirableJobSite
record component.VillagerProfession.heldJobSite()
Returns the value of theheldJobSite
record component.Modifier and TypeMethodDescriptionstatic VillagerType
private static ItemStack
private static ItemCost
VillagerTrades.potionCost
(Holder<Potion> p_331255_) Modifier and TypeMethodDescriptionprivate static VillagerProfession
VillagerProfession.register
(String p_219659_, Predicate<Holder<PoiType>> p_219660_, Predicate<Holder<PoiType>> p_219661_, com.google.common.collect.ImmutableSet<Item> p_219662_, com.google.common.collect.ImmutableSet<Block> p_219663_, SoundEvent p_219664_) private static VillagerProfession
VillagerProfession.register
(String p_219654_, Predicate<Holder<PoiType>> p_219655_, Predicate<Holder<PoiType>> p_219656_, SoundEvent p_219657_) ModifierConstructorDescriptionSuspiciousStewForEmerald
(Holder<MobEffect> p_316230_, int p_186314_, int p_186315_) TreasureMapForEmeralds
(int p_207767_, TagKey<Structure> p_207768_, String p_207769_, Holder<MapDecorationType> p_335969_, int p_207771_, int p_207772_) ModifierConstructorDescriptionVillagerProfession
(String name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, com.google.common.collect.ImmutableSet<Item> requestedItems, com.google.common.collect.ImmutableSet<Block> secondaryPoi, SoundEvent workSound) Creates an instance of aVillagerProfession
record class. -
Uses of Holder in net.minecraft.world.entity.raid
-
Uses of Holder in net.minecraft.world.inventory
Modifier and TypeMethodDescriptionBeaconMenu.decodeEffect
(int p_298318_) BeaconMenu.getPrimaryEffect()
BeaconMenu.getSecondaryEffect()
Modifier and TypeMethodDescriptionLoomMenu.getSelectablePatterns()
private List
<Holder<BannerPattern>> LoomMenu.getSelectablePatterns
(ItemStack p_219994_) Modifier and TypeMethodDescriptionstatic int
BeaconMenu.encodeEffect
(Holder<MobEffect> p_316580_) private void
LoomMenu.setupResultSlot
(Holder<BannerPattern> p_219992_) -
Uses of Holder in net.minecraft.world.item
Modifier and TypeFieldDescriptionstatic final Holder
<ArmorMaterial> ArmorMaterials.ARMADILLO
static final Holder
<ArmorMaterial> ArmorMaterials.CHAIN
static final Holder
<ArmorMaterial> ArmorMaterials.DIAMOND
private final Holder
<SoundEvent> ArmorMaterial.equipSound
The field for theequipSound
record component.static final Holder
<ArmorMaterial> ArmorMaterials.GOLD
static final Holder
<ArmorMaterial> ArmorMaterials.IRON
static final Holder
<ArmorMaterial> ArmorMaterials.LEATHER
protected final Holder
<ArmorMaterial> ArmorItem.material
static final Holder
<ArmorMaterial> ArmorMaterials.NETHERITE
private final Holder
<SoundEvent> Instrument.soundEvent
The field for thesoundEvent
record component.static final Holder
<ArmorMaterial> ArmorMaterials.TURTLE
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<ArmorMaterial>> ArmorMaterial.CODEC
static final com.mojang.serialization.Codec
<Holder<Instrument>> Instrument.CODEC
ItemStack.ITEM_NON_AIR_CODEC
private static final Comparator
<Holder<PaintingVariant>> CreativeModeTabs.PAINTING_COMPARATOR
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<Instrument>> Instrument.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic Holder
<ArmorMaterial> ArmorMaterials.bootstrap
(Registry<ArmorMaterial> p_323827_) ArmorMaterial.equipSound()
Returns the value of theequipSound
record component.ArmorItem.getEquipSound()
ElytraItem.getEquipSound()
default Holder
<SoundEvent> Equipable.getEquipSound()
ItemStack.getItemHolder()
ArmorItem.getMaterial()
private static Holder
<ArmorMaterial> ArmorMaterials.register
(String p_323589_, EnumMap<ArmorItem.Type, Integer> p_323819_, int p_323636_, Holder<SoundEvent> p_323958_, float p_323937_, float p_323731_, Supplier<Ingredient> p_323970_) private static Holder
<ArmorMaterial> ArmorMaterials.register
(String p_323865_, EnumMap<ArmorItem.Type, Integer> p_324599_, int p_324319_, Holder<SoundEvent> p_324145_, float p_323494_, float p_324549_, Supplier<Ingredient> p_323845_, List<ArmorMaterial.Layer> p_323990_) Instrument.soundEvent()
Returns the value of thesoundEvent
record component.Modifier and TypeMethodDescriptionprivate Optional
<Holder<Instrument>> InstrumentItem.getInstrument
(ItemStack p_220135_) Modifier and TypeMethodDescriptionprivate void
ItemStack.addModifierTooltip
(Consumer<Component> p_331062_, Player p_330317_, Holder<Attribute> p_330626_, AttributeModifier p_331252_) static ItemStack
InstrumentItem.create
(Item p_220108_, Holder<Instrument> p_220109_) boolean
private static Holder
<ArmorMaterial> ArmorMaterials.register
(String p_323589_, EnumMap<ArmorItem.Type, Integer> p_323819_, int p_323636_, Holder<SoundEvent> p_323958_, float p_323937_, float p_323731_, Supplier<Ingredient> p_323970_) private static Holder
<ArmorMaterial> ArmorMaterials.register
(String p_323865_, EnumMap<ArmorItem.Type, Integer> p_324599_, int p_324319_, Holder<SoundEvent> p_324145_, float p_323494_, float p_324549_, Supplier<Ingredient> p_323845_, List<ArmorMaterial.Layer> p_323990_) Modifier and TypeMethodDescriptionvoid
ItemStack.forEachModifier
(EquipmentSlot p_332001_, BiConsumer<Holder<Attribute>, AttributeModifier> p_330882_) private static void
CreativeModeTabs.generatePresetPaintings
(CreativeModeTab.Output p_271007_, HolderLookup.RegistryLookup<PaintingVariant> p_270618_, Predicate<Holder<PaintingVariant>> p_270878_, CreativeModeTab.TabVisibility p_270261_) boolean
ModifierConstructorDescriptionAnimalArmorItem
(Holder<ArmorMaterial> p_323836_, AnimalArmorItem.BodyType p_324315_, boolean p_331679_, Item.Properties p_316341_) ArmorItem
(Holder<ArmorMaterial> p_323783_, ArmorItem.Type p_266831_, Item.Properties p_40388_) ArmorMaterial
(Map<ArmorItem.Type, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, Supplier<Ingredient> repairIngredient, List<ArmorMaterial.Layer> layers, float toughness, float knockbackResistance) Creates an instance of aArmorMaterial
record class.Instrument
(Holder<SoundEvent> soundEvent, int useDuration, float range) Creates an instance of aInstrument
record class.ItemStack
(Holder<Item> p_312081_, int p_41605_, DataComponentPatch p_330362_) -
Uses of Holder in net.minecraft.world.item.alchemy
Modifier and TypeFieldDescriptionPotions.AWKWARD
Potions.FIRE_RESISTANCE
PotionBrewing.Mix.from
The field for thefrom
record component.Potions.HARMING
Potions.HEALING
Potions.INFESTED
Potions.INVISIBILITY
Potions.LEAPING
Potions.LONG_FIRE_RESISTANCE
Potions.LONG_INVISIBILITY
Potions.LONG_LEAPING
Potions.LONG_NIGHT_VISION
Potions.LONG_POISON
Potions.LONG_REGENERATION
Potions.LONG_SLOW_FALLING
Potions.LONG_SLOWNESS
Potions.LONG_STRENGTH
Potions.LONG_SWIFTNESS
Potions.LONG_TURTLE_MASTER
Potions.LONG_WATER_BREATHING
Potions.LONG_WEAKNESS
Potions.LUCK
Potions.MUNDANE
Potions.NIGHT_VISION
Potions.OOZING
Potions.POISON
Potions.REGENERATION
Potions.SLOW_FALLING
Potions.SLOWNESS
Potions.STRENGTH
Potions.STRONG_HARMING
Potions.STRONG_HEALING
Potions.STRONG_LEAPING
Potions.STRONG_POISON
Potions.STRONG_REGENERATION
Potions.STRONG_SLOWNESS
Potions.STRONG_STRENGTH
Potions.STRONG_SWIFTNESS
Potions.STRONG_TURTLE_MASTER
Potions.SWIFTNESS
Potions.THICK
PotionBrewing.Mix.to
The field for theto
record component.Potions.TURTLE_MASTER
Potions.WATER
Potions.WATER_BREATHING
Potions.WEAKNESS
Potions.WEAVING
Potions.WIND_CHARGED
Modifier and TypeFieldDescriptionPotionContents.potion
The field for thepotion
record component.Modifier and TypeMethodDescriptionPotionBrewing.Mix.from()
Returns the value of thefrom
record component.PotionBrewing.Mix.to()
Returns the value of theto
record component.Modifier and TypeMethodDescriptionPotionContents.potion()
Returns the value of thepotion
record component.Modifier and TypeMethodDescriptionvoid
void
PotionBrewing.Builder.addStartMix
(Item p_341103_, Holder<Potion> p_341346_) static ItemStack
PotionContents.createItemStack
(Item p_330388_, Holder<Potion> p_331030_) static int
boolean
boolean
PotionBrewing.isBrewablePotion
(Holder<Potion> p_316354_) PotionContents.withPotion
(Holder<Potion> p_330288_) ModifierConstructorDescriptionCreates an instance of aMix
record class.PotionContents
(Holder<Potion> p_331208_) ModifierConstructorDescriptionPotionContents
(Optional<Holder<Potion>> potion, Optional<Integer> customColor, List<MobEffectInstance> customEffects) Creates an instance of aPotionContents
record class. -
Uses of Holder in net.minecraft.world.item.armortrim
Modifier and TypeFieldDescriptionTrimMaterial.ingredient
The field for theingredient
record component.private final Holder
<TrimMaterial> ArmorTrim.material
private final Holder
<TrimPattern> ArmorTrim.pattern
TrimPattern.templateItem
The field for thetemplateItem
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<TrimMaterial>> TrimMaterial.CODEC
static final com.mojang.serialization.Codec
<Holder<TrimPattern>> TrimPattern.CODEC
private final Function
<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.innerTexture
private final Function
<Holder<ArmorMaterial>, ResourceLocation> ArmorTrim.outerTexture
private final Map
<Holder<ArmorMaterial>, String> TrimMaterial.overrideArmorMaterials
The field for theoverrideArmorMaterials
record component.static final StreamCodec
<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<TrimPattern>> TrimPattern.STREAM_CODEC
Modifier and TypeMethodDescriptionTrimMaterial.ingredient()
Returns the value of theingredient
record component.ArmorTrim.material()
ArmorTrim.pattern()
TrimPattern.templateItem()
Returns the value of thetemplateItem
record component.Modifier and TypeMethodDescriptionTrimMaterial.overrideArmorMaterials()
Returns the value of theoverrideArmorMaterials
record component.Modifier and TypeMethodDescriptionTrimPattern.copyWithStyle
(Holder<TrimMaterial> p_266827_) private static String
ArmorTrim.getColorPaletteSuffix
(Holder<TrimMaterial> p_323989_, Holder<ArmorMaterial> p_335566_) boolean
ArmorTrim.hasPatternAndMaterial
(Holder<TrimPattern> p_266942_, Holder<TrimMaterial> p_267247_) ArmorTrim.innerTexture
(Holder<ArmorMaterial> p_324361_) ArmorTrim.outerTexture
(Holder<ArmorMaterial> p_323530_) Modifier and TypeMethodDescriptionstatic TrimMaterial
TrimMaterial.create
(String p_268108_, Item p_268361_, float p_268202_, Component p_268273_, Map<Holder<ArmorMaterial>, String> p_267977_) private static void
TrimMaterials.register
(BootstrapContext<TrimMaterial> p_321693_, ResourceKey<TrimMaterial> p_268139_, Item p_268311_, Style p_268232_, float p_268197_, Map<Holder<ArmorMaterial>, String> p_268352_) ModifierConstructorDescriptionArmorTrim
(Holder<TrimMaterial> p_267249_, Holder<TrimPattern> p_267212_) ArmorTrim
(Holder<TrimMaterial> p_331108_, Holder<TrimPattern> p_331731_, boolean p_331871_) private
ArmorTrim
(Holder<TrimMaterial> p_336069_, Holder<TrimPattern> p_335896_, boolean p_335621_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335613_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335818_) TrimMaterial
(String assetName, Holder<Item> ingredient, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials, Component description) Creates an instance of aTrimMaterial
record class.TrimPattern
(ResourceLocation assetId, Holder<Item> templateItem, Component description, boolean decal) Creates an instance of aTrimPattern
record class.ModifierConstructorDescriptionprivate
ArmorTrim
(Holder<TrimMaterial> p_336069_, Holder<TrimPattern> p_335896_, boolean p_335621_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335613_, Function<Holder<ArmorMaterial>, ResourceLocation> p_335818_) TrimMaterial
(String assetName, Holder<Item> ingredient, float itemModelIndex, Map<Holder<ArmorMaterial>, String> overrideArmorMaterials, Component description) Creates an instance of aTrimMaterial
record class. -
Uses of Holder in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionItemAttributeModifiers.Entry.attribute
The field for theattribute
record component.SuspiciousStewEffects.Entry.effect
The field for theeffect
record component.private final Holder
<MapDecorationType> MapDecorations.Entry.type
The field for thetype
record component.Modifier and TypeFieldDescriptionDebugStickState.properties
The field for theproperties
record component.Modifier and TypeMethodDescriptionItemAttributeModifiers.Entry.attribute()
Returns the value of theattribute
record component.SuspiciousStewEffects.Entry.effect()
Returns the value of theeffect
record component.MapDecorations.Entry.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionDebugStickState.properties()
Returns the value of theproperties
record component.Modifier and TypeMethodDescriptionItemAttributeModifiers.Builder.add
(Holder<Attribute> p_330324_, AttributeModifier p_331766_, EquipmentSlotGroup p_331205_) ItemAttributeModifiers.withModifierAdded
(Holder<Attribute> p_330266_, AttributeModifier p_331954_, EquipmentSlotGroup p_332175_) DebugStickState.withProperty
(Holder<Block> p_331264_, Property<?> p_330373_) Modifier and TypeMethodDescriptionvoid
ItemAttributeModifiers.forEach
(EquipmentSlot p_332158_, BiConsumer<Holder<Attribute>, AttributeModifier> p_331684_) ModifierConstructorDescriptionEntry
(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Creates an instance of aEntry
record class.Entry
(Holder<MapDecorationType> type, double x, double z, float rotation) Creates an instance of aEntry
record class.Creates an instance of aEntry
record class.ModifierConstructorDescriptionDebugStickState
(Map<Holder<Block>, Property<?>> properties) Creates an instance of aDebugStickState
record class. -
Uses of Holder in net.minecraft.world.item.enchantment
Modifier and TypeFieldDescription(package private) final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap
<Holder<Enchantment>> ItemEnchantments.enchantments
private final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap
<Holder<Enchantment>> ItemEnchantments.Mutable.enchantments
private static final com.mojang.serialization.Codec
<it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>>> ItemEnchantments.LEVELS_CODEC
Modifier and TypeMethodDescriptionSet
<it.unimi.dsi.fastutil.objects.Object2IntMap.Entry<Holder<Enchantment>>> ItemEnchantments.entrySet()
ItemEnchantments.keySet()
ItemEnchantments.Mutable.keySet()
Modifier and TypeMethodDescriptionstatic boolean
EnchantmentHelper.isEnchantmentCompatible
(Collection<Holder<Enchantment>> p_44860_, Enchantment p_44861_) void
ItemEnchantments.Mutable.removeIf
(Predicate<Holder<Enchantment>> p_332079_) ModifierConstructorDescription(package private)
ItemEnchantments
(it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>> p_341287_, boolean p_330219_) -
Uses of Holder in net.minecraft.world.item.trading
Modifier and TypeMethodDescriptionItemCost.item()
Returns the value of theitem
record component.Modifier and TypeMethodDescriptionprivate static ItemStack
ItemCost.createStack
(Holder<Item> p_331040_, int p_330313_, DataComponentPredicate p_331395_) ModifierConstructorDescriptionItemCost
(Holder<Item> p_330702_, int p_331182_, DataComponentPredicate p_331873_) ItemCost
(Holder<Item> item, int count, DataComponentPredicate components, ItemStack itemStack) Creates an instance of aItemCost
record class. -
Uses of Holder in net.minecraft.world.level
Modifier and TypeFieldDescriptionprivate final Holder
<DimensionType> private final Holder
<SoundEvent> Explosion.explosionSound
Modifier and TypeMethodDescriptionLevel.dimensionTypeRegistration()
Explosion.getExplosionSound()
LevelReader.getNoiseBiome
(int p_204163_, int p_204164_, int p_204165_) LevelReader.getUncachedNoiseBiome
(int p_204159_, int p_204160_, int p_204161_) Modifier and TypeMethodDescriptionLevel.explode
(Entity p_311934_, DamageSource p_312790_, ExplosionDamageCalculator p_311975_, double p_312493_, double p_312456_, double p_312719_, float p_312292_, boolean p_312144_, Level.ExplosionInteraction p_312265_, boolean p_312145_, ParticleOptions p_312842_, ParticleOptions p_312060_, Holder<SoundEvent> p_320283_) Level.explode
(Entity p_256233_, DamageSource p_255861_, ExplosionDamageCalculator p_255867_, double p_256447_, double p_255732_, double p_255717_, float p_256013_, boolean p_256228_, Level.ExplosionInteraction p_255784_, ParticleOptions p_311886_, ParticleOptions p_311887_, Holder<SoundEvent> p_320084_) default void
LevelAccessor.gameEvent
(Holder<GameEvent> p_316320_, BlockPos p_220409_, GameEvent.Context p_220410_) void
LevelAccessor.gameEvent
(Holder<GameEvent> p_316267_, Vec3 p_220405_, GameEvent.Context p_220406_) default void
default void
private static WeightedRandomList
<MobSpawnSettings.SpawnerData> NaturalSpawner.mobsAt
(ServerLevel p_220444_, StructureManager p_220445_, ChunkGenerator p_220446_, MobCategory p_220447_, BlockPos p_220448_, Holder<Biome> p_220449_) abstract void
Level.playSeededSound
(Player p_262953_, double p_263004_, double p_263398_, double p_263376_, Holder<SoundEvent> p_263359_, SoundSource p_263020_, float p_263055_, float p_262914_, long p_262991_) abstract void
Level.playSeededSound
(Player p_220372_, Entity p_220373_, Holder<SoundEvent> p_263500_, SoundSource p_220375_, float p_220376_, float p_220377_, long p_220378_) static void
NaturalSpawner.spawnMobsForChunkGeneration
(ServerLevelAccessor p_220451_, Holder<Biome> p_220452_, ChunkPos p_220453_, RandomSource p_220454_) Modifier and TypeMethodDescriptionStructureManager.getStructureWithPieceAt
(BlockPos p_220489_, Predicate<Holder<Structure>> p_332144_) ModifierConstructorDescriptionExplosion
(Level p_46051_, Entity p_46052_, double p_46055_, double p_46056_, double p_46057_, float p_46058_, List<BlockPos> p_312600_, Explosion.BlockInteraction p_46060_, ParticleOptions p_312560_, ParticleOptions p_312844_, Holder<SoundEvent> p_320054_) Explosion
(Level p_46024_, Entity p_46025_, DamageSource p_312268_, ExplosionDamageCalculator p_312205_, double p_46026_, double p_46027_, double p_46028_, float p_46029_, boolean p_312333_, Explosion.BlockInteraction p_312294_, ParticleOptions p_312158_, ParticleOptions p_311904_, Holder<SoundEvent> p_320270_) protected
Level
(WritableLevelData p_270739_, ResourceKey<Level> p_270683_, RegistryAccess p_270200_, Holder<DimensionType> p_270240_, Supplier<ProfilerFiller> p_270692_, boolean p_270904_, boolean p_270470_, long p_270248_, int p_270466_) -
Uses of Holder in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionTheEndBiomeSource.barrens
FixedBiomeSource.biome
TheEndBiomeSource.end
TheEndBiomeSource.highlands
TheEndBiomeSource.islands
TheEndBiomeSource.midlands
private final Holder
<SoundEvent> AmbientAdditionsSettings.soundEvent
private final Holder
<SoundEvent> AmbientMoodSettings.soundEvent
Modifier and TypeFieldDescriptionprivate final Optional
<Holder<SoundEvent>> BiomeSpecialEffects.ambientLoopSoundEvent
protected Optional
<Holder<SoundEvent>> BiomeSpecialEffects.Builder.ambientLoopSoundEvent
protected final Map
<GenerationStep.Carving, List<Holder<ConfiguredWorldCarver<?>>>> BiomeGenerationSettings.PlainBuilder.carvers
Biome.CODEC
static final com.mojang.serialization.Codec
<Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSourceParameterList.CODEC
static final com.mojang.serialization.MapCodec
<Climate.ParameterList<Holder<Biome>>> MultiNoiseBiomeSource.DIRECT_CODEC
MultiNoiseBiomeSource.ENTRY_CODEC
protected final List
<List<Holder<PlacedFeature>>> BiomeGenerationSettings.PlainBuilder.features
private final com.mojang.datafixers.util.Either
<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.parameters
private final com.mojang.datafixers.util.Either
<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.parameters
private final Climate.ParameterList
<Holder<Biome>> MultiNoiseBiomeSourceParameterList.parameters
BiomeSource.possibleBiomes
private static final com.mojang.serialization.MapCodec
<Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.PRESET_CODEC
Modifier and TypeMethodDescriptionBiomeManager.NoiseBiomeSource.getNoiseBiome
(int p_204218_, int p_204219_, int p_204220_) BiomeResolver.getNoiseBiome
(int p_204221_, int p_204222_, int p_204223_, Climate.Sampler p_204224_) BiomeSource.getNoiseBiome
(int p_204238_, int p_204239_, int p_204240_, Climate.Sampler p_204241_) CheckerboardColumnBiomeSource.getNoiseBiome
(int p_204248_, int p_204249_, int p_204250_, Climate.Sampler p_204251_) FixedBiomeSource.getNoiseBiome
(int p_204261_, int p_204262_, int p_204263_) FixedBiomeSource.getNoiseBiome
(int p_204265_, int p_204266_, int p_204267_, Climate.Sampler p_204268_) MultiNoiseBiomeSource.getNoiseBiome
(int p_204272_, int p_204273_, int p_204274_, Climate.Sampler p_204275_) MultiNoiseBiomeSource.getNoiseBiome
(Climate.TargetPoint p_204270_) TheEndBiomeSource.getNoiseBiome
(int p_204292_, int p_204293_, int p_204294_, Climate.Sampler p_204295_) BiomeManager.getNoiseBiomeAtPosition
(double p_204207_, double p_204208_, double p_204209_) BiomeManager.getNoiseBiomeAtPosition
(BlockPos p_204217_) BiomeManager.getNoiseBiomeAtQuart
(int p_204211_, int p_204212_, int p_204213_) AmbientAdditionsSettings.getSoundEvent()
AmbientMoodSettings.getSoundEvent()
Modifier and TypeMethodDescriptionBiomeSource.collectPossibleBiomes()
CheckerboardColumnBiomeSource.collectPossibleBiomes()
FixedBiomeSource.collectPossibleBiomes()
MultiNoiseBiomeSource.collectPossibleBiomes()
TheEndBiomeSource.collectPossibleBiomes()
BiomeSource.findBiomeHorizontal
(int p_220561_, int p_220562_, int p_220563_, int p_220564_, int p_220565_, Predicate<Holder<Biome>> p_220566_, RandomSource p_220567_, boolean p_220568_, Climate.Sampler p_220569_) BiomeSource.findBiomeHorizontal
(int p_220571_, int p_220572_, int p_220573_, int p_220574_, Predicate<Holder<Biome>> p_220575_, RandomSource p_220576_, Climate.Sampler p_220577_) FixedBiomeSource.findBiomeHorizontal
(int p_220640_, int p_220641_, int p_220642_, int p_220643_, int p_220644_, Predicate<Holder<Biome>> p_220645_, RandomSource p_220646_, boolean p_220647_, Climate.Sampler p_220648_) BiomeSource.findClosestBiome3d
(BlockPos p_220578_, int p_220579_, int p_220580_, int p_220581_, Predicate<Holder<Biome>> p_220582_, Climate.Sampler p_220583_, LevelReader p_220584_) FixedBiomeSource.findClosestBiome3d
(BlockPos p_220650_, int p_220651_, int p_220652_, int p_220653_, Predicate<Holder<Biome>> p_220654_, Climate.Sampler p_220655_, LevelReader p_220656_) Biome.getAmbientLoop()
BiomeSpecialEffects.getAmbientLoopSoundEvent()
BiomeSource.getBiomesWithin
(int p_186705_, int p_186706_, int p_186707_, int p_186708_, Climate.Sampler p_186709_) FixedBiomeSource.getBiomesWithin
(int p_187038_, int p_187039_, int p_187040_, int p_187041_, Climate.Sampler p_187042_) BiomeGenerationSettings.getCarvers
(GenerationStep.Carving p_204188_) private Climate.ParameterList
<Holder<Biome>> MultiNoiseBiomeSource.parameters()
MultiNoiseBiomeSourceParameterList.parameters()
BiomeSource.possibleBiomes()
Modifier and TypeMethodDescriptionBiomeGenerationSettings.PlainBuilder.addCarver
(GenerationStep.Carving p_256091_, Holder<ConfiguredWorldCarver<?>> p_256082_) BiomeGenerationSettings.PlainBuilder.addFeature
(int p_256305_, Holder<PlacedFeature> p_255636_) BiomeGenerationSettings.PlainBuilder.addFeature
(GenerationStep.Decoration p_256360_, Holder<PlacedFeature> p_256577_) BiomeSpecialEffects.Builder.ambientLoopSound
(Holder<SoundEvent> p_263327_) static MultiNoiseBiomeSource
MultiNoiseBiomeSource.createFromPreset
(Holder<MultiNoiseBiomeSourceParameterList> p_275250_) Modifier and TypeMethodDescriptionstatic MultiNoiseBiomeSource
MultiNoiseBiomeSource.createFromList
(Climate.ParameterList<Holder<Biome>> p_275223_) BiomeSource.findBiomeHorizontal
(int p_220561_, int p_220562_, int p_220563_, int p_220564_, int p_220565_, Predicate<Holder<Biome>> p_220566_, RandomSource p_220567_, boolean p_220568_, Climate.Sampler p_220569_) BiomeSource.findBiomeHorizontal
(int p_220571_, int p_220572_, int p_220573_, int p_220574_, Predicate<Holder<Biome>> p_220575_, RandomSource p_220576_, Climate.Sampler p_220577_) FixedBiomeSource.findBiomeHorizontal
(int p_220640_, int p_220641_, int p_220642_, int p_220643_, int p_220644_, Predicate<Holder<Biome>> p_220645_, RandomSource p_220646_, boolean p_220647_, Climate.Sampler p_220648_) BiomeSource.findClosestBiome3d
(BlockPos p_220578_, int p_220579_, int p_220580_, int p_220581_, Predicate<Holder<Biome>> p_220582_, Climate.Sampler p_220583_, LevelReader p_220584_) FixedBiomeSource.findClosestBiome3d
(BlockPos p_220650_, int p_220651_, int p_220652_, int p_220653_, Predicate<Holder<Biome>> p_220654_, Climate.Sampler p_220655_, LevelReader p_220656_) ModifierConstructorDescriptionAmbientAdditionsSettings
(Holder<SoundEvent> p_263329_, double p_263326_) AmbientMoodSettings
(Holder<SoundEvent> p_263350_, int p_263364_, int p_263333_, double p_263345_) FixedBiomeSource
(Holder<Biome> p_204257_) private
TheEndBiomeSource
(Holder<Biome> p_220678_, Holder<Biome> p_220679_, Holder<Biome> p_220680_, Holder<Biome> p_220681_, Holder<Biome> p_220682_) ModifierConstructorDescriptionprivate
MultiNoiseBiomeSource
(com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> p_275370_) private
MultiNoiseBiomeSource
(com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> p_275370_) -
Uses of Holder in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprivate Optional
<? extends Holder<ConfiguredFeature<?, ?>>> FungusBlock.getFeature
(LevelReader p_256589_) Modifier and TypeMethodDescriptionprotected static SuspiciousStewEffects
FlowerBlock.makeEffectList
(Holder<MobEffect> p_316817_, float p_332817_) ModifierConstructorDescriptionFlowerBlock
(Holder<MobEffect> p_316154_, float p_332744_, BlockBehaviour.Properties p_53514_) WitherRoseBlock
(Holder<MobEffect> p_316323_, float p_332767_, BlockBehaviour.Properties p_304869_) -
Uses of Holder in net.minecraft.world.level.block.entity
Modifier and TypeFieldDescriptionprivate final Holder
<BannerPattern> BannerPatternLayers.Layer.pattern
The field for thepattern
record component.BeaconBlockEntity.primaryPower
BeaconBlockEntity.secondaryPower
Modifier and TypeFieldDescriptionBeaconBlockEntity.BEACON_EFFECTS
static final com.mojang.serialization.Codec
<Holder<BannerPattern>> BannerPattern.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<BannerPattern>> BannerPattern.STREAM_CODEC
BeaconBlockEntity.VALID_EFFECTS
Modifier and TypeMethodDescriptionBeaconBlockEntity.filterEffect
(Holder<MobEffect> p_316372_) BeaconBlockEntity.loadEffect
(CompoundTag p_298570_, String p_299310_) BannerPatternLayers.Layer.pattern()
Returns the value of thepattern
record component.Modifier and TypeMethodDescriptionBannerPatternLayers.Builder.add
(Holder<BannerPattern> p_330325_, DyeColor p_330891_) private static void
BeaconBlockEntity.applyEffects
(Level p_155098_, BlockPos p_155099_, int p_155100_, Holder<MobEffect> p_316599_, Holder<MobEffect> p_316343_) boolean
CalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_282061_, BlockPos p_282550_, Holder<GameEvent> p_316545_, GameEvent.Context p_281456_) boolean
SculkSensorBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_282127_, BlockPos p_283268_, Holder<GameEvent> p_316115_, GameEvent.Context p_282856_) boolean
SculkShriekerBlockEntity.VibrationUser.canReceiveVibration
(ServerLevel p_281256_, BlockPos p_281528_, Holder<GameEvent> p_316788_, GameEvent.Context p_282914_) BeaconBlockEntity.filterEffect
(Holder<MobEffect> p_316372_) boolean
SculkCatalystBlockEntity.CatalystListener.handleGameEvent
(ServerLevel p_283470_, Holder<GameEvent> p_316661_, GameEvent.Context p_283014_, Vec3 p_282350_) void
SculkSensorBlockEntity.VibrationUser.onReceiveVibration
(ServerLevel p_282851_, BlockPos p_281608_, Holder<GameEvent> p_316423_, Entity p_282123_, Entity p_283090_, float p_283130_) void
SculkShriekerBlockEntity.VibrationUser.onReceiveVibration
(ServerLevel p_283372_, BlockPos p_281679_, Holder<GameEvent> p_316155_, Entity p_282286_, Entity p_281384_, float p_283119_) private static void
BeaconBlockEntity.storeEffect
(CompoundTag p_298214_, String p_298983_, Holder<MobEffect> p_316689_) ModifierConstructorDescriptionLayer
(Holder<BannerPattern> pattern, DyeColor color) Creates an instance of aLayer
record class. -
Uses of Holder in net.minecraft.world.level.block.state
-
Uses of Holder in net.minecraft.world.level.block.state.properties
ModifierConstructorDescriptionprivate
NoteBlockInstrument
(String p_263425_, Holder<SoundEvent> p_263341_, NoteBlockInstrument.Type p_263322_) -
Uses of Holder in net.minecraft.world.level.chunk
Modifier and TypeFieldDescriptionprivate PalettedContainerRO
<Holder<Biome>> LevelChunkSection.biomes
private final Function
<Holder<Biome>, BiomeGenerationSettings> ChunkGenerator.generationSettingsGetter
private final List
<Holder<StructureSet>> ChunkGeneratorStructureState.possibleStructureSets
Modifier and TypeMethodDescriptionChunkAccess.getNoiseBiome
(int p_204347_, int p_204348_, int p_204349_) EmptyLevelChunk.getNoiseBiome
(int p_204426_, int p_204427_, int p_204428_) ImposterProtoChunk.getNoiseBiome
(int p_204430_, int p_204431_, int p_204432_) LevelChunkSection.getNoiseBiome
(int p_204434_, int p_204435_, int p_204436_) ProtoChunk.getNoiseBiome
(int p_204450_, int p_204451_, int p_204452_) Modifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure
(ServerLevel p_223038_, HolderSet<Structure> p_223039_, BlockPos p_223040_, int p_223041_, boolean p_223042_) LevelChunkSection.getBiomes()
ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223182_, ServerLevel p_223183_, StructureManager p_223184_, BlockPos p_223185_, boolean p_223186_, ConcentricRingsStructurePlacement p_223187_) ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223189_, LevelReader p_223190_, StructureManager p_223191_, int p_223192_, int p_223193_, int p_223194_, boolean p_223195_, long p_223196_, RandomSpreadStructurePlacement p_223197_) ChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) ChunkGeneratorStructureState.possibleStructureSets()
Modifier and TypeMethodDescriptionprivate CompletableFuture
<List<ChunkPos>> ChunkGeneratorStructureState.generateRingPositions
(Holder<StructureSet> p_255966_, ConcentricRingsStructurePlacement p_255744_) ChunkGenerator.getBiomeGenerationSettings
(Holder<Biome> p_223132_) Deprecated.ChunkGenerator.getMobsAt
(Holder<Biome> p_223134_, StructureManager p_223135_, MobCategory p_223136_, BlockPos p_223137_) ChunkGeneratorStructureState.getPlacementsForStructure
(Holder<Structure> p_256494_) boolean
ChunkGeneratorStructureState.hasStructureChunkInRange
(Holder<StructureSet> p_256489_, int p_256593_, int p_256115_, int p_256619_) Modifier and TypeMethodDescriptionstatic ChunkGeneratorStructureState
ChunkGeneratorStructureState.createForFlat
(RandomState p_256240_, long p_256404_, BiomeSource p_256274_, Stream<Holder<StructureSet>> p_256348_) ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223182_, ServerLevel p_223183_, StructureManager p_223184_, BlockPos p_223185_, boolean p_223186_, ConcentricRingsStructurePlacement p_223187_) ChunkGenerator.getNearestGeneratedStructure
(Set<Holder<Structure>> p_223189_, LevelReader p_223190_, StructureManager p_223191_, int p_223192_, int p_223193_, int p_223194_, boolean p_223195_, long p_223196_, RandomSpreadStructurePlacement p_223197_) ChunkGenerator.getStructureGeneratingAt
(Set<Holder<Structure>> p_223199_, LevelReader p_223200_, StructureManager p_223201_, boolean p_223202_, StructurePlacement p_223203_, ChunkPos p_223204_) ModifierConstructorDescriptionEmptyLevelChunk
(Level p_204422_, ChunkPos p_204423_, Holder<Biome> p_204424_) ModifierConstructorDescriptionChunkGenerator
(BiomeSource p_255838_, Function<Holder<Biome>, BiomeGenerationSettings> p_256216_) private
ChunkGeneratorStructureState
(RandomState p_256401_, BiomeSource p_255742_, long p_256615_, long p_255979_, List<Holder<StructureSet>> p_256237_) LevelChunkSection
(PalettedContainer<BlockState> p_282846_, PalettedContainerRO<Holder<Biome>> p_281695_) -
Uses of Holder in net.minecraft.world.level.chunk.storage
Modifier and TypeMethodDescriptionprivate static com.mojang.serialization.Codec
<PalettedContainerRO<Holder<Biome>>> ChunkSerializer.makeBiomeCodec
(Registry<Biome> p_188261_) -
Uses of Holder in net.minecraft.world.level.dimension
Modifier and TypeFieldDescriptionprivate final Holder
<DimensionType> LevelStem.type
The field for thetype
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<DimensionType>> DimensionType.CODEC
Modifier and TypeMethodDescriptionLevelStem.type()
Returns the value of thetype
record component.ModifierConstructorDescriptionLevelStem
(Holder<DimensionType> type, ChunkGenerator generator) Creates an instance of aLevelStem
record class. -
Uses of Holder in net.minecraft.world.level.gameevent
Modifier and TypeMethodDescriptionboolean
GameEventListener.handleGameEvent
(ServerLevel p_223757_, Holder<GameEvent> p_316739_, GameEvent.Context p_249681_, Vec3 p_251048_) void
GameEventDispatcher.post
(Holder<GameEvent> p_316151_, Vec3 p_250613_, GameEvent.Context p_251777_) boolean
EuclideanGameEventListenerRegistry.visitInRangeListeners
(Holder<GameEvent> p_316862_, Vec3 p_251445_, GameEvent.Context p_252317_, GameEventListenerRegistry.ListenerVisitor p_251422_) boolean
GameEventListenerRegistry.visitInRangeListeners
(Holder<GameEvent> p_316434_, Vec3 p_249144_, GameEvent.Context p_249328_, GameEventListenerRegistry.ListenerVisitor p_250123_) ModifierConstructorDescriptionListenerInfo
(Holder<GameEvent> p_316198_, Vec3 p_249118_, GameEvent.Context p_251196_, GameEventListener p_251701_, Vec3 p_248854_) -
Uses of Holder in net.minecraft.world.level.gameevent.vibrations
Modifier and TypeFieldDescriptionVibrationInfo.gameEvent
The field for thegameEvent
record component.Modifier and TypeMethodDescriptionVibrationInfo.gameEvent()
Returns the value of thegameEvent
record component.Modifier and TypeMethodDescriptionboolean
VibrationSystem.User.canReceiveVibration
(ServerLevel p_282960_, BlockPos p_282488_, Holder<GameEvent> p_316319_, GameEvent.Context p_283577_) void
VibrationSystem.Listener.forceScheduleVibration
(ServerLevel p_282808_, Holder<GameEvent> p_316321_, GameEvent.Context p_281652_, Vec3 p_281530_) static int
VibrationSystem.getGameEventFrequency
(Holder<GameEvent> p_316300_) boolean
VibrationSystem.Listener.handleGameEvent
(ServerLevel p_282254_, Holder<GameEvent> p_316513_, GameEvent.Context p_283664_, Vec3 p_282426_) default boolean
VibrationSystem.User.isValidVibration
(Holder<GameEvent> p_316804_, GameEvent.Context p_283373_) void
VibrationSystem.User.onReceiveVibration
(ServerLevel p_282148_, BlockPos p_282090_, Holder<GameEvent> p_316773_, Entity p_281578_, Entity p_281308_, float p_281707_) private void
VibrationSystem.Listener.scheduleVibration
(ServerLevel p_282037_, VibrationSystem.Data p_283229_, Holder<GameEvent> p_316858_, GameEvent.Context p_283344_, Vec3 p_281758_, Vec3 p_282990_) ModifierConstructorDescriptionVibrationInfo
(Holder<GameEvent> p_316546_, float p_251086_, Vec3 p_250935_, UUID p_316193_, UUID p_316157_) VibrationInfo
(Holder<GameEvent> gameEvent, float distance, Vec3 pos, UUID uuid, UUID projectileOwnerUuid, Entity entity) Creates an instance of aVibrationInfo
record class.VibrationInfo
(Holder<GameEvent> p_316851_, float p_250190_, Vec3 p_251692_, Entity p_316868_) -
Uses of Holder in net.minecraft.world.level.levelgen
Modifier and TypeFieldDescriptionprivate final Holder
<DensityFunction> DensityFunctions.HolderHolder.function
The field for thefunction
record component.private final Holder
<DensityFunction> DensityFunctions.Spline.Coordinate.function
The field for thefunction
record component.private final Holder
<NormalNoise.NoiseParameters> DensityFunction.NoiseHolder.noiseData
The field for thenoiseData
record component.private final Holder
<NoiseGeneratorSettings> NoiseBasedChunkGenerator.settings
Modifier and TypeFieldDescriptionSurfaceRules.Context.biome
SurfaceRules.Context.biomeGetter
static final com.mojang.serialization.Codec
<Holder<DensityFunction>> DensityFunction.CODEC
static final com.mojang.serialization.Codec
<Holder<NoiseGeneratorSettings>> NoiseGeneratorSettings.CODEC
Modifier and TypeMethodDescriptionstatic Holder
<? extends DensityFunction> NoiseRouterData.bootstrap
(BootstrapContext<DensityFunction> p_321740_) DensityFunctions.HolderHolder.function()
Returns the value of thefunction
record component.DensityFunctions.Spline.Coordinate.function()
Returns the value of thefunction
record component.NoiseBasedChunkGenerator.generatorSettings()
DensityFunction.NoiseHolder.noiseData()
Returns the value of thenoiseData
record component.Modifier and TypeMethodDescriptionstatic DensityFunction
DensityFunctions.mappedNoise
(Holder<NormalNoise.NoiseParameters> p_208328_, double p_208329_, double p_208330_) static DensityFunction
DensityFunctions.mappedNoise
(Holder<NormalNoise.NoiseParameters> p_208332_, double p_208333_, double p_208334_, double p_208335_) static DensityFunction
DensityFunctions.mappedNoise
(Holder<NormalNoise.NoiseParameters> p_208337_, double p_208338_, double p_208339_, double p_208340_, double p_208341_) static DensityFunction
DensityFunctions.noise
(Holder<NormalNoise.NoiseParameters> p_208323_) static DensityFunction
DensityFunctions.noise
(Holder<NormalNoise.NoiseParameters> p_208325_, double p_208326_) static DensityFunction
DensityFunctions.noise
(Holder<NormalNoise.NoiseParameters> p_208369_, double p_208370_, double p_208371_) private static void
NoiseRouterData.registerTerrainNoises
(BootstrapContext<DensityFunction> p_321572_, HolderGetter<DensityFunction> p_256393_, DensityFunction p_224476_, Holder<DensityFunction> p_224477_, Holder<DensityFunction> p_224478_, ResourceKey<DensityFunction> p_224479_, ResourceKey<DensityFunction> p_224480_, ResourceKey<DensityFunction> p_224481_, ResourceKey<DensityFunction> p_224482_, ResourceKey<DensityFunction> p_224483_, boolean p_224484_) static DensityFunction
DensityFunctions.shift
(Holder<NormalNoise.NoiseParameters> p_208386_) static DensityFunction
DensityFunctions.shiftA
(Holder<NormalNoise.NoiseParameters> p_208367_) static DensityFunction
DensityFunctions.shiftB
(Holder<NormalNoise.NoiseParameters> p_208379_) static DensityFunction
DensityFunctions.shiftedNoise2d
(DensityFunction p_208297_, DensityFunction p_208298_, double p_208299_, Holder<NormalNoise.NoiseParameters> p_208300_) static DensityFunction
DensityFunctions.weirdScaledSampler
(DensityFunction p_208316_, Holder<NormalNoise.NoiseParameters> p_208317_, DensityFunctions.WeirdScaledSampler.RarityValueMapper p_208318_) static Map
<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld
(Map<ResourceKey<LevelStem>, LevelStem> p_326287_, Holder<DimensionType> p_326403_, ChunkGenerator p_251737_) Modifier and TypeMethodDescriptionSurfaceSystem.topMaterial
(SurfaceRules.RuleSource p_189972_, CarvingContext p_189973_, Function<BlockPos, Holder<Biome>> p_189974_, ChunkAccess p_189975_, NoiseChunk p_189976_, BlockPos p_189977_, boolean p_189978_) Deprecated.ModifierConstructorDescriptionCoordinate
(Holder<DensityFunction> function) Creates an instance of aCoordinate
record class.HolderHolder
(Holder<DensityFunction> function) Creates an instance of aHolderHolder
record class.NoiseBasedChunkGenerator
(BiomeSource p_256415_, Holder<NoiseGeneratorSettings> p_256182_) NoiseHolder
(Holder<NormalNoise.NoiseParameters> p_224001_) NoiseHolder
(Holder<NormalNoise.NoiseParameters> noiseData, NormalNoise noise) Creates an instance of aNoiseHolder
record class.ModifierConstructorDescriptionprotected
Context
(SurfaceSystem p_224616_, RandomState p_224617_, ChunkAccess p_224618_, NoiseChunk p_224619_, Function<BlockPos, Holder<Biome>> p_224620_, Registry<Biome> p_224621_, WorldGenerationContext p_224622_) -
Uses of Holder in net.minecraft.world.level.levelgen.blending
Modifier and TypeMethodDescriptionBlender.blendBiome
(int p_224707_, int p_224708_, int p_224709_) Modifier and TypeMethodDescriptionBlendingData.getBiomeColumn
(ChunkAccess p_224758_, int p_224759_, int p_224760_) -
Uses of Holder in net.minecraft.world.level.levelgen.carver
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<ConfiguredWorldCarver<?>>> ConfiguredWorldCarver.CODEC
Modifier and TypeMethodDescriptionboolean
CanyonWorldCarver.carve
(CarvingContext p_224813_, CanyonCarverConfiguration p_224814_, ChunkAccess p_224815_, Function<BlockPos, Holder<Biome>> p_224816_, RandomSource p_224817_, Aquifer p_224818_, ChunkPos p_224819_, CarvingMask p_224820_) boolean
CaveWorldCarver.carve
(CarvingContext p_224885_, CaveCarverConfiguration p_224886_, ChunkAccess p_224887_, Function<BlockPos, Holder<Biome>> p_224888_, RandomSource p_224889_, Aquifer p_224890_, ChunkPos p_224891_, CarvingMask p_224892_) boolean
ConfiguredWorldCarver.carve
(CarvingContext p_224899_, ChunkAccess p_224900_, Function<BlockPos, Holder<Biome>> p_224901_, RandomSource p_224902_, Aquifer p_224903_, ChunkPos p_224904_, CarvingMask p_224905_) abstract boolean
WorldCarver.carve
(CarvingContext p_224913_, C p_224914_, ChunkAccess p_224915_, Function<BlockPos, Holder<Biome>> p_224916_, RandomSource p_224917_, Aquifer p_224918_, ChunkPos p_224919_, CarvingMask p_224920_) protected boolean
NetherWorldCarver.carveBlock
(CarvingContext p_190731_, CaveCarverConfiguration p_190732_, ChunkAccess p_190733_, Function<BlockPos, Holder<Biome>> p_190734_, CarvingMask p_190735_, BlockPos.MutableBlockPos p_190736_, BlockPos.MutableBlockPos p_190737_, Aquifer p_190738_, org.apache.commons.lang3.mutable.MutableBoolean p_190739_) protected boolean
WorldCarver.carveBlock
(CarvingContext p_190744_, C p_190745_, ChunkAccess p_190746_, Function<BlockPos, Holder<Biome>> p_190747_, CarvingMask p_190748_, BlockPos.MutableBlockPos p_190749_, BlockPos.MutableBlockPos p_190750_, Aquifer p_190751_, org.apache.commons.lang3.mutable.MutableBoolean p_190752_) protected boolean
WorldCarver.carveEllipsoid
(CarvingContext p_190754_, C p_190755_, ChunkAccess p_190756_, Function<BlockPos, Holder<Biome>> p_190757_, Aquifer p_190758_, double p_190759_, double p_190760_, double p_190761_, double p_190762_, double p_190763_, CarvingMask p_190764_, WorldCarver.CarveSkipChecker p_190765_) protected void
CaveWorldCarver.createRoom
(CarvingContext p_190691_, CaveCarverConfiguration p_190692_, ChunkAccess p_190693_, Function<BlockPos, Holder<Biome>> p_190694_, Aquifer p_190695_, double p_190696_, double p_190697_, double p_190698_, float p_190699_, double p_190700_, CarvingMask p_190701_, WorldCarver.CarveSkipChecker p_190702_) protected void
CaveWorldCarver.createTunnel
(CarvingContext p_190671_, CaveCarverConfiguration p_190672_, ChunkAccess p_190673_, Function<BlockPos, Holder<Biome>> p_190674_, long p_190675_, Aquifer p_190676_, double p_190677_, double p_190678_, double p_190679_, double p_190680_, double p_190681_, float p_190682_, float p_190683_, float p_190684_, int p_190685_, int p_190686_, double p_190687_, CarvingMask p_190688_, WorldCarver.CarveSkipChecker p_190689_) private void
CanyonWorldCarver.doCarve
(CarvingContext p_190594_, CanyonCarverConfiguration p_190595_, ChunkAccess p_190596_, Function<BlockPos, Holder<Biome>> p_190597_, long p_190598_, Aquifer p_190599_, double p_190600_, double p_190601_, double p_190602_, float p_190603_, float p_190604_, float p_190605_, int p_190606_, int p_190607_, double p_190608_, CarvingMask p_190609_) CarvingContext.topMaterial
(Function<BlockPos, Holder<Biome>> p_190647_, ChunkAccess p_190648_, BlockPos p_190649_, boolean p_190650_) Deprecated. -
Uses of Holder in net.minecraft.world.level.levelgen.feature
Modifier and TypeFieldDescriptionfinal Holder
<PlacedFeature> WeightedPlacedFeature.feature
final Holder
<StructureProcessorList> FossilFeatureConfiguration.fossilProcessors
final Holder
<StructureProcessorList> FossilFeatureConfiguration.overlayProcessors
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<ConfiguredFeature<?, ?>>> ConfiguredFeature.CODEC
ModifierConstructorDescriptionFossilFeatureConfiguration
(List<ResourceLocation> p_204751_, List<ResourceLocation> p_204752_, Holder<StructureProcessorList> p_204753_, Holder<StructureProcessorList> p_204754_, int p_204755_) WeightedPlacedFeature
(Holder<PlacedFeature> p_204786_, float p_204787_) -
Uses of Holder in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeFieldDescriptionfinal Holder
<PlacedFeature> RandomFeatureConfiguration.defaultFeature
private final Holder
<PlacedFeature> RandomPatchConfiguration.feature
The field for thefeature
record component.final Holder
<PlacedFeature> RandomBooleanFeatureConfiguration.featureFalse
final Holder
<PlacedFeature> RandomBooleanFeatureConfiguration.featureTrue
final Holder
<PlacedFeature> RootSystemConfiguration.treeFeature
final Holder
<PlacedFeature> VegetationPatchConfiguration.vegetationFeature
Modifier and TypeMethodDescriptionRandomPatchConfiguration.feature()
Returns the value of thefeature
record component.ModifierConstructorDescriptionRandomBooleanFeatureConfiguration
(Holder<PlacedFeature> p_204804_, Holder<PlacedFeature> p_204805_) RandomFeatureConfiguration
(List<WeightedPlacedFeature> p_204811_, Holder<PlacedFeature> p_204812_) RandomPatchConfiguration
(int tries, int xzSpread, int ySpread, Holder<PlacedFeature> feature) Creates an instance of aRandomPatchConfiguration
record class.RootSystemConfiguration
(Holder<PlacedFeature> p_204824_, int p_204825_, int p_204826_, TagKey<Block> p_204827_, BlockStateProvider p_204828_, int p_204829_, int p_204830_, int p_204831_, int p_204832_, BlockStateProvider p_204833_, int p_204834_, int p_204835_, BlockPredicate p_204836_) VegetationPatchConfiguration
(TagKey<Block> p_204856_, BlockStateProvider p_204857_, Holder<PlacedFeature> p_204858_, CaveSurface p_204859_, IntProvider p_204860_, float p_204861_, int p_204862_, float p_204863_, IntProvider p_204864_, float p_204865_) -
Uses of Holder in net.minecraft.world.level.levelgen.flat
Modifier and TypeFieldDescriptionFlatLevelGeneratorSettings.biome
FlatLevelGeneratorPreset.displayItem
The field for thedisplayItem
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<FlatLevelGeneratorPreset>> FlatLevelGeneratorPreset.CODEC
private final List
<Holder<PlacedFeature>> FlatLevelGeneratorSettings.lakes
Modifier and TypeMethodDescriptionFlatLevelGeneratorPreset.displayItem()
Returns the value of thedisplayItem
record component.FlatLevelGeneratorSettings.getBiome()
FlatLevelGeneratorSettings.getBiome
(Optional<? extends Holder<Biome>> p_256142_, Holder<Biome> p_256475_) FlatLevelGeneratorSettings.getDefaultBiome
(HolderGetter<Biome> p_256645_) Modifier and TypeMethodDescriptionstatic List
<Holder<PlacedFeature>> FlatLevelGeneratorSettings.createLakesList
(HolderGetter<PlacedFeature> p_256282_) Modifier and TypeMethodDescriptionFlatLevelGeneratorSettings.adjustGenerationSettings
(Holder<Biome> p_226295_) FlatLevelGeneratorSettings.getBiome
(Optional<? extends Holder<Biome>> p_256142_, Holder<Biome> p_256475_) FlatLevelGeneratorSettings.withBiomeAndLayers
(List<FlatLayerInfo> p_256587_, Optional<HolderSet<StructureSet>> p_256500_, Holder<Biome> p_256598_) Modifier and TypeMethodDescriptionFlatLevelGeneratorSettings.getBiome
(Optional<? extends Holder<Biome>> p_256142_, Holder<Biome> p_256475_) ModifierConstructorDescriptionFlatLevelGeneratorPreset
(Holder<Item> displayItem, FlatLevelGeneratorSettings settings) Creates an instance of aFlatLevelGeneratorPreset
record class.private
FlatLevelGeneratorSettings
(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_) FlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_256029_, Holder<Biome> p_256190_, List<Holder<PlacedFeature>> p_255960_) ModifierConstructorDescriptionFlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_256029_, Holder<Biome> p_256190_, List<Holder<PlacedFeature>> p_255960_) -
Uses of Holder in net.minecraft.world.level.levelgen.placement
Modifier and TypeFieldDescriptionprivate final Holder
<ConfiguredFeature<?, ?>> PlacedFeature.feature
The field for thefeature
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<PlacedFeature>> PlacedFeature.CODEC
Modifier and TypeMethodDescriptionHolder
<ConfiguredFeature<?, ?>> PlacedFeature.feature()
Returns the value of thefeature
record component.ModifierConstructorDescriptionPlacedFeature
(Holder<ConfiguredFeature<?, ?>> feature, List<PlacementModifier> placement) Creates an instance of aPlacedFeature
record class. -
Uses of Holder in net.minecraft.world.level.levelgen.presets
Modifier and TypeFieldDescriptionprivate final Holder
<DimensionType> WorldPresets.Bootstrap.overworldDimensionType
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<WorldPreset>> WorldPreset.CODEC
Modifier and TypeMethodDescriptionprivate LevelStem
WorldPresets.Bootstrap.makeNoiseBasedOverworld
(BiomeSource p_226485_, Holder<NoiseGeneratorSettings> p_226486_) -
Uses of Holder in net.minecraft.world.level.levelgen.structure
Modifier and TypeFieldDescriptionStructureSet.StructureSelectionEntry.structure
The field for thestructure
record component.Modifier and TypeFieldDescriptionStructure.CODEC
static final com.mojang.serialization.Codec
<Holder<StructureSet>> StructureSet.CODEC
Structure.GenerationContext.validBiome
The field for thevalidBiome
record component.Modifier and TypeMethodDescriptionStructureSet.StructureSelectionEntry.structure()
Returns the value of thestructure
record component.Modifier and TypeMethodDescriptionStructure.GenerationContext.validBiome()
Returns the value of thevalidBiome
record component.Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionStructure.generate
(RegistryAccess p_226597_, ChunkGenerator p_226598_, BiomeSource p_226599_, RandomState p_226600_, StructureTemplateManager p_226601_, long p_226602_, ChunkPos p_226603_, int p_226604_, LevelHeightAccessor p_226605_, Predicate<Holder<Biome>> p_226606_) ModifierConstructorDescriptionStructureSelectionEntry
(Holder<Structure> structure, int weight) Creates an instance of aStructureSelectionEntry
record class.StructureSet
(Holder<Structure> p_210007_, StructurePlacement p_210008_) ModifierConstructorDescriptionGenerationContext
(RegistryAccess p_226632_, ChunkGenerator p_226633_, BiomeSource p_226634_, RandomState p_226635_, StructureTemplateManager p_226636_, long p_226637_, ChunkPos p_226638_, LevelHeightAccessor p_226639_, Predicate<Holder<Biome>> p_226640_) GenerationContext
(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, StructureTemplateManager structureTemplateManager, WorldgenRandom random, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Creates an instance of aGenerationContext
record class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pieces
Modifier and TypeFieldDescriptionPieceGeneratorSupplier.Context.validBiome
The field for thevalidBiome
record component.Modifier and TypeMethodDescriptionPieceGeneratorSupplier.Context.validBiome()
Returns the value of thevalidBiome
record component.ModifierConstructorDescriptionContext
(ChunkGenerator chunkGenerator, BiomeSource biomeSource, RandomState randomState, long seed, ChunkPos chunkPos, C config, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome, StructureTemplateManager structureTemplateManager, RegistryAccess registryAccess) Creates an instance of aContext
record class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.placement
Modifier and TypeFieldDescriptionprivate final Holder
<StructureSet> StructurePlacement.ExclusionZone.otherSet
Deprecated.The field for theotherSet
record component.Modifier and TypeMethodDescriptionStructurePlacement.ExclusionZone.otherSet()
Deprecated.Returns the value of theotherSet
record component.ModifierConstructorDescriptionExclusionZone
(Holder<StructureSet> otherSet, int chunkCount) Deprecated.Creates an instance of aExclusionZone
record class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pools
Modifier and TypeFieldDescriptionprivate static final Holder
<StructureProcessorList> StructurePoolElement.EMPTY
private final Holder
<StructureTemplatePool> StructureTemplatePool.fallback
private final Holder
<PlacedFeature> FeaturePoolElement.feature
protected final Holder
<StructureProcessorList> SinglePoolElement.processors
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<StructureTemplatePool>> StructureTemplatePool.CODEC
private static final org.apache.commons.lang3.mutable.MutableObject
<com.mojang.serialization.Codec<Holder<StructureTemplatePool>>> StructureTemplatePool.CODEC_REFERENCE
Modifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E, Holder<StructureProcessorList>> SinglePoolElement.processorsCodec()
Modifier and TypeMethodDescriptionstatic Optional
<Structure.GenerationStub> JigsawPlacement.addPieces
(Structure.GenerationContext p_227239_, Holder<StructureTemplatePool> p_227240_, Optional<ResourceLocation> p_227241_, int p_227242_, BlockPos p_227243_, boolean p_227244_, Optional<Heightmap.Types> p_227245_, int p_227246_, PoolAliasLookup p_307522_) StructurePoolElement.feature
(Holder<PlacedFeature> p_210503_) static boolean
JigsawPlacement.generateJigsaw
(ServerLevel p_227204_, Holder<StructureTemplatePool> p_227205_, ResourceLocation p_227206_, int p_227207_, BlockPos p_227208_, boolean p_227209_) StructurePoolElement.legacy
(String p_210513_, Holder<StructureProcessorList> p_210514_) StructurePoolElement.single
(String p_210532_, Holder<StructureProcessorList> p_210533_) ModifierConstructorDescriptionprotected
FeaturePoolElement
(Holder<PlacedFeature> p_210209_, StructureTemplatePool.Projection p_210210_) protected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210348_, Holder<StructureProcessorList> p_210349_, StructureTemplatePool.Projection p_210350_) protected
SinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210415_, Holder<StructureProcessorList> p_210416_, StructureTemplatePool.Projection p_210417_) StructureTemplatePool
(Holder<StructureTemplatePool> p_255795_, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>> p_256083_, StructureTemplatePool.Projection p_255642_) StructureTemplatePool
(Holder<StructureTemplatePool> p_255747_, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> p_255919_) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pools.alias
Modifier and TypeMethodDescriptionstatic void
PoolAliasBindings.registerTargetsAsPools
(BootstrapContext<StructureTemplatePool> p_321695_, Holder<StructureTemplatePool> p_312865_, List<PoolAliasBinding> p_311809_) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.structures
Modifier and TypeFieldDescriptionprivate final Holder
<StructureTemplatePool> JigsawStructure.startPool
Modifier and TypeMethodDescriptionprivate static boolean
ModifierConstructorDescriptionJigsawStructure
(Structure.StructureSettings p_227614_, Holder<StructureTemplatePool> p_227615_, int p_227616_, HeightProvider p_227617_, boolean p_227618_) JigsawStructure
(Structure.StructureSettings p_227620_, Holder<StructureTemplatePool> p_227621_, int p_227622_, HeightProvider p_227623_, boolean p_227624_, Heightmap.Types p_227625_) JigsawStructure
(Structure.StructureSettings p_227627_, Holder<StructureTemplatePool> p_227628_, Optional<ResourceLocation> p_227629_, int p_227630_, HeightProvider p_227631_, boolean p_227632_, Optional<Heightmap.Types> p_227633_, int p_227634_, List<PoolAliasBinding> p_307354_) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.templatesystem
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<StructureProcessorList>> StructureProcessorType.LIST_CODEC
-
Uses of Holder in net.minecraft.world.level.levelgen.synth
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<NormalNoise.NoiseParameters>> NormalNoise.NoiseParameters.CODEC
-
Uses of Holder in net.minecraft.world.level.material
-
Uses of Holder in net.minecraft.world.level.saveddata.maps
Modifier and TypeFieldDescriptionstatic final Holder
<MapDecorationType> MapDecorationTypes.BLACK_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.BLUE_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.BLUE_MARKER
static final Holder
<MapDecorationType> MapDecorationTypes.BROWN_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.CYAN_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.DESERT_VILLAGE
static final Holder
<MapDecorationType> MapDecorationTypes.FRAME
static final Holder
<MapDecorationType> MapDecorationTypes.GRAY_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.GREEN_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.JUNGLE_TEMPLE
static final Holder
<MapDecorationType> MapDecorationTypes.LIGHT_BLUE_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.LIGHT_GRAY_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.LIME_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.MAGENTA_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.OCEAN_MONUMENT
static final Holder
<MapDecorationType> MapDecorationTypes.ORANGE_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.PINK_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.PLAINS_VILLAGE
static final Holder
<MapDecorationType> MapDecorationTypes.PLAYER
static final Holder
<MapDecorationType> MapDecorationTypes.PLAYER_OFF_LIMITS
static final Holder
<MapDecorationType> MapDecorationTypes.PLAYER_OFF_MAP
static final Holder
<MapDecorationType> MapDecorationTypes.PURPLE_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.RED_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.RED_MARKER
static final Holder
<MapDecorationType> MapDecorationTypes.RED_X
static final Holder
<MapDecorationType> MapDecorationTypes.SAVANNA_VILLAGE
static final Holder
<MapDecorationType> MapDecorationTypes.SNOWY_VILLAGE
static final Holder
<MapDecorationType> MapDecorationTypes.SWAMP_HUT
static final Holder
<MapDecorationType> MapDecorationTypes.TAIGA_VILLAGE
static final Holder
<MapDecorationType> MapDecorationTypes.TARGET_POINT
static final Holder
<MapDecorationType> MapDecorationTypes.TARGET_X
static final Holder
<MapDecorationType> MapDecorationTypes.TRIAL_CHAMBERS
private final Holder
<MapDecorationType> MapDecoration.type
The field for thetype
record component.static final Holder
<MapDecorationType> MapDecorationTypes.WHITE_BANNER
static final Holder
<MapDecorationType> MapDecorationTypes.WOODLAND_MANSION
static final Holder
<MapDecorationType> MapDecorationTypes.YELLOW_BANNER
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<MapDecorationType>> MapDecorationType.CODEC
static final StreamCodec
<RegistryFriendlyByteBuf, Holder<MapDecorationType>> MapDecorationType.STREAM_CODEC
Modifier and TypeMethodDescriptionstatic Holder
<MapDecorationType> MapDecorationTypes.bootstrap
(Registry<MapDecorationType> p_336048_) MapBanner.getDecoration()
private static Holder
<MapDecorationType> MapDecorationTypes.register
(String p_335808_, String p_336081_, boolean p_335910_, boolean p_335576_) private static Holder
<MapDecorationType> MapDecorationTypes.register
(String p_335821_, String p_335761_, boolean p_336130_, int p_336016_, boolean p_335829_, boolean p_335765_) MapDecoration.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionprivate void
MapItemSavedData.addDecoration
(Holder<MapDecorationType> p_335830_, LevelAccessor p_77939_, String p_77940_, double p_77941_, double p_77942_, double p_77943_, Component p_77944_) static void
MapItemSavedData.addTargetDecoration
(ItemStack p_77926_, BlockPos p_77927_, String p_77928_, Holder<MapDecorationType> p_335759_) ModifierConstructorDescriptionMapDecoration
(Holder<MapDecorationType> type, byte x, byte y, byte rot, Optional<Component> name) Creates an instance of aMapDecoration
record class. -
Uses of Holder in net.minecraft.world.level.storage.loot
-
Uses of Holder in net.minecraft.world.level.storage.loot.entries
ModifierConstructorDescriptionprivate
LootItem
(Holder<Item> p_298423_, int p_79567_, int p_79568_, List<LootItemCondition> p_299249_, List<LootItemFunction> p_299128_) -
Uses of Holder in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescriptionSetAttributesFunction.Modifier.attribute
The field for theattribute
record component.SetAttributesFunction.ModifierBuilder.attribute
CopyBlockState.block
CopyBlockState.Builder.block
static final Holder
<MapDecorationType> ExplorationMapFunction.DEFAULT_DECORATION
SetStewEffectFunction.EffectEntry.effect
The field for theeffect
record component.private final Holder
<Enchantment> ApplyBonusCount.enchantment
SetItemFunction.item
private Holder
<MapDecorationType> ExplorationMapFunction.Builder.mapDecoration
private final Holder
<MapDecorationType> ExplorationMapFunction.mapDecoration
SetPotionFunction.potion
private final Holder
<BlockEntityType<?>> SetContainerLootTable.type
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<LootItemFunction>> LootItemFunctions.CODEC
private final List
<Holder<Enchantment>> EnchantRandomlyFunction.Builder.enchantments
private final com.google.common.collect.ImmutableMap.Builder
<Holder<Enchantment>, NumberProvider> SetEnchantmentsFunction.Builder.enchantments
private final Map
<Holder<Enchantment>, NumberProvider> SetEnchantmentsFunction.enchantments
Modifier and TypeMethodDescriptionSetAttributesFunction.Modifier.attribute()
Returns the value of theattribute
record component.SetStewEffectFunction.EffectEntry.effect()
Returns the value of theeffect
record component.Modifier and TypeMethodDescriptionSetBannerPatternFunction.Builder.addPattern
(Holder<BannerPattern> p_230999_, DyeColor p_231000_) SetAttributesFunction.modifier
(String p_165236_, Holder<Attribute> p_298306_, AttributeModifier.Operation p_165238_, NumberProvider p_165239_) ExplorationMapFunction.Builder.setMapDecoration
(Holder<MapDecorationType> p_335871_) static LootItemConditionalFunction.Builder
<?> SetStewEffectFunction.Builder.withEffect
(Holder<MobEffect> p_316210_, NumberProvider p_165474_) ModifierConstructorDescriptionprivate
ApplyBonusCount
(List<LootItemCondition> p_298532_, Holder<Enchantment> p_298797_, ApplyBonusCount.Formula p_79905_) private
CopyBlockState
(List<LootItemCondition> p_298279_, Holder<Block> p_299047_, List<String> p_298632_) (package private)
CopyBlockState
(List<LootItemCondition> p_298625_, Holder<Block> p_298940_, Set<Property<?>> p_80052_) (package private)
EffectEntry
(Holder<MobEffect> effect, NumberProvider duration) Creates an instance of aEffectEntry
record class.(package private)
ExplorationMapFunction
(List<LootItemCondition> p_298451_, TagKey<Structure> p_210653_, Holder<MapDecorationType> p_336106_, byte p_210655_, int p_210656_, boolean p_210657_) (package private)
Modifier
(String name, Holder<Attribute> attribute, AttributeModifier.Operation operation, NumberProvider amount, List<EquipmentSlotGroup> slots, Optional<UUID> id) Creates an instance of aModifier
record class.ModifierBuilder
(String p_165263_, Holder<Attribute> p_298853_, AttributeModifier.Operation p_165265_, NumberProvider p_165266_) private
SetContainerLootTable
(List<LootItemCondition> p_298290_, ResourceKey<LootTable> p_335525_, long p_193047_, Holder<BlockEntityType<?>> p_298416_) private
SetItemFunction
(List<LootItemCondition> p_340855_, Holder<Item> p_341008_) private
SetPotionFunction
(List<LootItemCondition> p_299010_, Holder<Potion> p_298587_) ModifierConstructorDescription(package private)
SetEnchantmentsFunction
(List<LootItemCondition> p_299192_, Map<Holder<Enchantment>, NumberProvider> p_165338_, boolean p_165339_) -
Uses of Holder in net.minecraft.world.level.storage.loot.predicates
Modifier and TypeFieldDescriptionLootItemBlockStatePropertyCondition.block
The field for theblock
record component.LootItemBlockStatePropertyCondition.Builder.block
private final Holder
<Enchantment> BonusLevelTableCondition.enchantment
The field for theenchantment
record component.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<LootItemCondition>> LootItemConditions.CODEC
Modifier and TypeMethodDescriptionLootItemBlockStatePropertyCondition.block()
Returns the value of theblock
record component.BonusLevelTableCondition.enchantment()
Returns the value of theenchantment
record component.ModifierConstructorDescriptionBonusLevelTableCondition
(Holder<Enchantment> enchantment, List<Float> values) Creates an instance of aBonusLevelTableCondition
record class.LootItemBlockStatePropertyCondition
(Holder<Block> block, Optional<StatePropertiesPredicate> properties) Creates an instance of aLootItemBlockStatePropertyCondition
record class. -
Uses of Holder in net.neoforged.neoforge.common
Modifier and TypeFieldDescriptionstatic final Holder
<HolderSetType> NeoForgeMod.AND_HOLDER_SET
Stock holder set type that represents an intersection of other holdersets.static final Holder
<HolderSetType> NeoForgeMod.ANY_HOLDER_SET
Stock holder set type that represents any/all values in a registry.NeoForgeMod.CREATIVE_FLIGHT
Grants the player the ability to use creative flight when not in creative mode.NeoForgeMod.EMPTY_TYPE
private static final Holder
<ArgumentTypeInfo<?, ?>> NeoForgeMod.ENUM_COMMAND_ARGUMENT_TYPE
NeoForgeMod.LAVA_TYPE
NeoForgeMod.NAMETAG_DISTANCE
static final Holder
<HolderSetType> NeoForgeMod.NOT_HOLDER_SET
Stock holder set type that represents all values in a registry except those in another given set.static final Holder
<HolderSetType> NeoForgeMod.OR_HOLDER_SET
Stock holder set type that represents a union of other holdersets.NeoForgeMod.SWIM_SPEED
NeoForgeMod.WATER_TYPE
Modifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap
<Holder<Attribute>, AttributeModifier> CommonHooks.getAttributeModifiers
(ItemStack stack, EquipmentSlot equipmentSlot, com.google.common.collect.Multimap<Holder<Attribute>, AttributeModifier> attributes) Hook to fireItemAttributeModifierEvent
.Modifier and TypeMethodDescriptionstatic boolean
CommonHooks.onVanillaGameEvent
(Level level, Holder<GameEvent> vanillaEvent, Vec3 pos, GameEvent.Context context) Modifier and TypeMethodDescriptionstatic com.google.common.collect.Multimap
<Holder<Attribute>, AttributeModifier> CommonHooks.getAttributeModifiers
(ItemStack stack, EquipmentSlot equipmentSlot, com.google.common.collect.Multimap<Holder<Attribute>, AttributeModifier> attributes) Hook to fireItemAttributeModifierEvent
. -
Uses of Holder in net.neoforged.neoforge.common.conditions
Modifier and TypeFieldDescriptionprivate @Nullable Map
<ResourceKey<?>, Map<ResourceLocation, Collection<Holder<?>>>> ConditionContext.loadedTags
Modifier and TypeMethodDescription<T> Map
<ResourceLocation, Collection<Holder<T>>> ConditionContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) <T> Map
<ResourceLocation, Collection<Holder<T>>> ICondition.IContext.getAllTags
(ResourceKey<? extends Registry<T>> registry) Return all the loaded tags for the passed registry, or an empty map if none is available.default <T> Collection
<Holder<T>> Return the requested tag if available, or an empty tag otherwise. -
Uses of Holder in net.neoforged.neoforge.common.crafting
Modifier and TypeMethodDescriptionstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentMap map, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentPredicate predicate, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given components -
Uses of Holder in net.neoforged.neoforge.common.data
Modifier and TypeMethodDescriptionDataMapProvider.Builder.add
(Holder<R> object, T value, boolean replace, ICondition... conditions) -
Uses of Holder in net.neoforged.neoforge.common.extensions
Modifier and TypeMethodDescriptiondefault com.google.common.collect.Multimap
<Holder<Attribute>, AttributeModifier> IItemStackExtension.getAttributeModifiers
(EquipmentSlot equipmentSlot) Returns the attribute modifiers for the given equipment slot. -
Uses of Holder in net.neoforged.neoforge.common.world
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<Holder<BiomeModifier>> BiomeModifier.REFERENCE_CODEC
Codec for referring to biome modifiers by id in other datapack registry files.static final com.mojang.serialization.Codec
<Holder<StructureModifier>> StructureModifier.REFERENCE_CODEC
Codec for referring to structure modifiers by id in other datapack registry files.Modifier and TypeMethodDescriptionBiomeSpecialEffectsBuilder.getAmbientLoopSound()
BiomeGenerationSettingsBuilder.getCarvers
(GenerationStep.Carving stage) BiomeGenerationSettingsBuilder.getFeatures
(GenerationStep.Decoration stage) Modifier and TypeMethodDescriptionvoid
ModifiableBiomeInfo.applyBiomeModifiers
(Holder<Biome> biome, List<BiomeModifier> biomeModifiers) Internal forge method; the game will crash if mods invoke this.void
ModifiableStructureInfo.applyStructureModifiers
(Holder<Structure> structure, List<StructureModifier> structureModifiers) Internal forge method; the game will crash if mods invoke this.void
BiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) Modifies the information via the provided biome builder.void
BiomeModifiers.AddCarversBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
BiomeModifiers.AddFeaturesBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
BiomeModifiers.AddSpawnCostsBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
BiomeModifiers.AddSpawnsBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
BiomeModifiers.RemoveCarversBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
BiomeModifiers.RemoveFeaturesBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
BiomeModifiers.RemoveSpawnCostsBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
BiomeModifiers.RemoveSpawnsBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
NoneBiomeModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
NoneStructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) void
StructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) Modifies the information via the provided structure builder.void
StructureModifiers.AddSpawnsStructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) void
StructureModifiers.ClearSpawnsStructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) void
StructureModifiers.RemoveSpawnsStructureModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) -
Uses of Holder in net.neoforged.neoforge.event
Modifier and TypeFieldDescriptionprivate Holder
<SoundEvent> PlayLevelSoundEvent.sound
VanillaGameEvent.vanillaEvent
Modifier and TypeFieldDescriptionprivate @Nullable com.google.common.collect.Multimap
<Holder<Attribute>, AttributeModifier> ItemAttributeModifierEvent.modifiableModifiers
private final com.google.common.collect.Multimap
<Holder<Attribute>, AttributeModifier> ItemAttributeModifierEvent.originalModifiers
private com.google.common.collect.Multimap
<Holder<Attribute>, AttributeModifier> ItemAttributeModifierEvent.unmodifiableModifiers
Modifier and TypeMethodDescription@Nullable Holder
<SoundEvent> PlayLevelSoundEvent.getSound()
Returns the sound event to be played.VanillaGameEvent.getVanillaEvent()
Modifier and TypeMethodDescriptionprivate com.google.common.collect.Multimap
<Holder<Attribute>, AttributeModifier> ItemAttributeModifierEvent.getModifiableMap()
Gets a modifiable map instance, creating it if the current map is currently unmodifiablecom.google.common.collect.Multimap
<Holder<Attribute>, AttributeModifier> ItemAttributeModifierEvent.getModifiers()
Returns an unmodifiable view of the attribute multimap.com.google.common.collect.Multimap
<Holder<Attribute>, AttributeModifier> ItemAttributeModifierEvent.getOriginalModifiers()
Returns the attribute map before any changes from other event listeners was made.Modifier and TypeMethodDescriptionboolean
ItemAttributeModifierEvent.addModifier
(Holder<Attribute> attribute, AttributeModifier modifier) Adds a new attribute modifier to the given stack.static BlockGrowFeatureEvent
EventHooks.fireBlockGrowFeature
(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> holder) Fires theBlockGrowFeatureEvent
and returns the event object.static boolean
EventHooks.onEffectRemoved
(LivingEntity entity, Holder<MobEffect> effect, @Nullable EffectCure cure) static PlayLevelSoundEvent.AtEntity
EventHooks.onPlaySoundAtEntity
(Entity entity, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) EventHooks.onPlaySoundAtPosition
(Level level, double x, double y, double z, Holder<SoundEvent> name, SoundSource category, float volume, float pitch) ItemAttributeModifierEvent.removeAttribute
(Holder<Attribute> attribute) Removes all modifiers for the given attributeboolean
ItemAttributeModifierEvent.removeModifier
(Holder<Attribute> attribute, AttributeModifier modifier) Removes a single modifier for the given attributevoid
PlayLevelSoundEvent.setSound
(@Nullable Holder<SoundEvent> sound) Sets the sound event to be played.ModifierConstructorDescriptionAtEntity
(Entity entity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) AtPosition
(Level level, Vec3 position, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) PlayLevelSoundEvent
(Level level, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) VanillaGameEvent
(Level level, Holder<GameEvent> vanillaEvent, Vec3 position, GameEvent.Context context) ModifierConstructorDescriptionItemAttributeModifierEvent
(ItemStack stack, EquipmentSlot slotType, com.google.common.collect.Multimap<Holder<Attribute>, AttributeModifier> modifiers) -
Uses of Holder in net.neoforged.neoforge.event.entity
Modifier and TypeMethodDescriptionvoid
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) void
EntityAttributeModificationEvent.add
(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute, double value) boolean
EntityAttributeModificationEvent.has
(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) -
Uses of Holder in net.neoforged.neoforge.event.entity.living
ModifierConstructorDescriptionRemove
(LivingEntity living, Holder<MobEffect> effect, @Nullable EffectCure cure) -
Uses of Holder in net.neoforged.neoforge.event.level
Modifier and TypeFieldDescriptionprivate @Nullable Holder
<ConfiguredFeature<?, ?>> BlockGrowFeatureEvent.feature
Modifier and TypeMethodDescription@Nullable Holder
<ConfiguredFeature<?, ?>> BlockGrowFeatureEvent.getFeature()
Returns the holder of the feature which will be placed, possibly null.Modifier and TypeMethodDescriptionvoid
BlockGrowFeatureEvent.setFeature
(@Nullable Holder<ConfiguredFeature<?, ?>> feature) Changes the feature that will be grown.ModifierConstructorDescriptionBlockGrowFeatureEvent
(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<ConfiguredFeature<?, ?>> feature) -
Uses of Holder in net.neoforged.neoforge.fluids
Modifier and TypeMethodDescriptionFluidStack.getFluidHolder()
SimpleFluidContent.getFluidHolder()
Modifier and TypeMethodDescriptionboolean
boolean
Modifier and TypeMethodDescriptionboolean
boolean
ModifierConstructorDescriptionFluidStack
(Holder<Fluid> fluid, int amount) FluidStack
(Holder<Fluid> fluid, int amount, DataComponentPatch patch) -
Uses of Holder in net.neoforged.neoforge.fluids.crafting
Modifier and TypeMethodDescriptionstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentMap map, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentPredicate predicate, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
-
Uses of Holder in net.neoforged.neoforge.oldtest.block
-
Uses of Holder in net.neoforged.neoforge.oldtest.client
Modifier and TypeFieldDescriptionAmbientOcclusionElementsTest.AO_BLOCK_NO_SHADE
AmbientOcclusionElementsTest.AO_BLOCK_SHADE
AmbientOcclusionElementsTest.NO_AO_BLOCK_NO_SHADE
AmbientOcclusionElementsTest.NO_AO_BLOCK_SHADE
CustomSpriteSourceTest.TEST_ITEM
ModifierConstructorDescriptionEndermanArmorItem
(Holder<ArmorMaterial> material, ArmorItem.Type slot, Item.Properties props) TintedArmorItem
(Holder<ArmorMaterial> material, ArmorItem.Type slot, Item.Properties props) -
Uses of Holder in net.neoforged.neoforge.oldtest.fluid
-
Uses of Holder in net.neoforged.neoforge.oldtest.world
Modifier and TypeMethodDescriptionvoid
BiomeModifierTest.TestModifier.modify
(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) void
StructureModifierTest.TestModifier.modify
(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) -
Uses of Holder in net.neoforged.neoforge.registries
Modifier and TypeClassDescriptionclass
DeferredBlock<T extends Block>
class
DeferredHolder<R,
T extends R> A Deferred Holder is aHolder
that is constructed with only a ResourceKey.class
DeferredItem<T extends Item>
Modifier and TypeFieldDescription(package private) static final Map
<BlockState, Holder<PoiType>> NeoForgeRegistryCallbacks.PoiTypeCallbacks.BLOCKSTATE_TO_POI_TYPE_MAP
Modifier and TypeMethodDescriptionstatic Map
<BlockState, Holder<PoiType>> GameData.getBlockStatePointOfInterestTypeMap()
Modifier and TypeMethodDescriptionboolean
Deprecated.DeferredRegister.Items.registerSimpleBlockItem
(Holder<Block> block) Adds a new simpleBlockItem
for the givenBlock
to the list of entries to be registered and returns aDeferredItem
that will be populated with the created item automatically.DeferredRegister.Items.registerSimpleBlockItem
(Holder<Block> block, Item.Properties properties) Adds a new simpleBlockItem
for the givenBlock
to the list of entries to be registered and returns aDeferredItem
that will be populated with the created item automatically. -
Uses of Holder in net.neoforged.neoforge.registries.holdersets
Modifier and TypeFieldDescriptionCompositeHolderSet.list
NotHolderSet.list
CompositeHolderSet.set
Modifier and TypeMethodDescriptionAnyHolderSet.get
(int i) CompositeHolderSet.get
(int i) NotHolderSet.get
(int i) Modifier and TypeMethodDescriptionAndHolderSet.createSet()
CompositeHolderSet.createSet()
Returns immutable Set of Holders given this composite holderset's component holdersets.OrHolderSet.createSet()
CompositeHolderSet.getList()
NotHolderSet.getList()
AnyHolderSet.getRandomElement
(RandomSource random) CompositeHolderSet.getRandomElement
(RandomSource rand) NotHolderSet.getRandomElement
(RandomSource random) CompositeHolderSet.getSet()
AnyHolderSet.iterator()
CompositeHolderSet.iterator()
NotHolderSet.iterator()
AnyHolderSet.stream()
CompositeHolderSet.stream()
NotHolderSet.stream()
AnyHolderSet.unwrap()
CompositeHolderSet.unwrap()
NotHolderSet.unwrap()
Modifier and TypeMethodDescriptionboolean
boolean
boolean
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> AndHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> AnyHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> NotHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) static <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> OrHolderSet.codec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec
<? extends ICustomHolderSet<T>> HolderSetType.makeCodec
(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) -
Uses of Holder in net.neoforged.testframework.gametest
Modifier and TypeMethodDescription<E extends LivingEntity>
voidExtendedGameTestHelper.assertMobEffectAbsent
(E entity, Holder<MobEffect> effect, String testName) <E extends LivingEntity>
voidExtendedGameTestHelper.assertMobEffectPresent
(E entity, Holder<MobEffect> effect, String testName) -
Uses of Holder in net.neoforged.testframework.registration
Modifier and TypeClassDescriptionclass
DeferredBlockBuilder<T extends Block>
class
DeferredEntityTypeBuilder<E extends Entity,
T extends EntityType<E>> class
DeferredItemBuilder<I extends Item>
Modifier and TypeMethodDescriptionDeferredItems.registerSimpleBlockItem
(Holder<Block> block) DeferredItems.registerSimpleBlockItem
(Holder<Block> block, Item.Properties properties)