Uses of Interface
net.minecraft.core.Holder
Packages that use Holder
Package
Description
Classes for NeoForge's own data generation.
-
Uses of Holder in net.minecraft.advancements
Fields in net.minecraft.advancements with type parameters of type HolderModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<Holder<LootTable>> AdvancementRewards.Builder.lootMethods in net.minecraft.advancements with parameters of type HolderModifier and TypeMethodDescriptionAdvancementRewards.Builder.addLootTable(Holder<LootTable> id) static AdvancementRewards.Builder -
Uses of Holder in net.minecraft.advancements.predicates
Fields in net.minecraft.advancements.predicates with type parameters of type HolderModifier and TypeFieldDescriptionprivate final ImmutableMap.Builder<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.Builder.effectMapprivate final Map<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> MobEffectsPredicate.effectMapThe field for theeffectMaprecord component.static final StreamCodec<RegistryFriendlyByteBuf, Map<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate>> MobEffectsPredicate.MobEffectInstancePredicate.MAP_STREAM_CODECMethods in net.minecraft.advancements.predicates that return types with arguments of type HolderModifier and TypeMethodDescriptionMobEffectsPredicate.effectMap()Returns the value of theeffectMaprecord component.Methods in net.minecraft.advancements.predicates with parameters of type HolderModifier and TypeMethodDescriptionMobEffectsPredicate.Builder.and(Holder<MobEffect> effect, MobEffectsPredicate.MobEffectInstancePredicate predicate) static LocationPredicate.Builderstatic LocationPredicate.BuilderLocationPredicate.Builder.inStructure(Holder<Structure> structure) booleanprivate booleanEnchantmentPredicate.matchesEnchantment(ItemEnchantments itemEnchantments, Holder<Enchantment> enchantment) Method parameters in net.minecraft.advancements.predicates with type arguments of type HolderModifier and TypeMethodDescriptionbooleanMobEffectsPredicate.matches(Map<Holder<MobEffect>, MobEffectInstance> effects) Constructors in net.minecraft.advancements.predicates with parameters of type HolderModifierConstructorDescriptionEnchantmentPredicate(Holder<Enchantment> enchantment, MinMaxBounds.Ints level) Constructor parameters in net.minecraft.advancements.predicates with type arguments of type HolderModifierConstructorDescriptionMobEffectsPredicate(Map<Holder<MobEffect>, MobEffectsPredicate.MobEffectInstancePredicate> effectMap) Creates an instance of aMobEffectsPredicaterecord class. -
Uses of Holder in net.minecraft.advancements.predicates.entity
Fields in net.minecraft.advancements.predicates.entity declared as HolderModifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.valueThe field for thevaluerecord component.Methods in net.minecraft.advancements.predicates.entity that return HolderModifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.value()Returns the value of thevaluerecord component.static Holder<LootItemCondition> EntityPredicate.wrap(EntityPredicate singlePredicate) static Holder<LootItemCondition> EntityPredicate.wrap(EntityPredicate.Builder singlePredicate) Methods in net.minecraft.advancements.predicates.entity that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic Optional<Holder<LootItemCondition>> EntityPredicate.wrap(Optional<EntityPredicate> singlePredicate) static List<Holder<LootItemCondition>> EntityPredicate.wrap(EntityPredicate.Builder... predicates) Methods in net.minecraft.advancements.predicates.entity with parameters of type HolderModifier and TypeMethodDescriptionbooleanEntityTypePredicate.matches(Holder<EntityType<?>> type) Constructors in net.minecraft.advancements.predicates.entity with parameters of type HolderModifierConstructorDescriptionStatMatcher(StatType<T> type, Holder<T> value, MinMaxBounds.Ints range) privateStatMatcher(StatType<T> type, Holder<T> value, MinMaxBounds.Ints range, Supplier<Stat<T>> stat) Creates an instance of aStatMatcherrecord class. -
Uses of Holder in net.minecraft.advancements.triggers
Fields in net.minecraft.advancements.triggers with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<LootItemCondition>> LightningStrikeTrigger.TriggerInstance.bystanderThe field for thebystanderrecord component.private final Optional<Holder<LootItemCondition>> FallAfterExplosionTrigger.TriggerInstance.causeThe field for thecauserecord component.private final Optional<Holder<LootItemCondition>> BredAnimalsTrigger.TriggerInstance.childThe field for thechildrecord component.private final Optional<Holder<LootItemCondition>> FishingRodHookedTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<Holder<LootItemCondition>> KilledTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<Holder<LootItemCondition>> PickedUpItemTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<Holder<LootItemCondition>> PlayerHurtEntityTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<Holder<LootItemCondition>> PlayerInteractTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<Holder<LootItemCondition>> SummonedEntityTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<Holder<LootItemCondition>> TameAnimalTrigger.TriggerInstance.entityThe field for theentityrecord component.private final Optional<Holder<LootItemCondition>> LightningStrikeTrigger.TriggerInstance.lightningThe field for thelightningrecord component.private final Optional<Holder<LootItemCondition>> AnyBlockInteractionTrigger.TriggerInstance.locationThe field for thelocationrecord component.private final Optional<Holder<LootItemCondition>> DefaultBlockInteractionTrigger.TriggerInstance.locationThe field for thelocationrecord component.private final Optional<Holder<LootItemCondition>> ItemUsedOnLocationTrigger.TriggerInstance.locationThe field for thelocationrecord component.private final Optional<Holder<LootItemCondition>> BredAnimalsTrigger.TriggerInstance.parentThe field for theparentrecord component.private final Optional<Holder<LootItemCondition>> BredAnimalsTrigger.TriggerInstance.partnerThe field for thepartnerrecord component.private final Optional<Holder<LootItemCondition>> AnyBlockInteractionTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> BeeNestDestroyedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> BredAnimalsTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> BrewedPotionTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> ChangeDimensionTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> ChanneledLightningTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> ConstructBeaconTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> ConsumeItemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> CuredZombieVillagerTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> DefaultBlockInteractionTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> DistanceTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> EffectsChangedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> EnchantedItemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> EnterBlockTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> EntityHurtPlayerTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> FallAfterExplosionTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> FilledBucketTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> FishingRodHookedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> InventoryChangeTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> ItemDurabilityTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> ItemUsedOnLocationTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> KilledByArrowTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> KilledTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> LevitationTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> LightningStrikeTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> LootTableTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> PickedUpItemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> PlayerHurtEntityTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> PlayerInteractTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> PlayerTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> RecipeCraftedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> RecipeUnlockedTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> ShotCrossbowTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> SlideDownBlockTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> SpearMobsTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> StartRidingTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> SummonedEntityTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> TameAnimalTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> TargetBlockTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> TradeTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> UsedEnderEyeTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> UsedTotemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> UsingItemTrigger.TriggerInstance.playerThe field for theplayerrecord component.private final Optional<Holder<LootItemCondition>> TargetBlockTrigger.TriggerInstance.projectileThe field for theprojectilerecord component.private final Optional<Holder<LootItemCondition>> EffectsChangedTrigger.TriggerInstance.sourceThe field for thesourcerecord component.private final List<Holder<LootItemCondition>> ChanneledLightningTrigger.TriggerInstance.victimsThe field for thevictimsrecord component.private final List<Holder<LootItemCondition>> KilledByArrowTrigger.TriggerInstance.victimsThe field for thevictimsrecord component.private final Optional<Holder<LootItemCondition>> CuredZombieVillagerTrigger.TriggerInstance.villagerThe field for thevillagerrecord component.private final Optional<Holder<LootItemCondition>> TradeTrigger.TriggerInstance.villagerThe field for thevillagerrecord component.private final Optional<Holder<LootItemCondition>> CuredZombieVillagerTrigger.TriggerInstance.zombieThe field for thezombierecord component.Methods in net.minecraft.advancements.triggers that return types with arguments of type HolderModifier and TypeMethodDescriptionLightningStrikeTrigger.TriggerInstance.bystander()Returns the value of thebystanderrecord component.FallAfterExplosionTrigger.TriggerInstance.cause()Returns the value of thecauserecord component.BredAnimalsTrigger.TriggerInstance.child()Returns the value of thechildrecord component.FishingRodHookedTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.KilledTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.PickedUpItemTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.PlayerHurtEntityTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.PlayerInteractTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.SummonedEntityTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.TameAnimalTrigger.TriggerInstance.entity()Returns the value of theentityrecord component.LightningStrikeTrigger.TriggerInstance.lightning()Returns the value of thelightningrecord component.AnyBlockInteractionTrigger.TriggerInstance.location()Returns the value of thelocationrecord component.DefaultBlockInteractionTrigger.TriggerInstance.location()Returns the value of thelocationrecord component.ItemUsedOnLocationTrigger.TriggerInstance.location()Returns the value of thelocationrecord component.BredAnimalsTrigger.TriggerInstance.parent()Returns the value of theparentrecord component.BredAnimalsTrigger.TriggerInstance.partner()Returns the value of thepartnerrecord component.AnyBlockInteractionTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.BeeNestDestroyedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.BredAnimalsTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.BrewedPotionTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ChangeDimensionTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ChanneledLightningTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ConstructBeaconTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ConsumeItemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.CuredZombieVillagerTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.DefaultBlockInteractionTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.DistanceTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.EffectsChangedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.EnchantedItemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.EnterBlockTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.EntityHurtPlayerTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.FallAfterExplosionTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.FilledBucketTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.FishingRodHookedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.InventoryChangeTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ItemDurabilityTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ItemUsedOnLocationTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.KilledByArrowTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.KilledTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.LevitationTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.LightningStrikeTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.LootTableTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.PickedUpItemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.PlayerHurtEntityTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.PlayerInteractTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.PlayerTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.RecipeCraftedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.RecipeUnlockedTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.ShotCrossbowTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.SimpleCriterionTrigger.SimpleInstance.player()SlideDownBlockTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.SpearMobsTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.StartRidingTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.SummonedEntityTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.TameAnimalTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.TargetBlockTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.TradeTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.UsedEnderEyeTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.UsedTotemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.UsingItemTrigger.TriggerInstance.player()Returns the value of theplayerrecord component.TargetBlockTrigger.TriggerInstance.projectile()Returns the value of theprojectilerecord component.EffectsChangedTrigger.TriggerInstance.source()Returns the value of thesourcerecord component.ChanneledLightningTrigger.TriggerInstance.victims()Returns the value of thevictimsrecord component.KilledByArrowTrigger.TriggerInstance.victims()Returns the value of thevictimsrecord component.CuredZombieVillagerTrigger.TriggerInstance.villager()Returns the value of thevillagerrecord component.TradeTrigger.TriggerInstance.villager()Returns the value of thevillagerrecord component.CuredZombieVillagerTrigger.TriggerInstance.zombie()Returns the value of thezombierecord component.Methods in net.minecraft.advancements.triggers with parameters of type HolderModifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTableUsed(Holder<LootTable> lootTable) Method parameters in net.minecraft.advancements.triggers with type arguments of type HolderModifier and TypeMethodDescriptionItemDurabilityTrigger.TriggerInstance.changedDurability(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item, MinMaxBounds.Ints durability) PlayerInteractTrigger.TriggerInstance.equipmentSheared(Optional<Holder<LootItemCondition>> player, ItemPredicate.Builder item, Optional<Holder<LootItemCondition>> entity) PlayerInteractTrigger.TriggerInstance.equipmentSheared(ItemPredicate.Builder item, Optional<Holder<LootItemCondition>> entity) PlayerInteractTrigger.TriggerInstance.itemUsedOnEntity(Optional<Holder<LootItemCondition>> player, ItemPredicate.Builder item, Optional<Holder<LootItemCondition>> entity) PlayerInteractTrigger.TriggerInstance.itemUsedOnEntity(ItemPredicate.Builder item, Optional<Holder<LootItemCondition>> entity) private static booleanBredAnimalsTrigger.TriggerInstance.matches(Optional<Holder<LootItemCondition>> predicate, LootContext context) TargetBlockTrigger.TriggerInstance.targetHit(MinMaxBounds.Ints redstoneSignalStrength, Optional<Holder<LootItemCondition>> projectile) PickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByEntity(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item, Optional<Holder<LootItemCondition>> entity) PickedUpItemTrigger.TriggerInstance.thrownItemPickedUpByPlayer(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item, Optional<Holder<LootItemCondition>> entity) Constructor parameters in net.minecraft.advancements.triggers with type arguments of type HolderModifierConstructorDescriptionTriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> location) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<HolderSet<Block>> block, Optional<StatePropertiesPredicate> state, Optional<ItemPredicate> item, MinMaxBounds.Ints beesInside) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> parent, Optional<Holder<LootItemCondition>> partner, Optional<Holder<LootItemCondition>> child) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<PotionsPredicate> potion) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ResourceKey<Level>> from, Optional<ResourceKey<Level>> to) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, List<Holder<LootItemCondition>> victims) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, List<Holder<LootItemCondition>> victims) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, MinMaxBounds.Ints level) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> zombie, Optional<Holder<LootItemCondition>> villager) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> location) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<LocationPredicate> startPosition, Optional<DistancePredicate> distance) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<MobEffectsPredicate> effects, Optional<Holder<LootItemCondition>> source) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item, MinMaxBounds.Ints levels) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<HolderSet<Block>> block, Optional<StatePropertiesPredicate> state) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<DamagePredicate> damage) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<LocationPredicate> startPosition, Optional<DistancePredicate> distance, Optional<Holder<LootItemCondition>> cause) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> rod, Optional<Holder<LootItemCondition>> entity, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, InventoryChangeTrigger.TriggerInstance.Slots slots, List<ItemPredicate> items) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item, MinMaxBounds.Ints durability, MinMaxBounds.Ints delta) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> location) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, List<Holder<LootItemCondition>> victims, MinMaxBounds.Ints uniqueEntityTypes, Optional<ItemPredicate> firedFromWeapon) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, List<Holder<LootItemCondition>> victims, MinMaxBounds.Ints uniqueEntityTypes, Optional<ItemPredicate> firedFromWeapon) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> entity, Optional<DamageSourcePredicate> killingBlow) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<DistancePredicate> distance, MinMaxBounds.Ints duration) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> lightning, Optional<Holder<LootItemCondition>> bystander) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, HolderSet<LootTable> lootTable) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item, Optional<Holder<LootItemCondition>> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<DamagePredicate> damage, Optional<Holder<LootItemCondition>> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item, Optional<Holder<LootItemCondition>> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, HolderSet<Recipe<?>> recipes, List<ItemPredicate> ingredients) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, HolderSet<Recipe<?>> recipes) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<HolderSet<Block>> block, Optional<StatePropertiesPredicate> state) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Integer> count) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> entity) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, MinMaxBounds.Ints signalStrength, Optional<Holder<LootItemCondition>> projectile) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<Holder<LootItemCondition>> villager, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, MinMaxBounds.Doubles distance) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class.TriggerInstance(Optional<Holder<LootItemCondition>> player, Optional<ItemPredicate> item) Creates an instance of aTriggerInstancerecord class. -
Uses of Holder in net.minecraft.client
Fields in net.minecraft.client with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<WorldClock>, ClientClockManager.ClientClockInstance> ClientClockManager.clocksMethods in net.minecraft.client that return types with arguments of type HolderMethods in net.minecraft.client with parameters of type HolderMethod parameters in net.minecraft.client with type arguments of type HolderModifier and TypeMethodDescriptionvoidClientClockManager.handleUpdates(long gameTime, Map<Holder<WorldClock>, ClockNetworkState> updates) -
Uses of Holder in net.minecraft.client.data.models
Fields in net.minecraft.client.data.models with type parameters of type HolderModifier and TypeFieldDescriptionModelProvider.BlockStateGeneratorCollector.knownBlocksModelProvider.ItemInfoCollector.knownItemsMethods in net.minecraft.client.data.models that return types with arguments of type HolderConstructor parameters in net.minecraft.client.data.models with type arguments of type HolderModifierConstructorDescriptionBlockStateGeneratorCollector(Supplier<Stream<? extends Holder<Block>>> knownBlocks) ItemInfoCollector(Supplier<Stream<? extends Holder<Item>>> knownItems) -
Uses of Holder in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type HolderModifier and TypeMethodDescriptionstatic IdentifierHud.getMobEffectSprite(Holder<MobEffect> effect) -
Uses of Holder in net.minecraft.client.gui.components.debug
Methods in net.minecraft.client.gui.components.debug with parameters of type HolderModifier and TypeMethodDescriptionprivate static StringDebugEntryBiome.printBiome(Holder<Biome> biome) -
Uses of Holder in net.minecraft.client.gui.screens
Fields in net.minecraft.client.gui.screens declared as HolderFields in net.minecraft.client.gui.screens with type parameters of type HolderMethods in net.minecraft.client.gui.screens that return types with arguments of type HolderMethods in net.minecraft.client.gui.screens with parameters of type HolderModifier and TypeMethodDescriptionprivate voidPauseScreen.addCustomDialogButtons(Minecraft minecraft, Holder<Dialog> dialog, GridLayout.RowHelper helper) Constructors in net.minecraft.client.gui.screens with parameters of type HolderConstructor parameters in net.minecraft.client.gui.screens with type arguments of type HolderModifierConstructorDescriptionCreateBuffetWorldScreen(Screen parent, WorldCreationContext settings, Consumer<Holder<Biome>> applySettings) -
Uses of Holder in net.minecraft.client.gui.screens.dialog
Methods in net.minecraft.client.gui.screens.dialog with parameters of type HolderModifier and TypeMethodDescriptionprivate static ActionButtonDialogListDialogScreen.createDialogClickAction(DialogListDialog data, Holder<Dialog> subDialog) voidDialogConnectionAccess.openDialog(Holder<Dialog> dialog, @Nullable Screen activeScreen) -
Uses of Holder in net.minecraft.client.gui.screens.inventory
Fields in net.minecraft.client.gui.screens.inventory declared as HolderModifier and TypeFieldDescriptionBeaconScreen.BeaconPowerButton.effectBeaconScreen.primaryBeaconScreen.secondaryMethods in net.minecraft.client.gui.screens.inventory with parameters of type HolderModifier and TypeMethodDescriptionprotected MutableComponentBeaconScreen.BeaconPowerButton.createEffectDescription(Holder<MobEffect> effect) protected MutableComponentBeaconScreen.BeaconUpgradePowerButton.createEffectDescription(Holder<MobEffect> effect) protected voidConstructors in net.minecraft.client.gui.screens.inventory with parameters of type HolderModifierConstructorDescriptionBeaconPowerButton(int x, int y, Holder<MobEffect> effect, boolean isPrimary, int tier) BeaconUpgradePowerButton(int x, int y, Holder<MobEffect> effect) -
Uses of Holder in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as HolderModifier and TypeFieldDescriptionprivate final @Nullable Holder<WorldPreset> WorldCreationUiState.WorldTypeEntry.presetThe field for thepresetrecord component.Methods in net.minecraft.client.gui.screens.worldselection that return HolderModifier and TypeMethodDescriptionWorldCreationUiState.WorldTypeEntry.preset()Returns the value of thepresetrecord component.Methods in net.minecraft.client.gui.screens.worldselection that return types with arguments of type HolderModifier and TypeMethodDescriptionprivate static Optional<Holder<WorldPreset>> WorldCreationUiState.findPreset(WorldCreationContext settings, Optional<ResourceKey<WorldPreset>> preset) Methods in net.minecraft.client.gui.screens.worldselection with parameters of type HolderModifier and TypeMethodDescriptionprivate static WorldCreationContext.DimensionsUpdaterPresetEditor.fixedBiomeConfigurator(Holder<Biome> biome) Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type HolderModifierConstructorDescriptionWorldTypeEntry(@Nullable Holder<WorldPreset> preset) Creates an instance of aWorldTypeEntryrecord class. -
Uses of Holder in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer that return HolderModifier and TypeMethodDescriptionClientLevel.getUncachedNoiseBiome(int quartX, int quartY, int quartZ) Methods in net.minecraft.client.multiplayer with parameters of type HolderModifier and TypeMethodDescriptionvoidClientLevel.explode(@Nullable Entity source, @Nullable DamageSource damageSource, @Nullable ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level.ExplosionInteraction interactionType, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, WeightedList<ExplosionParticleInfo> secondaryParticles, Holder<SoundEvent> explosionSound) voidClientLevel.gameEvent(Holder<GameEvent> gameEvent, Vec3 pos, GameEvent.Context context) voidClientCommonPacketListenerImpl.CommonDialogAccess.openDialog(Holder<Dialog> dialog, @Nullable Screen activeScreen) voidClientLevel.playSeededSound(@Nullable Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) voidClientLevel.playSeededSound(@Nullable Entity except, Entity sourceEntity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) voidClientCommonPacketListenerImpl.showDialog(Holder<Dialog> dialog, @Nullable Screen activeScreen) protected voidClientCommonPacketListenerImpl.showDialog(Holder<Dialog> dialog, DialogConnectionAccess connectionAccess, @Nullable Screen activeScreen) Constructors in net.minecraft.client.multiplayer with parameters of type HolderModifierConstructorDescriptionClientLevel(ClientPacketListener connection, ClientLevel.ClientLevelData levelData, ResourceKey<Level> dimension, Holder<DimensionType> dimensionType, int serverChunkRadius, int serverSimulationDistance, LevelExtractor levelExtractor, boolean isDebug, long biomeZoomSeed, int seaLevel) -
Uses of Holder in net.minecraft.client.player
Methods in net.minecraft.client.player with parameters of type Holder -
Uses of Holder in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type HolderModifier and TypeMethodDescriptionstatic SpriteIdSheets.getBannerSprite(Holder<BannerPattern> pattern) static SpriteIdSheets.getShieldSprite(Holder<BannerPattern> pattern) private voidLevelEventHandler.playJukeboxSong(Holder<JukeboxSong> songHolder, BlockPos pos) -
Uses of Holder in net.minecraft.client.renderer.block
Fields in net.minecraft.client.renderer.block declared as Holder -
Uses of Holder in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity with parameters of type HolderModifier and TypeMethodDescriptionprivate static MovingBlockRenderStatePistonHeadRenderer.createMovingBlock(BlockPos pos, BlockState blockState, Holder<Biome> biome, ClientLevel level) -
Uses of Holder in net.minecraft.client.renderer.entity.layers
Methods in net.minecraft.client.renderer.entity.layers with parameters of type HolderModifier and TypeMethodDescriptionVillagerProfessionLayer.getHatData(it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceKey<K>, VillagerMetadataSection.Hat> cache, String name, Holder<K> holder) private IdentifierVillagerProfessionLayer.getIdentifier(String type, Holder<?> holder) -
Uses of Holder in net.minecraft.client.renderer.fog.environment
Methods in net.minecraft.client.renderer.fog.environment that return HolderModifier and TypeMethodDescriptionBlindnessFogEnvironment.getMobEffect()DarknessFogEnvironment.getMobEffect()MobEffectFogEnvironment.getMobEffect() -
Uses of Holder in net.minecraft.client.renderer.state
Fields in net.minecraft.client.renderer.state declared as Holder -
Uses of Holder in net.minecraft.client.resources.sounds
Fields in net.minecraft.client.resources.sounds declared as HolderModifier and TypeFieldDescriptionprivate @Nullable Holder<SoundEvent> BiomeAmbientSoundsHandler.previousLoopSoundFields in net.minecraft.client.resources.sounds with type parameters of type HolderModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2ObjectArrayMap<Holder<SoundEvent>, BiomeAmbientSoundsHandler.LoopSoundInstance> BiomeAmbientSoundsHandler.loopSoundsMethods in net.minecraft.client.resources.sounds with parameters of type HolderModifier and TypeMethodDescriptionstatic SimpleSoundInstanceSimpleSoundInstance.forUI(Holder<SoundEvent> sound, float pitch) -
Uses of Holder in net.minecraft.commands.arguments
Subinterfaces with type arguments of type Holder in net.minecraft.commands.argumentsModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceClasses in net.minecraft.commands.arguments that implement interfaces with type arguments of type HolderFields in net.minecraft.commands.arguments declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SlotSource> SlotSourceArgument.HolderResult.holderThe field for theholderrecord component.Fields in net.minecraft.commands.arguments with type parameters of type HolderModifier and TypeFieldDescriptionprivate final com.mojang.brigadier.arguments.ArgumentType<Holder<SlotSource>> SlotSourceArgument.holderArgumentMethods in net.minecraft.commands.arguments that return HolderModifier and TypeMethodDescriptionResourceOrIdArgument.getDialog(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ResourceOrIdArgument.getFeature(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder<ContextFloatProvider> ResourceOrIdArgument.getFloatProvider(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder<ContextIntProvider> ResourceOrIdArgument.getIntProvider(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder<LootItemFunction> ResourceOrIdArgument.getLootModifier(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) static Holder<LootItemCondition> ResourceOrIdArgument.getLootPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) ResourceOrIdArgument.getLootTable(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) private static <T> Holder<T> ResourceOrIdArgument.getResource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, String name) SlotSourceArgument.HolderResult.holder()Returns the value of theholderrecord component.ResourceOrIdArgument.InlineResult.parse(com.mojang.brigadier.ImmutableStringReader reader, HolderLookup.Provider lookup, com.mojang.serialization.DynamicOps<O> ops, com.mojang.serialization.Codec<T> codec, HolderLookup.RegistryLookup<T> elementLookup) ResourceOrIdArgument.parse(com.mojang.brigadier.StringReader reader) ResourceOrIdArgument.parse(com.mojang.brigadier.StringReader reader, Grammar<ResourceOrIdArgument.Result<T, O>> grammar, com.mojang.serialization.DynamicOps<O> ops) ResourceOrIdArgument.ReferenceResult.parse(com.mojang.brigadier.ImmutableStringReader reader, HolderLookup.Provider lookup, com.mojang.serialization.DynamicOps<O> ops, com.mojang.serialization.Codec<T> codec, HolderLookup.RegistryLookup<T> elementLookup) ResourceOrIdArgument.Result.parse(com.mojang.brigadier.ImmutableStringReader reader, HolderLookup.Provider lookup, com.mojang.serialization.DynamicOps<O> ops, com.mojang.serialization.Codec<T> codec, HolderLookup.RegistryLookup<T> elementLookup) Methods in net.minecraft.commands.arguments with parameters of type HolderModifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanConstructors in net.minecraft.commands.arguments with parameters of type HolderModifierConstructorDescriptionHolderResult(Holder<SlotSource> holder) Creates an instance of aHolderResultrecord class. -
Uses of Holder in net.minecraft.commands.arguments.item
Fields in net.minecraft.commands.arguments.item declared as HolderMethods in net.minecraft.commands.arguments.item that return HolderModifier and TypeMethodDescriptionItemInput.item()Returns the value of theitemrecord component.Methods in net.minecraft.commands.arguments.item with parameters of type HolderConstructors in net.minecraft.commands.arguments.item with parameters of type HolderModifierConstructorDescriptionItemInput(Holder<Item> item, DataComponentPatch components) Creates an instance of aItemInputrecord class. -
Uses of Holder in net.minecraft.core
Classes in net.minecraft.core that implement HolderModifier and TypeClassDescriptionstatic final recordstatic classSubinterfaces with type arguments of type Holder in net.minecraft.coreFields in net.minecraft.core with type parameters of type HolderModifier and TypeFieldDescriptionHolderSet.Direct.contentsHolderSet.Named.contentsHolderSet.Direct.contentsSetMethods in net.minecraft.core that return HolderModifier and TypeMethodDescriptionstatic <T> Holder<T> Holder.direct(T value) static <T> Holder<T> Holder.direct(T value, DataComponentMap components) HolderSet.get(int index) HolderSet.ListBacked.get(int index) TypedInstance.typeHolder()MappedRegistry.wrapAsHolder(T value) Registry.wrapAsHolder(T value) Methods in net.minecraft.core that return types with arguments of type HolderModifier and TypeMethodDescriptionRegistry.asHolderIdMap()HolderSet.Direct.contents()HolderSet.ListBacked.contents()HolderSet.Named.contents()HolderSet.getRandomElement(RandomSource random) HolderSet.ListBacked.getRandomElement(RandomSource random) HolderGetter.getRandomElementOf(TagKey<T> tag, RandomSource random) Registry.getTagOrEmpty(TagKey<T> id) Registry.holderByNameCodec()HolderSet.ListBacked.iterator()HolderSet.ListBacked.spliterator()HolderSet.ListBacked.stream()HolderSet.stream()HolderSet.Direct.unwrap()HolderSet.Named.unwrap()HolderSet.unwrap()Methods in net.minecraft.core with parameters of type HolderModifier and TypeMethodDescriptionbooleanbooleanbooleanstatic <T> HolderSet.Direct<T> booleanbooleanDeprecated.booleandefault booleanprivate com.mojang.serialization.DataResult<Holder.Reference<T>> Registry.safeCastToReference(Holder<T> holder) private Holder.Reference<T> MappedRegistry.validateAndUnwrapTagElement(TagKey<T> id, Holder<T> value) Method parameters in net.minecraft.core with type arguments of type HolderModifier and TypeMethodDescription(package private) voidvoidvoidstatic <E,T> HolderSet.Direct <T> static <E,T> HolderSet.Direct <T> HolderSet.direct(Function<E, Holder<T>> holderGetter, Collection<E> elements) static <T> HolderSet.Direct<T> Constructor parameters in net.minecraft.core with type arguments of type Holder -
Uses of Holder in net.minecraft.core.component
Fields in net.minecraft.core.component declared as HolderModifier and TypeFieldDescriptionprivate final Holder<BlockStateProvider> BlockTransformer.BlockTransformData.blockStateProviderThe field for theblockStateProviderrecord component.private Holder<SoundEvent> BlockTransformer.BlockTransformData.Builder.soundprivate final Holder<SoundEvent> BlockTransformer.BlockTransformData.soundThe field for thesoundrecord component.private final Holder<BlockStateProvider> BlockTransformer.BlockTransformData.Builder.targetStateProviderFields in net.minecraft.core.component with type parameters of type HolderModifier and TypeFieldDescriptionstatic final DataComponentType<Holder<BlockTransformer>> DataComponents.BLOCK_TRANSFORMERstatic final DataComponentType<Holder<SoundEvent>> DataComponents.BREAK_SOUNDstatic final DataComponentType<Holder<CatSoundVariant>> DataComponents.CAT_SOUND_VARIANTstatic final DataComponentType<Holder<CatVariant>> DataComponents.CAT_VARIANTstatic final DataComponentType<Holder<ChickenSoundVariant>> DataComponents.CHICKEN_SOUND_VARIANTstatic final DataComponentType<Holder<ChickenVariant>> DataComponents.CHICKEN_VARIANTstatic final com.mojang.serialization.Codec<Holder<BlockTransformer>> BlockTransformer.CODECstatic final DataComponentType<Holder<CowSoundVariant>> DataComponents.COW_SOUND_VARIANTstatic final DataComponentType<Holder<CowVariant>> DataComponents.COW_VARIANTstatic final DataComponentType<Holder<DamageType>> DataComponents.DAMAGE_TYPEDataComponentLookup.elementsstatic final DataComponentType<Holder<FrogVariant>> DataComponents.FROG_VARIANTstatic final DataComponentType<Holder<PaintingVariant>> DataComponents.PAINTING_VARIANTstatic final DataComponentType<Holder<PigSoundVariant>> DataComponents.PIG_SOUND_VARIANTstatic final DataComponentType<Holder<PigVariant>> DataComponents.PIG_VARIANTstatic final DataComponentType<Holder<DecoratedPotPattern>> DataComponents.PROVIDES_POTTERY_PATTERNstatic final DataComponentType<Holder<TrimMaterial>> DataComponents.PROVIDES_TRIM_MATERIALstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<BlockTransformer>> BlockTransformer.STREAM_CODECDataComponentLookup.ComponentStorage.valueToComponentThe field for thevalueToComponentrecord component.static final DataComponentType<Holder<VillagerType>> DataComponents.VILLAGER_VARIANTstatic final DataComponentType<Holder<WolfSoundVariant>> DataComponents.WOLF_SOUND_VARIANTstatic final DataComponentType<Holder<WolfVariant>> DataComponents.WOLF_VARIANTstatic final DataComponentType<Holder<ZombieNautilusVariant>> DataComponents.ZOMBIE_NAUTILUS_VARIANTMethods in net.minecraft.core.component that return HolderModifier and TypeMethodDescriptionBlockTransformer.BlockTransformData.blockStateProvider()Returns the value of theblockStateProviderrecord component.BlockTransformer.BlockTransformData.sound()Returns the value of thesoundrecord component.Methods in net.minecraft.core.component that return types with arguments of type HolderModifier and TypeMethodDescription<C> Collection<Holder<T>> DataComponentLookup.findAll(DataComponentType<C> type) <C> Collection<Holder<T>> DataComponentLookup.findAll(DataComponentType<C> type, C value) DataComponentLookup.ComponentStorage.findMatching(Predicate<C> predicate) DataComponentLookup.findMatching(DataComponentType<C> type, Predicate<C> predicate) DataComponentLookup.ComponentStorage.valueToComponent()Returns the value of thevalueToComponentrecord component.Methods in net.minecraft.core.component with parameters of type HolderModifier and TypeMethodDescriptionBlockTransformer.BlockTransformData.builder(Holder<BlockStateProvider> targetStateProvider) BlockTransformer.BlockTransformData.Builder.sound(Holder<SoundEvent> sound) Constructors in net.minecraft.core.component with parameters of type HolderModifierConstructorDescriptionBlockTransformData(Holder<BlockStateProvider> blockStateProvider, Holder<SoundEvent> sound, BlockTransformer.TransformParticle particle, List<Direction> disallowedFaces, Optional<ResourceKey<LootTable>> loot, BlockTransformer.DropStrategy dropStrategy, boolean updateFromNeighbors, BlockTransformer.TransformType transformType, boolean consumeOnUse, int itemDamagePerUse) Creates an instance of aBlockTransformDatarecord class.privateBuilder(Holder<BlockStateProvider> targetStateProvider) Constructor parameters in net.minecraft.core.component with type arguments of type HolderModifierConstructorDescriptionprivateComponentStorage(Multimap<C, Holder<T>> valueToComponent) Creates an instance of aComponentStoragerecord class.DataComponentLookup(Iterable<? extends Holder<T>> elements) -
Uses of Holder in net.minecraft.core.component.predicates
Classes in net.minecraft.core.component.predicates that implement interfaces with type arguments of type HolderMethods in net.minecraft.core.component.predicates that return types with arguments of type HolderMethods in net.minecraft.core.component.predicates with parameters of type HolderModifier and TypeMethodDescriptionbooleanVillagerTypePredicate.matches(Holder<VillagerType> villagerType) static PotionsPredicate -
Uses of Holder in net.minecraft.core.registries
Classes in net.minecraft.core.registries that implement Holder -
Uses of Holder in net.minecraft.core.registries.codec
Classes in net.minecraft.core.registries.codec that implement interfaces with type arguments of type HolderModifier and TypeClassDescriptionfinal classfinal classFields in net.minecraft.core.registries.codec with type parameters of type HolderModifier 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.combinedCodecprivate final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<TagKey<E>, List<Holder<E>>>> HolderSetCodec.tagKeyOrValuesCodecMethods in net.minecraft.core.registries.codec that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<Holder<E>> RegistryFileCodec.create(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec, boolean allowInline) static <E> com.mojang.serialization.Codec<Holder<E>> RegistryFixedCodec.create(ResourceKey<? extends Registry<E>> registryKey) RegistryFileCodec.decode(com.mojang.serialization.DynamicOps<T> ops, T input) RegistryFixedCodec.decode(com.mojang.serialization.DynamicOps<T> ops, T input) HolderSetCodec.directCodec(com.mojang.serialization.Codec<Holder<E>> elementCodec, boolean alwaysUseList) static <E> com.mojang.serialization.Codec<Holder<E>> RegistryCodecs.holder(ResourceKey<? extends Registry<E>> registryKey) static <E> com.mojang.serialization.Codec<Holder<E>> RegistryCodecs.holder(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec) static <E> com.mojang.serialization.Codec<Holder<E>> RegistryCodecs.holder(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec, boolean allowInline) Methods in net.minecraft.core.registries.codec with parameters of type HolderModifier and TypeMethodDescription<T> com.mojang.serialization.DataResult<T> <T> com.mojang.serialization.DataResult<T> Method parameters in net.minecraft.core.registries.codec with type arguments of type HolderModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec<HolderSet<E>> HolderSetCodec.create(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<Holder<E>> elementCodec, boolean alwaysUseList) HolderSetCodec.directCodec(com.mojang.serialization.Codec<Holder<E>> elementCodec, boolean alwaysUseList) Constructor parameters in net.minecraft.core.registries.codec with type arguments of type HolderModifierConstructorDescriptionprivateHolderSetCodec(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<Holder<E>> elementCodec, boolean alwaysUseList) -
Uses of Holder in net.minecraft.data.loot
Methods in net.minecraft.data.loot that return HolderModifier and TypeMethodDescriptionprotected Holder<LootItemCondition> BlockLootSubProvider.hasShears()protected Holder<LootItemCondition> BlockLootSubProvider.hasSilkTouch()Methods in net.minecraft.data.loot with parameters of type HolderModifier and TypeMethodDescriptionprotected LootTable.BuilderBlockLootSubProvider.createMultifaceBlockDrops(Block block, Holder<LootItemCondition> condition) protected static LootTable.BuilderBlockLootSubProvider.createSelfDropDispatchTable(Block original, Holder<LootItemCondition> condition, LootPoolEntryContainer.Builder<?> entry) protected LootTable.BuilderBlockLootSubProvider.createSingleItemTable(ItemLike drop, Holder<ContextIntProvider> count) protected LootTable.BuilderBlockLootSubProvider.createSingleItemTableWithSilkTouch(Block original, ItemLike drop, Holder<ContextIntProvider> count) Method parameters in net.minecraft.data.loot with type arguments of type HolderModifier and TypeMethodDescriptionstatic LootPool.BuilderEntityLootSubProvider.createSheepDispatchPool(ColorCollection<Holder<LootTable>> tableNames) -
Uses of Holder in net.minecraft.data.loot.packs
Methods in net.minecraft.data.loot.packs with parameters of type HolderModifier and TypeMethodDescriptionprivate UniformContainerBase.Builder<?> VanillaChestLoot.explorationMapItem(TagKey<Structure> structureTag, Holder<MapDecorationType> decoration, Item mapItem) private UniformContainerBase.Builder<?> VanillaChestLoot.explorationMapItem(TagKey<Structure> structureTag, Holder<MapDecorationType> decoration, Item mapItem, @Nullable String translationKey) private UniformContainerBase.Builder<?> VanillaChestLoot.explorationMapItemExcludingBiome(TagKey<Structure> structureTag, Holder<MapDecorationType> decoration, Item mapItem, String translationKey, Holder<Biome> excludedBiome) -
Uses of Holder in net.minecraft.data.recipes
Fields in net.minecraft.data.recipes declared as HolderModifier and TypeFieldDescriptionprivate final Holder<TrimPattern> SmithingTrimRecipeBuilder.patternFields in net.minecraft.data.recipes with type parameters of type HolderMethods in net.minecraft.data.recipes that return types with arguments of type HolderModifier and TypeMethodDescriptionBrewingRecipeBuilder.getExactPotion(PotionsPredicate predicate) BrewingRecipeBuilder.getIngredientPotion(PotionIngredient ingredient) Methods in net.minecraft.data.recipes with parameters of type HolderModifier and TypeMethodDescriptionstatic BrewingRecipeBuilderBrewingRecipeBuilder.brewingContainerTransform(Item inputContainer, Holder<Potion> inputPotion, Item reagentItem, Item outputContainer) static BrewingRecipeBuilderBrewingRecipeBuilder.brewingMix(Item container, Holder<Potion> inputPotion, Item reagentItem, Holder<Potion> outputPotion) protected voidprotected voidBrewingProvider.buildStartMix(Item reagent, Holder<Potion> output) private static PotionIngredientBrewingRecipeBuilder.potionIngredient(Item potionContainer, Holder<Potion> potion) private static ItemStackTemplateBrewingRecipeBuilder.potionOutput(Item potionContainer, Holder<Potion> potion) static SmithingTrimRecipeBuilderSmithingTrimRecipeBuilder.smithingTrim(Ingredient template, Ingredient base, Ingredient addition, Holder<TrimPattern> pattern, RecipeCategory category) Constructors in net.minecraft.data.recipes with parameters of type HolderModifierConstructorDescriptionSmithingTrimRecipeBuilder(RecipeCategory category, Ingredient template, Ingredient base, Ingredient addition, Holder<TrimPattern> pattern) -
Uses of Holder in net.minecraft.data.worldgen
Methods in net.minecraft.data.worldgen with parameters of type HolderModifier and TypeMethodDescriptionprivate static voidAbandonedCampStructurePools.bootstrapCampsitePools(BootstrapContext<StructureTemplatePool> context, Holder<StructureTemplatePool> empty) private static voidAbandonedCampStructurePools.bootstrapTrees(BootstrapContext<StructureTemplatePool> context, Holder<StructureTemplatePool> empty) private static voidAbandonedCampStructurePools.registerCampsitePool(BootstrapContext<StructureTemplatePool> context, Holder<StructureTemplatePool> empty, AbandonedCampStructurePools.AbandonedCampStructure biomeVariant) private static voidAbandonedCampStructurePools.registerTentPool(BootstrapContext<StructureTemplatePool> context, Holder<StructureTemplatePool> empty, AbandonedCampStructurePools.AbandonedCampStructure biomeVariant) private static voidAbandonedCampStructurePools.registerTrees(BootstrapContext<StructureTemplatePool> context, Holder<StructureTemplatePool> empty, Collection<com.mojang.datafixers.util.Pair<String, ResourceKey<PlacedFeature>>> list) -
Uses of Holder in net.minecraft.data.worldgen.features
Methods in net.minecraft.data.worldgen.features that return HolderModifier and TypeMethodDescriptionprivate static Holder<PlacedFeature> CaveFeatures.makeDripleaf(Direction direction) private static Holder<PlacedFeature> CaveFeatures.makeSmallDripleaf()private static Holder<PlacedFeature> AquaticFeatures.wallCoral(HolderGetter<Block> blocks, Direction direction) Methods in net.minecraft.data.worldgen.features with parameters of type HolderModifier and TypeMethodDescriptionprivate static TreeFeature.BuilderTreeFeatures.cherry(Holder<BlockStateProvider> belowTrunkProvider) private static FeatureAquaticFeatures.coralBlock(HolderGetter<Feature> features, Holder<Block> block) private static TreeFeature.BuilderTreeFeatures.createBirch(Holder<BlockStateProvider> belowTrunkProvider) private static TreeFeature.BuilderTreeFeatures.createDarkOak(Holder<BlockStateProvider> belowTrunkProvider) private static TreeFeature.BuilderTreeFeatures.createFancyOak(Holder<BlockStateProvider> belowTrunkProvider) private static TreeFeature.BuilderTreeFeatures.createJungleTree(Holder<BlockStateProvider> belowTrunkProvider) private static TreeFeature.BuilderTreeFeatures.createOak(Holder<BlockStateProvider> belowTrunkProvider) private static TreeFeature.BuilderTreeFeatures.createPoplar(Block leafBlock, Holder<BlockStateProvider> belowTrunkProvider) private static TreeFeature.BuilderTreeFeatures.createStraightBlobTree(Block oakLog, Block oakLeaves, int baseHeight, int heightRandA, int heightRandB, int blobRadius, Holder<BlockStateProvider> belowTrunkProvider) private static TreeFeature.BuilderTreeFeatures.createSuperBirch(Holder<BlockStateProvider> belowTrunkProvider) -
Uses of Holder in net.minecraft.data.worldgen.placement
Methods in net.minecraft.data.worldgen.placement that return HolderModifier and TypeMethodDescriptionstatic Holder<PlacedFeature> PlacementUtils.inlinePlaced(Holder<Feature> feature, List<PlacementModifier> placementModifiers) static Holder<PlacedFeature> PlacementUtils.inlinePlaced(Holder<Feature> feature, PlacementModifier... placementModifiers) static Holder<PlacedFeature> PlacementUtils.inlinePlaced(Feature feature, List<PlacementModifier> placementModifiers) static Holder<PlacedFeature> PlacementUtils.inlinePlaced(Feature feature, PlacementModifier... placementModifiers) Methods in net.minecraft.data.worldgen.placement with parameters of type HolderModifier and TypeMethodDescriptionstatic Holder<PlacedFeature> PlacementUtils.inlinePlaced(Holder<Feature> feature, List<PlacementModifier> placementModifiers) static Holder<PlacedFeature> PlacementUtils.inlinePlaced(Holder<Feature> feature, PlacementModifier... placementModifiers) static voidPlacementUtils.register(BootstrapContext<PlacedFeature> context, ResourceKey<PlacedFeature> id, Holder<Feature> feature, List<PlacementModifier> placementModifiers) static voidPlacementUtils.register(BootstrapContext<PlacedFeature> context, ResourceKey<PlacedFeature> id, Holder<Feature> feature, PlacementModifier... placementModifiers) -
Uses of Holder in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as HolderModifier and TypeFieldDescriptionprivate final Holder<WorldClock> TestEnvironmentDefinition.ClockTime.clockThe field for theclockrecord component.private final Holder<TestEnvironmentDefinition<?>> GameTestBatch.environmentThe field for theenvironmentrecord component.private final Holder<TestEnvironmentDefinition<?>> GameTestBatchFactory.BatchKey.environmentThe field for theenvironmentrecord component.Fields in net.minecraft.gametest.framework with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<TestData<Holder<TestEnvironmentDefinition<?>>>> TestData.CODECstatic final com.mojang.serialization.Codec<Holder<TestEnvironmentDefinition<?>>> TestEnvironmentDefinition.CODECprivate final List<Holder<TestEnvironmentDefinition<?>>> TestEnvironmentDefinition.AllOf.definitionsThe field for thedefinitionsrecord component.private final TestData<Holder<TestEnvironmentDefinition<?>>> GameTestInstance.infoTestEnvironmentDefinition.Timelines.timelinesThe field for thetimelinesrecord component.Methods in net.minecraft.gametest.framework that return HolderModifier and TypeMethodDescriptionGameTestInstance.batch()TestEnvironmentDefinition.ClockTime.clock()Returns the value of theclockrecord component.GameTestBatch.environment()Returns the value of theenvironmentrecord component.GameTestBatchFactory.BatchKey.environment()Returns the value of theenvironmentrecord component.private static Holder<TestEnvironmentDefinition<?>> TestEnvironmentDefinition.AllOf.holder(TestEnvironmentDefinition<?> holder) Methods in net.minecraft.gametest.framework that return types with arguments of type HolderModifier and TypeMethodDescriptionTestEnvironmentDefinition.AllOf.definitions()Returns the value of thedefinitionsrecord component.protected TestData<Holder<TestEnvironmentDefinition<?>>> GameTestInstance.info()TestEnvironmentDefinition.Timelines.timelines()Returns the value of thetimelinesrecord component.Methods in net.minecraft.gametest.framework with parameters of type HolderModifier and TypeMethodDescriptionvoidGameTestHelper.assertLivingEntityHasMobEffect(LivingEntity entity, Holder<MobEffect> mobEffect, int amplifier) private static intTestCommand.exportTestStructure(CommandSourceStack source, Holder<GameTestInstance> test) static GameTestBatchGameTestBatchFactory.toGameTestBatch(Collection<GameTestInfo> tests, Holder<TestEnvironmentDefinition<?>> batch, int counter, ResourceKey<Level> dimension) Constructors in net.minecraft.gametest.framework with parameters of type HolderModifierConstructorDescriptionprivateBatchKey(Holder<TestEnvironmentDefinition<?>> environment, ResourceKey<Level> dimension) Creates an instance of aBatchKeyrecord class.ClockTime(Holder<WorldClock> clock, int time) Creates an instance of aClockTimerecord class.GameTestBatch(int index, Collection<GameTestInfo> gameTestInfos, Holder<TestEnvironmentDefinition<?>> environment, ResourceKey<Level> dimension) Creates an instance of aGameTestBatchrecord class.Constructor parameters in net.minecraft.gametest.framework with type arguments of type HolderModifierConstructorDescriptionAllOf(List<Holder<TestEnvironmentDefinition<?>>> definitions) Creates an instance of aAllOfrecord class.BlockBasedTestInstance(TestData<Holder<TestEnvironmentDefinition<?>>> testData) FunctionGameTestInstance(ResourceKey<Consumer<GameTestHelper>> function, TestData<Holder<TestEnvironmentDefinition<?>>> info) protectedGameTestInstance(TestData<Holder<TestEnvironmentDefinition<?>>> info) Creates an instance of aTimelinesrecord class. -
Uses of Holder in net.minecraft.network
Fields in net.minecraft.network declared as HolderModifier and TypeFieldDescriptionHashedStack.ActualItem.itemThe field for theitemrecord component.Methods in net.minecraft.network that return HolderModifier and TypeMethodDescriptionHashedStack.ActualItem.item()Returns the value of theitemrecord component.Constructors in net.minecraft.network with parameters of type HolderModifierConstructorDescriptionActualItem(Holder<Item> item, int count, HashedPatchMap components) Creates an instance of aActualItemrecord class. -
Uses of Holder in net.minecraft.network.chat
Fields in net.minecraft.network.chat declared as HolderModifier and TypeFieldDescriptionChatType.Bound.chatTypeThe field for thechatTyperecord component.ClickEvent.ShowDialog.dialogThe field for thedialogrecord component.Fields in net.minecraft.network.chat with type parameters of type HolderModifier and TypeFieldDescriptionstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ChatType>> ChatType.STREAM_CODECMethods in net.minecraft.network.chat that return HolderModifier and TypeMethodDescriptionChatType.Bound.chatType()Returns the value of thechatTyperecord component.ClickEvent.ShowDialog.dialog()Returns the value of thedialogrecord component.Constructors in net.minecraft.network.chat with parameters of type Holder -
Uses of Holder in net.minecraft.network.codec
Methods in net.minecraft.network.codec that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holder(ResourceKey<? extends Registry<T>> registryKey, StreamCodec<? super RegistryFriendlyByteBuf, T> directCodec) static <T> StreamCodec<RegistryFriendlyByteBuf, Holder<T>> ByteBufCodecs.holderRegistry(ResourceKey<? extends Registry<T>> registryKey) -
Uses of Holder in net.minecraft.network.protocol.common
Fields in net.minecraft.network.protocol.common declared as HolderModifier and TypeFieldDescriptionClientboundShowDialogPacket.dialogThe field for thedialogrecord component.Methods in net.minecraft.network.protocol.common that return HolderModifier and TypeMethodDescriptionClientboundShowDialogPacket.dialog()Returns the value of thedialogrecord component.Constructors in net.minecraft.network.protocol.common with parameters of type HolderModifierConstructorDescriptionClientboundShowDialogPacket(Holder<Dialog> dialog) Creates an instance of aClientboundShowDialogPacketrecord class. -
Uses of Holder in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as HolderModifier and TypeFieldDescriptionClientboundUpdateAttributesPacket.AttributeSnapshot.attributeThe field for theattributerecord component.private final Holder<DimensionType> CommonPlayerSpawnInfo.dimensionTypeThe field for thedimensionTyperecord component.ClientboundRemoveMobEffectPacket.effectThe field for theeffectrecord component.ClientboundUpdateMobEffectPacket.effectprivate final Holder<SoundEvent> ClientboundExplodePacket.explosionSoundThe field for theexplosionSoundrecord component.private final Holder<SoundEvent> ClientboundSoundEntityPacket.soundprivate final Holder<SoundEvent> ClientboundSoundPacket.soundprivate final Holder<DamageType> ClientboundDamageEventPacket.sourceTypeThe field for thesourceTyperecord component.Fields in net.minecraft.network.protocol.game with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<WorldClock>, ClockNetworkState> ClientboundSetTimePacket.clockUpdatesThe field for theclockUpdatesrecord component.ServerboundSetBeaconPacket.primaryThe field for theprimaryrecord component.ServerboundSetBeaconPacket.secondaryThe field for thesecondaryrecord component.Methods in net.minecraft.network.protocol.game that return HolderModifier and TypeMethodDescriptionClientboundUpdateAttributesPacket.AttributeSnapshot.attribute()Returns the value of theattributerecord component.CommonPlayerSpawnInfo.dimensionType()Returns the value of thedimensionTyperecord component.ClientboundRemoveMobEffectPacket.effect()Returns the value of theeffectrecord component.ClientboundExplodePacket.explosionSound()Returns the value of theexplosionSoundrecord component.ClientboundUpdateMobEffectPacket.getEffect()ClientboundSoundEntityPacket.getSound()ClientboundSoundPacket.getSound()ClientboundDamageEventPacket.sourceType()Returns the value of thesourceTyperecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type HolderModifier and TypeMethodDescriptionClientboundSetTimePacket.clockUpdates()Returns the value of theclockUpdatesrecord component.ServerboundSetBeaconPacket.primary()Returns the value of theprimaryrecord component.ServerboundSetBeaconPacket.secondary()Returns the value of thesecondaryrecord component.Constructors in net.minecraft.network.protocol.game with parameters of type HolderModifierConstructorDescriptionAttributeSnapshot(Holder<Attribute> attribute, double base, Collection<AttributeModifier> modifiers) Creates an instance of aAttributeSnapshotrecord class.ClientboundDamageEventPacket(int entityId, Holder<DamageType> sourceType, int sourceCauseId, int sourceDirectId, Optional<Vec3> sourcePosition) Creates an instance of aClientboundDamageEventPacketrecord class.ClientboundExplodePacket(Vec3 center, float radius, int blockCount, Optional<Vec3> playerKnockback, ParticleOptions explosionParticle, Holder<SoundEvent> explosionSound, WeightedList<ExplosionParticleInfo> blockParticles, boolean playSound) Creates an instance of aClientboundExplodePacketrecord class.ClientboundRemoveMobEffectPacket(int entityId, Holder<MobEffect> effect) Creates an instance of aClientboundRemoveMobEffectPacketrecord class.ClientboundSoundEntityPacket(Holder<SoundEvent> sound, SoundSource source, Entity sourceEntity, float volume, float pitch, long seed) ClientboundSoundPacket(Holder<SoundEvent> sound, SoundSource source, double x, double y, double z, float volume, float pitch, long seed) CommonPlayerSpawnInfo(Holder<DimensionType> dimensionType, ResourceKey<Level> dimension, long seed, GameType gameType, Optional<GameType> previousGameType, boolean isDebug, boolean isFlat, Optional<GlobalPos> lastDeathLocation, int portalCooldown, int seaLevel) Creates an instance of aCommonPlayerSpawnInforecord class.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type HolderModifierConstructorDescriptionClientboundSetTimePacket(long gameTime, Map<Holder<WorldClock>, ClockNetworkState> clockUpdates) Creates an instance of aClientboundSetTimePacketrecord class.ServerboundSetBeaconPacket(Optional<Holder<MobEffect>> primary, Optional<Holder<MobEffect>> secondary) Creates an instance of aServerboundSetBeaconPacketrecord class. -
Uses of Holder in net.minecraft.network.syncher
Fields in net.minecraft.network.syncher with type parameters of type HolderModifier and TypeFieldDescriptionstatic final EntityDataSerializer<Holder<CatSoundVariant>> EntityDataSerializers.CAT_SOUND_VARIANTstatic final EntityDataSerializer<Holder<CatVariant>> EntityDataSerializers.CAT_VARIANTstatic final EntityDataSerializer<Holder<ChickenSoundVariant>> EntityDataSerializers.CHICKEN_SOUND_VARIANTstatic final EntityDataSerializer<Holder<ChickenVariant>> EntityDataSerializers.CHICKEN_VARIANTstatic final EntityDataSerializer<Holder<CowSoundVariant>> EntityDataSerializers.COW_SOUND_VARIANTstatic final EntityDataSerializer<Holder<CowVariant>> EntityDataSerializers.COW_VARIANTstatic final EntityDataSerializer<Holder<FrogVariant>> EntityDataSerializers.FROG_VARIANTstatic final EntityDataSerializer<Holder<PaintingVariant>> EntityDataSerializers.PAINTING_VARIANTstatic final EntityDataSerializer<Holder<PigSoundVariant>> EntityDataSerializers.PIG_SOUND_VARIANTstatic final EntityDataSerializer<Holder<PigVariant>> EntityDataSerializers.PIG_VARIANTstatic final EntityDataSerializer<Holder<WolfSoundVariant>> EntityDataSerializers.WOLF_SOUND_VARIANTstatic final EntityDataSerializer<Holder<WolfVariant>> EntityDataSerializers.WOLF_VARIANTstatic final EntityDataSerializer<Holder<ZombieNautilusVariant>> EntityDataSerializers.ZOMBIE_NAUTILUS_VARIANT -
Uses of Holder in net.minecraft.recipebook
Methods in net.minecraft.recipebook with parameters of type HolderModifier and TypeMethodDescriptionprivate intServerPlaceRecipe.moveItemToGrid(Slot targetSlot, Holder<Item> itemInInventory, int count) Method parameters in net.minecraft.recipebook with type arguments of type HolderModifier and TypeMethodDescriptionprivate static intServerPlaceRecipe.clampToMaxStackSize(int value, List<Holder<Item>> items) -
Uses of Holder in net.minecraft.resources
Method parameters in net.minecraft.resources with type arguments of type Holder -
Uses of Holder in net.minecraft.server.commands
Fields in net.minecraft.server.commands with type parameters of type HolderModifier and TypeFieldDescriptionprivate static final CommandResponseTracker.MessagesWithArgs<Entity, Holder<Enchantment>, Integer> EnchantCommand.RESPONSE_ENCHANTMethods in net.minecraft.server.commands that return HolderModifier and TypeMethodDescriptionTimeCommand.ClockGetter.getClock(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context) private static Holder<WorldClock> TimeCommand.getDefaultClock(CommandSourceStack source) Methods in net.minecraft.server.commands with parameters of type HolderModifier and TypeMethodDescriptionprivate static intAttributeCommand.addModifier(CommandSourceStack source, Entity target, Holder<Attribute> attribute, Identifier id, double value, AttributeModifier.Operation operation) private static intTimeCommand.addTime(CommandSourceStack source, Holder<WorldClock> clock, int time) private static booleanExecuteCommand.checkCustomPredicate(CommandSourceStack source, Holder<LootItemCondition> predicate) private static intEffectCommands.clearEffect(CommandSourceStack source, Collection<? extends Entity> entities, Holder<MobEffect> effectHolder) private static intComputeCommand.computeAsFloat(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, LootContextSources.ContextDecorator decorator, Holder<ContextFloatProvider> provider, float scale) private static intComputeCommand.computeAsInt(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, LootContextSources.ContextDecorator decorator, Holder<ContextIntProvider> provider) private static intLootCommand.drop(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootParams lootParams, LootCommand.DropConsumer output) private static intLootCommand.dropChestLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, LootCommand.DropConsumer output) private static intLootCommand.dropFishingLoot(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, Holder<LootTable> lootTable, BlockPos pos, ItemInstance tool, LootCommand.DropConsumer output) private static intEnchantCommand.enchant(CommandSourceStack source, Collection<? extends Entity> targets, Holder<Enchantment> enchantmentHolder, int level) static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill(ServerLevel level, BlockPos rawFrom, BlockPos rawTo, Holder<Biome> biome, Predicate<Holder<Biome>> filter, Consumer<Supplier<Component>> successMessageConsumer) private static intAttributeCommand.getAttributeBase(CommandSourceStack source, Entity target, Holder<Attribute> attribute, double scale) private static ComponentAttributeCommand.getAttributeDescription(Holder<Attribute> attribute) private static AttributeInstanceAttributeCommand.getAttributeInstance(Entity target, Holder<Attribute> attribute) private static intAttributeCommand.getAttributeModifier(CommandSourceStack source, Entity target, Holder<Attribute> attribute, Identifier id, double scale) private static Stream<Identifier> AttributeCommand.getAttributeModifiers(Entity target, Holder<Attribute> attribute) private static intAttributeCommand.getAttributeValue(CommandSourceStack source, Entity target, Holder<Attribute> attribute, double scale) private static LivingEntityAttributeCommand.getEntityWithAttribute(Entity target, Holder<Attribute> attribute) private static intEffectCommands.giveEffect(CommandSourceStack source, Collection<? extends Entity> entities, Holder<MobEffect> effectHolder, @Nullable Integer seconds, int amplifier, boolean particles) private static BiomeResolverFillBiomeCommand.makeResolver(org.apache.commons.lang3.mutable.MutableInt count, ChunkAccess chunk, BoundingBox region, Holder<Biome> toFill, Predicate<Holder<Biome>> filter) static intPlaceCommand.placeFeature(CommandSourceStack source, Holder<Feature> featureHolder, BlockPos pos) static intPlaceCommand.placeJigsaw(CommandSourceStack source, Holder<StructureTemplatePool> pool, Identifier target, int maxDepth, BlockPos pos) private static voidComputeCommand.printExactOutput(CommandSourceStack source, Holder<?> provider, int result) private static voidComputeCommand.printRoundedOutput(CommandSourceStack source, Holder<?> provider, int result, float original) private static intTimeCommand.queryTime(CommandSourceStack source, Holder<WorldClock> clock) private static intTimeCommand.queryTimelineRepetitions(CommandSourceStack source, Holder<WorldClock> clock, Holder<Timeline> timeline) private static intTimeCommand.queryTimelineTicks(CommandSourceStack source, Holder<WorldClock> clock, Holder<Timeline> timeline) private static intAttributeCommand.removeModifier(CommandSourceStack source, Entity target, Holder<Attribute> attribute, Identifier id) private static intAttributeCommand.resetAttributeBase(CommandSourceStack source, Entity target, Holder<Attribute> attribute) private static intAttributeCommand.setAttributeBase(CommandSourceStack source, Entity target, Holder<Attribute> attribute, double value) private static intTimeCommand.setPaused(CommandSourceStack source, Holder<WorldClock> clock, boolean paused) private static intTimeCommand.setRate(CommandSourceStack source, Holder<WorldClock> clock, float rate) private static intTimeCommand.setTimeToTimeMarker(CommandSourceStack source, Holder<WorldClock> clock, ResourceKey<ClockTimeMarker> timeMarkerId) private static intTimeCommand.setTotalTicks(CommandSourceStack source, Holder<WorldClock> clock, int totalTicks) private static intDebugConfigCommand.showDialog(CommandSourceStack source, UUID target, Holder<Dialog> dialog) private static intDialogCommand.showDialog(CommandSourceStack sender, Collection<ServerPlayer> targets, Holder<Dialog> dialog) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> TimeCommand.suggestTimelines(CommandSourceStack source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Holder<WorldClock> clock) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> TimeCommand.suggestTimeMarkers(CommandSourceStack source, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Holder<WorldClock> clock) private static com.mojang.brigadier.exceptions.CommandSyntaxExceptionComputeCommand.throwInvalidValue(Holder<?> provider, String invalidValue) Method parameters in net.minecraft.server.commands with type arguments of type HolderModifier and TypeMethodDescriptionprivate static intFillBiomeCommand.fill(CommandSourceStack source, BlockPos rawFrom, BlockPos rawTo, Holder.Reference<Biome> biome, Predicate<Holder<Biome>> filter) static com.mojang.datafixers.util.Either<Integer, com.mojang.brigadier.exceptions.CommandSyntaxException> FillBiomeCommand.fill(ServerLevel level, BlockPos rawFrom, BlockPos rawTo, Holder<Biome> biome, Predicate<Holder<Biome>> filter, Consumer<Supplier<Component>> successMessageConsumer) private static BiomeResolverFillBiomeCommand.makeResolver(org.apache.commons.lang3.mutable.MutableInt count, ChunkAccess chunk, BoundingBox region, Holder<Biome> toFill, Predicate<Holder<Biome>> filter) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagArgument.Result<?> name, BlockPos sourcePos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) static intLocateCommand.showLocateResult(CommandSourceStack source, ResourceOrTagKeyArgument.Result<?> name, BlockPos sourcePos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, Duration taskDuration) private static intLocateCommand.showLocateResult(CommandSourceStack source, BlockPos sourcePos, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> found, String successMessageKey, boolean includeY, String foundName, Duration taskDuration) -
Uses of Holder in net.minecraft.server.commands.item
Methods in net.minecraft.server.commands.item with parameters of type HolderModifier and TypeMethodDescriptionprivate static Collection<ItemStack> ItemCommands.getItems(CommandSourceStack source, ItemAccessor<?> accessor, SlotSourceArgument.Result slotSource, @Nullable Holder<LootItemFunction> modifier) private static <Target> intItemCommands.modifyItems(CommandSourceStack source, ItemAccessor<Target> accessor, SlotSourceArgument.Result slotSource, Holder<LootItemFunction> modifier) -
Uses of Holder in net.minecraft.server.dialog
Fields in net.minecraft.server.dialog with type parameters of type HolderModifier and TypeFieldDescriptionDialog.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Dialog>> Dialog.STREAM_CODEC -
Uses of Holder in net.minecraft.server.level
Methods in net.minecraft.server.level that return HolderModifier and TypeMethodDescriptionServerLevel.getUncachedNoiseBiome(int quartX, int quartY, int quartZ) WorldGenRegion.getUncachedNoiseBiome(int quartX, int quartY, int quartZ) Methods in net.minecraft.server.level that return types with arguments of type HolderModifier and TypeMethodDescriptionServerLevel.findClosestBiome3d(Predicate<Holder<Biome>> biomeTest, BlockPos origin, int maxSearchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical) Methods in net.minecraft.server.level with parameters of type HolderModifier and TypeMethodDescriptionvoidServerLevel.explode(@Nullable Entity source, @Nullable DamageSource damageSource, @Nullable ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level.ExplosionInteraction interactionType, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, WeightedList<ExplosionParticleInfo> blockParticles, Holder<SoundEvent> explosionSound) voidServerLevel.gameEvent(Holder<GameEvent> gameEvent, Vec3 position, GameEvent.Context context) voidWorldGenRegion.gameEvent(Holder<GameEvent> gameEvent, Vec3 position, GameEvent.Context context) protected voidServerPlayer.onAttributeUpdated(Holder<Attribute> attribute) voidServerPlayer.openDialog(Holder<Dialog> dialog) voidServerLevel.playSeededSound(@Nullable Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) voidServerLevel.playSeededSound(@Nullable Entity except, Entity sourceEntity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) Method parameters in net.minecraft.server.level with type arguments of type Holder -
Uses of Holder in net.minecraft.sounds
Fields in net.minecraft.sounds declared as HolderModifier and TypeFieldDescriptionstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_CHAINstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_COPPERstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_DIAMONDstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_ELYTRAstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_GENERICstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_GOLDstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_IRONstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_LEATHERstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_NETHERITEstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_TURTLEstatic final Holder<SoundEvent> SoundEvents.ARMOR_EQUIP_WOLFstatic final Holder<SoundEvent> SoundEvents.CROSSBOW_LOADING_ENDstatic final Holder<SoundEvent> SoundEvents.CROSSBOW_LOADING_MIDDLEstatic final Holder<SoundEvent> SoundEvents.CROSSBOW_LOADING_STARTstatic final Holder<SoundEvent> SoundEvents.CROSSBOW_QUICK_CHARGE_1static final Holder<SoundEvent> SoundEvents.CROSSBOW_QUICK_CHARGE_2static final Holder<SoundEvent> SoundEvents.CROSSBOW_QUICK_CHARGE_3static final Holder<SoundEvent> SoundEvents.LUNGE_1static final Holder<SoundEvent> SoundEvents.LUNGE_2static final Holder<SoundEvent> SoundEvents.LUNGE_3private final Holder<SoundEvent> Music.soundThe field for thesoundrecord component.static final Holder<SoundEvent> SoundEvents.SPEAR_ATTACKstatic final Holder<SoundEvent> SoundEvents.SPEAR_HITstatic final Holder<SoundEvent> SoundEvents.SPEAR_USEstatic final Holder<SoundEvent> SoundEvents.SPEAR_WOOD_ATTACKstatic final Holder<SoundEvent> SoundEvents.SPEAR_WOOD_HITstatic final Holder<SoundEvent> SoundEvents.SPEAR_WOOD_USEstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_BOUNCY_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_BOUNCY_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_EXPLOSIVE_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_EXPLOSIVE_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_FAST_FLAT_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_FAST_FLAT_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_FAST_SLIDING_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_FAST_SLIDING_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_HIGH_RESISTANCE_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_HIGH_RESISTANCE_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_HOT_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_HOT_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_LIGHT_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_LIGHT_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_REGULAR_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_REGULAR_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_SLOW_BOUNCY_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_SLOW_BOUNCY_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_SLOW_FLAT_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_SLOW_FLAT_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_SLOW_SLIDING_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_SLOW_SLIDING_PUSHstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_STICKY_HITstatic final Holder<SoundEvent> SoundEvents.SULFUR_CUBE_STICKY_PUSHstatic final Holder<SoundEvent> SoundEvents.TRIDENT_RIPTIDE_1static final Holder<SoundEvent> SoundEvents.TRIDENT_RIPTIDE_2static final Holder<SoundEvent> SoundEvents.TRIDENT_RIPTIDE_3static final Holder<SoundEvent> SoundEvents.TRIDENT_THROWstatic final Holder<SoundEvent> SoundEvents.TRIDENT_THUNDERFields in net.minecraft.sounds with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<SoundEvent>> SoundEvent.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<SoundEvent>> SoundEvent.STREAM_CODECMethods in net.minecraft.sounds that return HolderModifier and TypeMethodDescriptionprivate static Holder<SoundEvent> SoundEvents.register(Identifier id, Identifier soundId, float range) Music.sound()Returns the value of thesoundrecord component.Methods in net.minecraft.sounds with parameters of type HolderModifier and TypeMethodDescriptionstatic MusicMusics.createGameMusic(Holder<SoundEvent> soundEvent) Constructors in net.minecraft.sounds with parameters of type HolderModifierConstructorDescriptionMusic(Holder<SoundEvent> sound, int minDelay, int maxDelay, boolean replaceCurrentMusic) Creates an instance of aMusicrecord class. -
Uses of Holder in net.minecraft.tags
Fields in net.minecraft.tags with type parameters of type HolderModifier and TypeFieldDescriptionTagLoader.LoadResult.tagsThe field for thetagsrecord component.Methods in net.minecraft.tags that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic <T> TagLoader.ElementLookup<? extends Holder<T>> TagLoader.ElementLookup.fromFrozenRegistry(Registry<T> registry) static <T> TagLoader.ElementLookup<Holder<T>> TagLoader.ElementLookup.fromGetters(ResourceKey<? extends Registry<T>> registryKey, HolderGetter<T> writable, HolderGetter<T> immutable) static <T> TagLoader.ElementLookup<Holder<T>> TagLoader.ElementLookup.fromWritableRegistry(WritableRegistry<T> registry) TagLoader.loadTagsForRegistry(ResourceManager manager, ResourceKey<? extends Registry<T>> registryKey, TagLoader.ElementLookup<Holder<T>> lookup) TagLoader.loadTagsFromNetwork(TagNetworkSerialization.NetworkPayload tags, Registry<T> registry) TagLoader.LoadResult.tags()Returns the value of thetagsrecord component.TagLoader.wrapTags(ResourceKey<? extends Registry<T>> registryKey, Map<Identifier, List<Holder<T>>> tags) Method parameters in net.minecraft.tags with type arguments of type HolderModifier and TypeMethodDescriptionTagLoader.loadTagsForRegistry(ResourceManager manager, ResourceKey<? extends Registry<T>> registryKey, TagLoader.ElementLookup<Holder<T>> lookup) TagLoader.wrapTags(ResourceKey<? extends Registry<T>> registryKey, Map<Identifier, List<Holder<T>>> tags) Constructor parameters in net.minecraft.tags with type arguments of type HolderModifierConstructorDescriptionLoadResult(ResourceKey<? extends Registry<T>> key, Map<TagKey<T>, List<Holder<T>>> tags) Creates an instance of aLoadResultrecord class. -
Uses of Holder in net.minecraft.util
Methods in net.minecraft.util that return HolderModifier and TypeMethodDescriptionGsonHelper.convertToItem(JsonElement element, String name) GsonHelper.getAsItem(JsonObject object, String name) Methods in net.minecraft.util with parameters of type Holder -
Uses of Holder in net.minecraft.util.debug
Fields in net.minecraft.util.debug declared as HolderModifier and TypeFieldDescriptionDebugGameEventInfo.eventThe field for theeventrecord component.DebugPoiInfo.poiTypeThe field for thepoiTyperecord component.Methods in net.minecraft.util.debug that return HolderModifier and TypeMethodDescriptionDebugGameEventInfo.event()Returns the value of theeventrecord component.DebugPoiInfo.poiType()Returns the value of thepoiTyperecord component.Constructors in net.minecraft.util.debug with parameters of type HolderModifierConstructorDescriptionDebugGameEventInfo(Holder<GameEvent> event, Vec3 pos) Creates an instance of aDebugGameEventInforecord class.DebugPoiInfo(BlockPos pos, Holder<PoiType> poiType, int freeTicketCount) Creates an instance of aDebugPoiInforecord class. -
Uses of Holder in net.minecraft.util.profiling.jfr
Methods in net.minecraft.util.profiling.jfr with parameters of type HolderModifier and TypeMethodDescriptionJfrProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) JvmProfiler.NoOpProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) JvmProfiler.onStructureGenerate(ChunkPos sourceChunkPos, ResourceKey<Level> dimension, Holder<Structure> structure) -
Uses of Holder in net.minecraft.util.profiling.jfr.event
Constructors in net.minecraft.util.profiling.jfr.event with parameters of type HolderModifierConstructorDescriptionStructureGenerationEvent(ChunkPos sourceChunkPos, Holder<Structure> structure, ResourceKey<Level> level) -
Uses of Holder in net.minecraft.world.attribute
Fields in net.minecraft.world.attribute declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> AmbientAdditionsSettings.soundEventThe field for thesoundEventrecord component.private final Holder<SoundEvent> AmbientMoodSettings.soundEventThe field for thesoundEventrecord component.Fields in net.minecraft.world.attribute with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<SoundEvent>> AmbientSounds.loopThe field for thelooprecord component.Methods in net.minecraft.world.attribute that return HolderModifier and TypeMethodDescriptionAmbientAdditionsSettings.soundEvent()Returns the value of thesoundEventrecord component.AmbientMoodSettings.soundEvent()Returns the value of thesoundEventrecord component.Methods in net.minecraft.world.attribute that return types with arguments of type HolderModifier and TypeMethodDescriptionAmbientSounds.loop()Returns the value of thelooprecord component.Methods in net.minecraft.world.attribute with parameters of type HolderModifier and TypeMethodDescriptionEnvironmentAttributeSystem.Builder.addTimelineLayer(Holder<Timeline> timeline, ClockManager clockManager) private <Value> voidEnvironmentAttributeSystem.Builder.addTimelineLayerForAttribute(Holder<Timeline> timeline, EnvironmentAttribute<Value> attribute, ClockManager clockManager) Constructors in net.minecraft.world.attribute with parameters of type HolderModifierConstructorDescriptionAmbientAdditionsSettings(Holder<SoundEvent> soundEvent, double tickChance) Creates an instance of aAmbientAdditionsSettingsrecord class.AmbientMoodSettings(Holder<SoundEvent> soundEvent, int tickDelay, int blockSearchExtent, double soundPositionOffset) Creates an instance of aAmbientMoodSettingsrecord class.BackgroundMusic(Holder<SoundEvent> sound) Constructor parameters in net.minecraft.world.attribute with type arguments of type HolderModifierConstructorDescriptionAmbientSounds(Optional<Holder<SoundEvent>> loop, Optional<AmbientMoodSettings> mood, List<AmbientAdditionsSettings> additions) Creates an instance of aAmbientSoundsrecord class. -
Uses of Holder in net.minecraft.world.clock
Fields in net.minecraft.world.clock declared as HolderModifier and TypeFieldDescriptionprivate final Holder<WorldClock> ClockTimeMarker.clockThe field for theclockrecord component.private final @Nullable Holder<WorldClock> ServerClockManager.ServerClockInstance.holderFields in net.minecraft.world.clock with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<WorldClock>, ClockState> PackedClockStates.clocksThe field for theclocksrecord component.private final Map<Holder<WorldClock>, ServerClockManager.ServerClockInstance> ServerClockManager.clocksstatic final com.mojang.serialization.Codec<Holder<WorldClock>> WorldClock.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<WorldClock>> WorldClock.STREAM_CODECMethods in net.minecraft.world.clock that return HolderModifier and TypeMethodDescriptionClockTimeMarker.clock()Returns the value of theclockrecord component.Methods in net.minecraft.world.clock that return types with arguments of type HolderModifier and TypeMethodDescriptionPackedClockStates.clocks()Returns the value of theclocksrecord component.Methods in net.minecraft.world.clock with parameters of type HolderModifier and TypeMethodDescriptionvoidServerClockManager.addTicks(Holder<WorldClock> clock, int ticks) ServerClockManager.commandTimeMarkersForClock(Holder<WorldClock> clock) ClockManager.getInstance(Holder<WorldClock> definition) ServerClockManager.getInstance(Holder<WorldClock> definition) booleanServerClockManager.isAtTimeMarker(Holder<WorldClock> clock, ResourceKey<ClockTimeMarker> timeMarkerId) private voidServerClockManager.modifyClock(Holder<WorldClock> clock, Consumer<? super ServerClockManager.ServerClockInstance> action) ServerClockManager.moveToTimeMarker(Holder<WorldClock> clock, ResourceKey<ClockTimeMarker> timeMarkerId) voidServerClockManager.setPaused(Holder<WorldClock> clock, boolean paused) default voidClockManager.setRate(Holder<WorldClock> definition, float rate) voidServerClockManager.setRate(Holder<WorldClock> clock, float rate) This allows mods to set the rate at which a specific clock advances relative to game time.voidServerClockManager.setTotalTicks(Holder<WorldClock> clock, long totalTicks) Constructors in net.minecraft.world.clock with parameters of type HolderModifierConstructorDescriptionClockTimeMarker(Holder<WorldClock> clock, int ticks, Optional<Integer> periodTicks, boolean showInCommands) Creates an instance of aClockTimeMarkerrecord class.ServerClockInstance(Holder<WorldClock> holder) Constructor parameters in net.minecraft.world.clock with type arguments of type HolderModifierConstructorDescriptionPackedClockStates(Map<Holder<WorldClock>, ClockState> clocks) Creates an instance of aPackedClockStatesrecord class. -
Uses of Holder in net.minecraft.world.damagesource
Fields in net.minecraft.world.damagesource declared as HolderFields in net.minecraft.world.damagesource with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<DamageType>> DamageType.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<DamageType>> DamageType.STREAM_CODECMethods in net.minecraft.world.damagesource that return HolderConstructors in net.minecraft.world.damagesource with parameters of type HolderModifierConstructorDescriptionDamageSource(Holder<DamageType> type) DamageSource(Holder<DamageType> type, @Nullable Entity causingEntity) DamageSource(Holder<DamageType> type, @Nullable Entity directEntity, @Nullable Entity causingEntity) DamageSource(Holder<DamageType> type, @Nullable Entity directEntity, @Nullable Entity causingEntity, @Nullable Vec3 damageSourcePosition) DamageSource(Holder<DamageType> type, Vec3 damageSourcePosition) -
Uses of Holder in net.minecraft.world.effect
Fields in net.minecraft.world.effect declared as HolderModifier and TypeFieldDescriptionMobEffects.ABSORPTIONMobEffects.BAD_OMENMobEffects.BLINDNESSMobEffects.BREATH_OF_THE_NAUTILUSMobEffects.CONDUIT_POWERMobEffects.DARKNESSMobEffects.DOLPHINS_GRACEMobEffectInstance.effectMobEffects.FIRE_RESISTANCEMobEffects.GLOWINGMobEffects.HASTEMobEffects.HEALTH_BOOSTMobEffects.HERO_OF_THE_VILLAGEMobEffects.HUNGERMobEffects.INFESTEDMobEffects.INSTANT_DAMAGEMobEffects.INSTANT_HEALTHMobEffects.INVISIBILITYMobEffects.JUMP_BOOSTMobEffects.LEVITATIONMobEffects.LUCKMobEffects.MINING_FATIGUEMobEffects.NAUSEAMobEffects.NIGHT_VISIONMobEffects.OOZINGMobEffects.POISONMobEffects.RAID_OMENMobEffects.REGENERATIONMobEffects.RESISTANCEMobEffects.SATURATIONMobEffects.SLOW_FALLINGMobEffects.SLOWNESSMobEffects.SPEEDMobEffects.STRENGTHMobEffects.TRIAL_OMENMobEffects.UNLUCKMobEffects.WATER_BREATHINGMobEffects.WEAKNESSMobEffects.WEAVINGMobEffects.WIND_CHARGEDMobEffects.WITHERFields in net.minecraft.world.effect with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<Attribute>, MobEffect.AttributeTemplate> MobEffect.attributeModifiersMobEffect.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<MobEffect>> MobEffect.STREAM_CODECMethods in net.minecraft.world.effect that return HolderMethods in net.minecraft.world.effect with parameters of type HolderModifier and TypeMethodDescriptionMobEffect.addAttributeModifier(Holder<Attribute> attribute, Identifier id, double amount, AttributeModifier.Operation operation) MobEffect.addAttributeModifier(Holder<Attribute> attribute, Identifier id, AttributeModifier.Operation operation, it.unimi.dsi.fastutil.ints.Int2DoubleFunction curve) Neo: attribute template with custom level curve, for mob effects providing non-linear attribute modifiers.booleanMethod parameters in net.minecraft.world.effect with type arguments of type HolderModifier and TypeMethodDescriptionvoidMobEffect.createModifiers(int amplifier, BiConsumer<Holder<Attribute>, AttributeModifier> consumer) Constructors in net.minecraft.world.effect with parameters of type HolderModifierConstructorDescriptionMobEffectInstance(Holder<MobEffect> effect) MobEffectInstance(Holder<MobEffect> effect, int duration) MobEffectInstance(Holder<MobEffect> effect, int duration, int amplifier) MobEffectInstance(Holder<MobEffect> effect, int duration, int amplifier, boolean ambient, boolean visible) MobEffectInstance(Holder<MobEffect> effect, int duration, int amplifier, boolean ambient, boolean visible, boolean showIcon) MobEffectInstance(Holder<MobEffect> effect, int duration, int amplifier, boolean ambient, boolean visible, boolean showIcon, @Nullable MobEffectInstance hiddenEffect) privateMobEffectInstance(Holder<MobEffect> effect, MobEffectInstance.Details details) -
Uses of Holder in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as HolderModifier and TypeFieldDescriptionSulfurCubeArchetype.AttributeEntry.attributeThe field for theattributerecord component.private final Holder<DamageType> SulfurCubeArchetype.ContactDamage.damageTypeThe field for thedamageTyperecord component.EntityFluidInteraction.Tracker.fluidTypeprivate final Holder<SoundEvent> SulfurCubeArchetype.SoundSettings.hitSoundThe field for thehitSoundrecord component.private final Holder<SoundEvent> SulfurCubeArchetype.SoundSettings.pushSoundThe field for thepushSoundrecord component.Fields in net.minecraft.world.entity with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<MobEffect>, MobEffectInstance> LivingEntity.activeEffectsMethods in net.minecraft.world.entity that return HolderModifier and TypeMethodDescriptionSulfurCubeArchetype.AttributeEntry.attribute()Returns the value of theattributerecord component.SulfurCubeArchetype.ContactDamage.damageType()Returns the value of thedamageTyperecord component.protected Holder<SoundEvent> LivingEntity.getEquipSound(EquipmentSlot slot, ItemStack stack, Equippable equippable) SulfurCubeArchetype.SoundSettings.hitSound()Returns the value of thehitSoundrecord component.SulfurCubeArchetype.SoundSettings.pushSound()Returns the value of thepushSoundrecord component.Holder<EntityType<?>> Entity.typeHolder()Methods in net.minecraft.world.entity that return types with arguments of type HolderMethods in net.minecraft.world.entity with parameters of type HolderModifier and TypeMethodDescriptionSulfurCubeArchetype.AttributeEntry.add(Holder<Attribute> attribute, double amount, ResourceKey<SulfurCubeArchetype> archetype) private static Function<ResourceKey<SulfurCubeArchetype>, SulfurCubeArchetype.AttributeEntry> voidvoidprivate doubleMob.getApproximateAttributeWith(ItemStack itemStack, Holder<Attribute> attribute, EquipmentSlot slot) LivingEntity.getAttribute(Holder<Attribute> attribute) doubleLivingEntity.getAttributeBaseValue(Holder<Attribute> attribute) doubleLivingEntity.getAttributeValue(Holder<Attribute> attribute) EntityFluidInteraction.getCurrentAccumulatorFor(Holder<Fluid> fluid) Deprecated.floatLivingEntity.getEffectBlendFactor(Holder<MobEffect> effect, float partialTicks) private EntityFluidInteraction.TrackerEntityFluidInteraction.getOrCreateTrackerFor(Holder<Fluid> fluidType) booleanSulfurCubeArchetype.AttributeEntry.multiply(Holder<Attribute> attribute, double amount, ResourceKey<SulfurCubeArchetype> archetype) private static Function<ResourceKey<SulfurCubeArchetype>, SulfurCubeArchetype.AttributeEntry> protected voidLivingEntity.onAttributeUpdated(Holder<Attribute> attribute) protected voidMob.onAttributeUpdated(Holder<Attribute> attribute) booleanLivingEntity.removeEffect(Holder<MobEffect> effect) final @Nullable MobEffectInstanceLivingEntity.removeEffectNoUpdate(Holder<MobEffect> effect) private static SulfurCubeArchetype.SoundSettingsSulfurCubeArchetypes.soundSettings(Holder<SoundEvent> hitSound, Holder<SoundEvent> pushSound, float threshold, float cooldown) Constructors in net.minecraft.world.entity with parameters of type HolderModifierConstructorDescriptionAttributeEntry(Holder<Attribute> attribute, AttributeModifier modifier) Creates an instance of aAttributeEntryrecord class.ContactDamage(Holder<DamageType> damageType, FloatProvider amount, boolean attributeToSource) Creates an instance of aContactDamagerecord class.SoundSettings(Holder<SoundEvent> hitSound, Holder<SoundEvent> pushSound, float pushSoundImpulseThreshold, float pushSoundCooldown) Creates an instance of aSoundSettingsrecord class. -
Uses of Holder in net.minecraft.world.entity.ai.attributes
Fields in net.minecraft.world.entity.ai.attributes declared as HolderModifier and TypeFieldDescriptionAttributes.AIR_DRAG_MODIFIERAttributes.ARMORAttributes.ARMOR_TOUGHNESSAttributes.ATTACK_DAMAGEAttributes.ATTACK_KNOCKBACKAttributes.ATTACK_SPEEDAttributeInstance.attributeAttributeInstance.Packed.attributeThe field for theattributerecord component.Attributes.BELOW_NAME_DISTANCEAttributes.BLOCK_BREAK_SPEEDAttributes.BLOCK_INTERACTION_RANGEAttributes.BOUNCINESSAttributes.BURNING_TIMEAttributes.CAMERA_DISTANCEAttributes.ENTITY_INTERACTION_RANGEAttributes.EXPLOSION_KNOCKBACK_RESISTANCEAttributes.FALL_DAMAGE_MULTIPLIERAttributes.FLYING_SPEEDAttributes.FOLLOW_RANGEAttributes.FRICTION_MODIFIERAttributes.GRAVITYAttributes.JUMP_STRENGTHAttributes.KNOCKBACK_RESISTANCEAttributes.LUCKAttributes.MAX_ABSORPTIONAttributes.MAX_HEALTHAttributes.MINING_EFFICIENCYAttributes.MOVEMENT_EFFICIENCYAttributes.MOVEMENT_SPEEDAttributes.NAME_TAG_DISTANCEAttributes.OXYGEN_BONUSAttributes.SAFE_FALL_DISTANCEAttributes.SCALEAttributes.SNEAKING_SPEEDAttributes.SPAWN_REINFORCEMENTS_CHANCEAttributes.STEP_HEIGHTAttributes.SUBMERGED_MINING_SPEEDAttributes.SWEEPING_DAMAGE_RATIOAttributes.TEMPT_RANGEAttributes.WATER_MOVEMENT_EFFICIENCYAttributes.WAYPOINT_RECEIVE_RANGEAttributes.WAYPOINT_TRANSMIT_RANGEFields in net.minecraft.world.entity.ai.attributes with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<Attribute>, AttributeInstance> AttributeMap.attributesprivate final Map<Holder<Attribute>, AttributeInstance> AttributeSupplier.Builder.builderAttribute.CODECprivate final Map<Holder<Attribute>, AttributeInstance> AttributeSupplier.instancesstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Attribute>> Attribute.STREAM_CODECMethods in net.minecraft.world.entity.ai.attributes that return HolderModifier and TypeMethodDescriptionAttributeInstance.Packed.attribute()Returns the value of theattributerecord component.AttributeInstance.getAttribute()Methods in net.minecraft.world.entity.ai.attributes with parameters of type HolderModifier and TypeMethodDescriptionprivate AttributeInstanceAttributeSupplier.createInstance(Consumer<AttributeInstance> onDirty, Holder<Attribute> attribute) private AttributeInstanceAttributeSupplier.getAttributeInstance(Holder<Attribute> attribute) doubleAttributeMap.getBaseValue(Holder<Attribute> attribute) doubleAttributeSupplier.getBaseValue(Holder<Attribute> attribute) AttributeMap.getInstance(Holder<Attribute> attribute) doubleAttributeMap.getModifierValue(Holder<Attribute> attribute, Identifier id) doubleAttributeSupplier.getModifierValue(Holder<Attribute> attribute, Identifier id) doubledoublebooleanAttributeMap.hasAttribute(Holder<Attribute> attribute) booleanAttributeSupplier.Builder.hasAttribute(Holder<Attribute> attribute) booleanAttributeSupplier.hasAttribute(Holder<Attribute> attribute) booleanAttributeMap.hasModifier(Holder<Attribute> attribute, Identifier id) booleanAttributeSupplier.hasModifier(Holder<Attribute> attribute, Identifier modifier) booleanAttributeMap.resetBaseValue(Holder<Attribute> attribute) Method parameters in net.minecraft.world.entity.ai.attributes with type arguments of type HolderModifier and TypeMethodDescriptionvoidAttributeMap.addTransientAttributeModifiers(Multimap<Holder<Attribute>, AttributeModifier> modifiers) voidAttributeMap.removeAttributeModifiers(Multimap<Holder<Attribute>, AttributeModifier> modifiers) Constructors in net.minecraft.world.entity.ai.attributes with parameters of type HolderModifierConstructorDescriptionAttributeInstance(Holder<Attribute> attribute, Consumer<AttributeInstance> onDirty) Packed(Holder<Attribute> attribute, double baseValue, List<AttributeModifier> modifiers) Creates an instance of aPackedrecord class.Constructor parameters in net.minecraft.world.entity.ai.attributes with type arguments of type HolderModifierConstructorDescriptionprivateAttributeSupplier(Map<Holder<Attribute>, AttributeInstance> instances) -
Uses of Holder in net.minecraft.world.entity.ai.behavior
Methods in net.minecraft.world.entity.ai.behavior with parameters of type HolderModifier and TypeMethodDescriptionprivate booleanprivate static booleanPoiCompetitorScan.competesForSameJobsite(GlobalPos pos, Holder<PoiType> poiType, Villager nearbyVillager) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getCorePackage(Holder<VillagerProfession> profession, float speedModifier) static ImmutableList<com.mojang.datafixers.util.Pair<Integer, ? extends BehaviorControl<? super Villager>>> VillagerGoalPackages.getWorkPackage(Holder<VillagerProfession> profession, float speedModifier) private static booleanPoiCompetitorScan.hasMatchingProfession(Holder<PoiType> poiType, Holder<VillagerProfession> profession) private static booleanYieldJobSite.nearbyWantsJobsite(Holder<PoiType> type, Villager nearbyVillager, BlockPos poiPos) Method parameters in net.minecraft.world.entity.ai.behavior with type arguments of type HolderModifier and TypeMethodDescriptionstatic BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent, BiPredicate<ServerLevel, BlockPos> validPoi) static BehaviorControl<PathfinderMob> AcquirePoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryToValidate, MemoryModuleType<GlobalPos> memoryToAcquire, boolean onlyIfAdult, Optional<Byte> onPoiAcquisitionEvent, BiPredicate<ServerLevel, BlockPos> validPoi) static BehaviorControl<LivingEntity> ValidateNearbyPoi.create(Predicate<Holder<PoiType>> poiType, MemoryModuleType<GlobalPos> memoryType) AcquirePoi.findPathToPois(Mob body, Set<com.mojang.datafixers.util.Pair<Holder<PoiType>, BlockPos>> pois) -
Uses of Holder in net.minecraft.world.entity.ai.village.poi
Fields in net.minecraft.world.entity.ai.village.poi declared as HolderModifier and TypeFieldDescriptionPoiRecord.Packed.poiTypeThe field for thepoiTyperecord component.PoiRecord.poiTypeFields in net.minecraft.world.entity.ai.village.poi with type parameters of type HolderModifier and TypeFieldDescriptionPoiSection.byTypePoiType.NONEprivate static final Map<BlockState, Holder<PoiType>> PoiTypes.TYPE_BY_STATEMethods in net.minecraft.world.entity.ai.village.poi that return HolderModifier and TypeMethodDescriptionPoiRecord.getPoiType()PoiRecord.Packed.poiType()Returns the value of thepoiTyperecord component.Methods in net.minecraft.world.entity.ai.village.poi that return types with arguments of type HolderModifier and TypeMethodDescriptionPoiManager.findAllClosestFirstWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAllWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosestWithType(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiTypes.forState(BlockState state) Methods in net.minecraft.world.entity.ai.village.poi with parameters of type HolderModifier and TypeMethodDescriptionprivate static voidPoiTypes.registerBlockStates(Holder<PoiType> type, Set<BlockState> matchingStates) Method parameters in net.minecraft.world.entity.ai.village.poi with type arguments of type HolderModifier and TypeMethodDescriptionbooleanbooleanPoiManager.find(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAll(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAllClosestFirstWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findAllWithType(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosest(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosest(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.findClosestWithType(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) longPoiManager.getCountInRange(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.getInChunk(Predicate<Holder<PoiType>> predicate, ChunkPos chunkPos, PoiManager.Occupancy occupancy) PoiManager.getInRange(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.getInSquare(Predicate<Holder<PoiType>> predicate, BlockPos center, int radius, PoiManager.Occupancy occupancy) PoiManager.getRandom(Predicate<Holder<PoiType>> predicate, Predicate<BlockPos> filter, PoiManager.Occupancy occupancy, BlockPos center, int radius, RandomSource random) PoiSection.getRecords(Predicate<Holder<PoiType>> predicate, PoiManager.Occupancy occupancy) voidPoiManager.take(Predicate<Holder<PoiType>> predicate, BiPredicate<Holder<PoiType>, BlockPos> filter, BlockPos center, int radius) PoiManager.take(Predicate<Holder<PoiType>> predicate, BiPredicate<Holder<PoiType>, BlockPos> filter, BlockPos center, int radius) private voidPoiManager.updateFromSection(LevelChunkSection blockSection, SectionPos pos, BiConsumer<BlockPos, Holder<PoiType>> output) Constructors in net.minecraft.world.entity.ai.village.poi with parameters of type HolderModifierConstructorDescriptionCreates an instance of aPackedrecord class.private -
Uses of Holder in net.minecraft.world.entity.animal.allay
Methods in net.minecraft.world.entity.animal.allay with parameters of type HolderModifier and TypeMethodDescriptionbooleanAllay.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, GameEvent.Context context) booleanAllay.JukeboxListener.handleGameEvent(ServerLevel level, Holder<GameEvent> event, GameEvent.Context context, Vec3 sourcePosition) voidAllay.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) -
Uses of Holder in net.minecraft.world.entity.animal.camel
Methods in net.minecraft.world.entity.animal.camel that return HolderModifier and TypeMethodDescriptionprotected Holder<SoundEvent> Camel.getEquipSound(EquipmentSlot slot, ItemStack stack, Equippable equippable) -
Uses of Holder in net.minecraft.world.entity.animal.chicken
Fields in net.minecraft.world.entity.animal.chicken declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> ChickenSoundVariant.ChickenSoundSet.ambientSoundThe field for theambientSoundrecord component.private final Holder<SoundEvent> ChickenSoundVariant.ChickenSoundSet.deathSoundThe field for thedeathSoundrecord component.private final Holder<SoundEvent> ChickenSoundVariant.ChickenSoundSet.hurtSoundThe field for thehurtSoundrecord component.private final Holder<SoundEvent> ChickenSoundVariant.ChickenSoundSet.stepSoundThe field for thestepSoundrecord component.Fields in net.minecraft.world.entity.animal.chicken with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<ChickenSoundVariant>> ChickenSoundVariant.CODECstatic final com.mojang.serialization.Codec<Holder<ChickenVariant>> ChickenVariant.CODECprivate static final EntityDataAccessor<Holder<ChickenSoundVariant>> Chicken.DATA_SOUND_VARIANT_IDprivate static final EntityDataAccessor<Holder<ChickenVariant>> Chicken.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ChickenSoundVariant>> ChickenSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ChickenVariant>> ChickenVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.chicken that return HolderModifier and TypeMethodDescriptionChickenSoundVariant.ChickenSoundSet.ambientSound()Returns the value of theambientSoundrecord component.ChickenSoundVariant.ChickenSoundSet.deathSound()Returns the value of thedeathSoundrecord component.private Holder<ChickenSoundVariant> Chicken.getSoundVariant()Chicken.getVariant()ChickenSoundVariant.ChickenSoundSet.hurtSound()Returns the value of thehurtSoundrecord component.static Holder<ChickenSoundVariant> ChickenSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) ChickenSoundVariant.ChickenSoundSet.stepSound()Returns the value of thestepSoundrecord component.Methods in net.minecraft.world.entity.animal.chicken with parameters of type HolderModifier and TypeMethodDescriptionprivate voidChicken.setSoundVariant(Holder<ChickenSoundVariant> soundVariant) voidChicken.setVariant(Holder<ChickenVariant> variant) Constructors in net.minecraft.world.entity.animal.chicken with parameters of type HolderModifierConstructorDescriptionChickenSoundSet(Holder<SoundEvent> ambientSound, Holder<SoundEvent> hurtSound, Holder<SoundEvent> deathSound, Holder<SoundEvent> stepSound) Creates an instance of aChickenSoundSetrecord class. -
Uses of Holder in net.minecraft.world.entity.animal.cow
Fields in net.minecraft.world.entity.animal.cow declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> CowSoundVariant.ambientSoundThe field for theambientSoundrecord component.private final Holder<SoundEvent> CowSoundVariant.deathSoundThe field for thedeathSoundrecord component.private final Holder<SoundEvent> CowSoundVariant.hurtSoundThe field for thehurtSoundrecord component.private final Holder<SoundEvent> CowSoundVariant.stepSoundThe field for thestepSoundrecord component.Fields in net.minecraft.world.entity.animal.cow with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<CowSoundVariant>> CowSoundVariant.CODECstatic final com.mojang.serialization.Codec<Holder<CowVariant>> CowVariant.CODECprivate static final EntityDataAccessor<Holder<CowSoundVariant>> private static final EntityDataAccessor<Holder<CowVariant>> Cow.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CowSoundVariant>> CowSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CowVariant>> CowVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.cow that return HolderModifier and TypeMethodDescriptionCowSoundVariant.ambientSound()Returns the value of theambientSoundrecord component.CowSoundVariant.deathSound()Returns the value of thedeathSoundrecord component.private Holder<CowSoundVariant> Cow.getSoundVariant()Cow.getVariant()CowSoundVariant.hurtSound()Returns the value of thehurtSoundrecord component.static Holder<CowSoundVariant> CowSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) CowSoundVariant.stepSound()Returns the value of thestepSoundrecord component.Methods in net.minecraft.world.entity.animal.cow with parameters of type HolderModifier and TypeMethodDescriptionprivate voidCow.setSoundVariant(Holder<CowSoundVariant> soundVariant) voidCow.setVariant(Holder<CowVariant> variant) Constructors in net.minecraft.world.entity.animal.cow with parameters of type HolderModifierConstructorDescriptionCowSoundVariant(Holder<SoundEvent> ambientSound, Holder<SoundEvent> hurtSound, Holder<SoundEvent> deathSound, Holder<SoundEvent> stepSound) Creates an instance of aCowSoundVariantrecord class. -
Uses of Holder in net.minecraft.world.entity.animal.equine
Methods in net.minecraft.world.entity.animal.equine that return HolderModifier and TypeMethodDescriptionprotected Holder<SoundEvent> AbstractHorse.getEquipSound(EquipmentSlot slot, ItemStack stack, Equippable equippable) Methods in net.minecraft.world.entity.animal.equine with parameters of type HolderModifier and TypeMethodDescriptionprivate voidAbstractHorse.setOffspringAttribute(AgeableMob partner, AbstractHorse baby, Holder<Attribute> attribute, double attributeRangeMin, double attributeRangeMax) -
Uses of Holder in net.minecraft.world.entity.animal.feline
Fields in net.minecraft.world.entity.animal.feline declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> CatSoundVariant.CatSoundSet.ambientSoundThe field for theambientSoundrecord component.private final Holder<SoundEvent> CatSoundVariant.CatSoundSet.begForFoodSoundThe field for thebegForFoodSoundrecord component.private final Holder<SoundEvent> CatSoundVariant.CatSoundSet.deathSoundThe field for thedeathSoundrecord component.private final Holder<SoundEvent> CatSoundVariant.CatSoundSet.eatSoundThe field for theeatSoundrecord component.private final Holder<SoundEvent> CatSoundVariant.CatSoundSet.hissSoundThe field for thehissSoundrecord component.private final Holder<SoundEvent> CatSoundVariant.CatSoundSet.hurtSoundThe field for thehurtSoundrecord component.private final Holder<SoundEvent> CatSoundVariant.CatSoundSet.purreowSoundThe field for thepurreowSoundrecord component.private final Holder<SoundEvent> CatSoundVariant.CatSoundSet.purrSoundThe field for thepurrSoundrecord component.private final Holder<SoundEvent> CatSoundVariant.CatSoundSet.strayAmbientSoundThe field for thestrayAmbientSoundrecord component.Fields in net.minecraft.world.entity.animal.feline with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<CatSoundVariant>> CatSoundVariant.CODECstatic final com.mojang.serialization.Codec<Holder<CatVariant>> CatVariant.CODECprivate static final EntityDataAccessor<Holder<CatSoundVariant>> private static final EntityDataAccessor<Holder<CatVariant>> Cat.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CatSoundVariant>> CatSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<CatVariant>> CatVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.feline that return HolderModifier and TypeMethodDescriptionCatSoundVariant.CatSoundSet.ambientSound()Returns the value of theambientSoundrecord component.CatSoundVariant.CatSoundSet.begForFoodSound()Returns the value of thebegForFoodSoundrecord component.CatSoundVariant.CatSoundSet.deathSound()Returns the value of thedeathSoundrecord component.CatSoundVariant.CatSoundSet.eatSound()Returns the value of theeatSoundrecord component.private Holder<CatSoundVariant> Cat.getSoundVariant()Cat.getVariant()CatSoundVariant.CatSoundSet.hissSound()Returns the value of thehissSoundrecord component.CatSoundVariant.CatSoundSet.hurtSound()Returns the value of thehurtSoundrecord component.static Holder<CatSoundVariant> CatSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) CatSoundVariant.CatSoundSet.purreowSound()Returns the value of thepurreowSoundrecord component.CatSoundVariant.CatSoundSet.purrSound()Returns the value of thepurrSoundrecord component.CatSoundVariant.CatSoundSet.strayAmbientSound()Returns the value of thestrayAmbientSoundrecord component.Methods in net.minecraft.world.entity.animal.feline with parameters of type HolderModifier and TypeMethodDescriptionprivate voidCat.setSoundVariant(Holder<CatSoundVariant> soundVariant) private voidCat.setVariant(Holder<CatVariant> variant) Constructors in net.minecraft.world.entity.animal.feline with parameters of type HolderModifierConstructorDescriptionCatSoundSet(Holder<SoundEvent> ambientSound, Holder<SoundEvent> strayAmbientSound, Holder<SoundEvent> hissSound, Holder<SoundEvent> hurtSound, Holder<SoundEvent> deathSound, Holder<SoundEvent> eatSound, Holder<SoundEvent> begForFoodSound, Holder<SoundEvent> purrSound, Holder<SoundEvent> purreowSound) Creates an instance of aCatSoundSetrecord class. -
Uses of Holder in net.minecraft.world.entity.animal.fox
Methods in net.minecraft.world.entity.animal.fox with parameters of type Holder -
Uses of Holder in net.minecraft.world.entity.animal.frog
Fields in net.minecraft.world.entity.animal.frog with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<FrogVariant>> FrogVariant.CODECprivate static final EntityDataAccessor<Holder<FrogVariant>> Frog.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<FrogVariant>> FrogVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.frog that return HolderMethods in net.minecraft.world.entity.animal.frog with parameters of type Holder -
Uses of Holder in net.minecraft.world.entity.animal.nautilus
Fields in net.minecraft.world.entity.animal.nautilus with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<ZombieNautilusVariant>> ZombieNautilusVariant.CODECprivate static final EntityDataAccessor<Holder<ZombieNautilusVariant>> ZombieNautilus.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<ZombieNautilusVariant>> ZombieNautilusVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.nautilus that return HolderModifier and TypeMethodDescriptionprotected Holder<SoundEvent> AbstractNautilus.getEquipSound(EquipmentSlot slot, ItemStack stack, Equippable equippable) ZombieNautilus.getVariant()Methods in net.minecraft.world.entity.animal.nautilus with parameters of type HolderModifier and TypeMethodDescriptionvoidZombieNautilus.setVariant(Holder<ZombieNautilusVariant> variant) -
Uses of Holder in net.minecraft.world.entity.animal.pig
Fields in net.minecraft.world.entity.animal.pig declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> PigSoundVariant.PigSoundSet.ambientSoundThe field for theambientSoundrecord component.private final Holder<SoundEvent> PigSoundVariant.PigSoundSet.deathSoundThe field for thedeathSoundrecord component.private final Holder<SoundEvent> PigSoundVariant.PigSoundSet.eatSoundThe field for theeatSoundrecord component.private final Holder<SoundEvent> PigSoundVariant.PigSoundSet.hurtSoundThe field for thehurtSoundrecord component.private final Holder<SoundEvent> PigSoundVariant.PigSoundSet.stepSoundThe field for thestepSoundrecord component.Fields in net.minecraft.world.entity.animal.pig with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<PigSoundVariant>> PigSoundVariant.CODECstatic final com.mojang.serialization.Codec<Holder<PigVariant>> PigVariant.CODECprivate static final EntityDataAccessor<Holder<PigSoundVariant>> private static final EntityDataAccessor<Holder<PigVariant>> Pig.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PigSoundVariant>> PigSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PigVariant>> PigVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.pig that return HolderModifier and TypeMethodDescriptionPigSoundVariant.PigSoundSet.ambientSound()Returns the value of theambientSoundrecord component.PigSoundVariant.PigSoundSet.deathSound()Returns the value of thedeathSoundrecord component.PigSoundVariant.PigSoundSet.eatSound()Returns the value of theeatSoundrecord component.protected Holder<SoundEvent> Pig.getEquipSound(EquipmentSlot slot, ItemStack stack, Equippable equippable) private Holder<PigSoundVariant> Pig.getSoundVariant()Pig.getVariant()PigSoundVariant.PigSoundSet.hurtSound()Returns the value of thehurtSoundrecord component.static Holder<PigSoundVariant> PigSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) PigSoundVariant.PigSoundSet.stepSound()Returns the value of thestepSoundrecord component.Methods in net.minecraft.world.entity.animal.pig with parameters of type HolderModifier and TypeMethodDescriptionprivate voidPig.setSoundVariant(Holder<PigSoundVariant> soundVariant) private voidPig.setVariant(Holder<PigVariant> variant) Constructors in net.minecraft.world.entity.animal.pig with parameters of type HolderModifierConstructorDescriptionPigSoundSet(Holder<SoundEvent> ambientSound, Holder<SoundEvent> hurtSound, Holder<SoundEvent> deathSound, Holder<SoundEvent> stepSound, Holder<SoundEvent> eatSound) Creates an instance of aPigSoundSetrecord class. -
Uses of Holder in net.minecraft.world.entity.animal.sheep
Methods in net.minecraft.world.entity.animal.sheep with parameters of type HolderModifier and TypeMethodDescriptionstatic DyeColorSheepColorSpawnRules.getSheepColor(Holder<Biome> biome, RandomSource random) private static SheepColorSpawnRules.SheepColorSpawnConfigurationSheepColorSpawnRules.getSheepColorConfiguration(Holder<Biome> biome) -
Uses of Holder in net.minecraft.world.entity.animal.wolf
Fields in net.minecraft.world.entity.animal.wolf declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> WolfSoundVariant.WolfSoundSet.ambientSoundThe field for theambientSoundrecord component.private final Holder<SoundEvent> WolfSoundVariant.WolfSoundSet.deathSoundThe field for thedeathSoundrecord component.private final Holder<SoundEvent> WolfSoundVariant.WolfSoundSet.growlSoundThe field for thegrowlSoundrecord component.private final Holder<SoundEvent> WolfSoundVariant.WolfSoundSet.hurtSoundThe field for thehurtSoundrecord component.private final Holder<SoundEvent> WolfSoundVariant.WolfSoundSet.pantSoundThe field for thepantSoundrecord component.private final Holder<SoundEvent> WolfSoundVariant.WolfSoundSet.stepSoundThe field for thestepSoundrecord component.final Holder<WolfVariant> Wolf.WolfPackData.typeprivate final Holder<SoundEvent> WolfSoundVariant.WolfSoundSet.whineSoundThe field for thewhineSoundrecord component.Fields in net.minecraft.world.entity.animal.wolf with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<WolfSoundVariant>> WolfSoundVariant.CODECstatic final com.mojang.serialization.Codec<Holder<WolfVariant>> WolfVariant.CODECprivate static final EntityDataAccessor<Holder<WolfSoundVariant>> private static final EntityDataAccessor<Holder<WolfVariant>> Wolf.DATA_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<WolfSoundVariant>> WolfSoundVariant.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<WolfVariant>> WolfVariant.STREAM_CODECMethods in net.minecraft.world.entity.animal.wolf that return HolderModifier and TypeMethodDescriptionWolfSoundVariant.WolfSoundSet.ambientSound()Returns the value of theambientSoundrecord component.WolfSoundVariant.WolfSoundSet.deathSound()Returns the value of thedeathSoundrecord component.private Holder<WolfSoundVariant> Wolf.getSoundVariant()private Holder<WolfVariant> Wolf.getVariant()WolfSoundVariant.WolfSoundSet.growlSound()Returns the value of thegrowlSoundrecord component.WolfSoundVariant.WolfSoundSet.hurtSound()Returns the value of thehurtSoundrecord component.WolfSoundVariant.WolfSoundSet.pantSound()Returns the value of thepantSoundrecord component.static Holder<WolfSoundVariant> WolfSoundVariants.pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) WolfSoundVariant.WolfSoundSet.stepSound()Returns the value of thestepSoundrecord component.WolfSoundVariant.WolfSoundSet.whineSound()Returns the value of thewhineSoundrecord component.Methods in net.minecraft.world.entity.animal.wolf with parameters of type HolderModifier and TypeMethodDescriptionprivate voidWolf.setSoundVariant(Holder<WolfSoundVariant> soundVariant) private voidWolf.setVariant(Holder<WolfVariant> variant) Constructors in net.minecraft.world.entity.animal.wolf with parameters of type HolderModifierConstructorDescriptionWolfPackData(Holder<WolfVariant> type) WolfSoundSet(Holder<SoundEvent> ambientSound, Holder<SoundEvent> deathSound, Holder<SoundEvent> growlSound, Holder<SoundEvent> hurtSound, Holder<SoundEvent> pantSound, Holder<SoundEvent> whineSound, Holder<SoundEvent> stepSound) Creates an instance of aWolfSoundSetrecord class. -
Uses of Holder in net.minecraft.world.entity.decoration.painting
Fields in net.minecraft.world.entity.decoration.painting with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<PaintingVariant>> PaintingVariant.CODECprivate static final EntityDataAccessor<Holder<PaintingVariant>> Painting.DATA_PAINTING_VARIANT_IDstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<PaintingVariant>> PaintingVariant.STREAM_CODECMethods in net.minecraft.world.entity.decoration.painting that return HolderMethods in net.minecraft.world.entity.decoration.painting with parameters of type HolderModifier and TypeMethodDescriptionprivate voidPainting.setVariant(Holder<PaintingVariant> variant) private static intPainting.variantArea(Holder<PaintingVariant> variant) Constructors in net.minecraft.world.entity.decoration.painting with parameters of type Holder -
Uses of Holder in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster that return HolderModifier and TypeMethodDescriptionprotected Holder<SoundEvent> Strider.getEquipSound(EquipmentSlot slot, ItemStack stack, Equippable equippable) -
Uses of Holder in net.minecraft.world.entity.monster.spider
Fields in net.minecraft.world.entity.monster.spider declared as Holder -
Uses of Holder in net.minecraft.world.entity.monster.warden
Methods in net.minecraft.world.entity.monster.warden with parameters of type HolderModifier and TypeMethodDescriptionbooleanWarden.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, GameEvent.Context context) voidWarden.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) -
Uses of Holder in net.minecraft.world.entity.npc.villager
Fields in net.minecraft.world.entity.npc.villager declared as HolderModifier and TypeFieldDescriptionprivate final Holder<VillagerProfession> VillagerData.professionThe field for theprofessionrecord component.private final Holder<VillagerType> VillagerData.typeThe field for thetyperecord component.Fields in net.minecraft.world.entity.npc.villager with type parameters of type HolderModifier and TypeFieldDescriptionVillagerProfession.acquirableJobSiteThe field for theacquirableJobSiterecord component.VillagerProfession.ALL_ACQUIRABLE_JOBSstatic final com.mojang.serialization.Codec<Holder<VillagerType>> VillagerType.CODECVillagerProfession.heldJobSiteThe field for theheldJobSiterecord component.static final Map<MemoryModuleType<GlobalPos>, BiPredicate<Villager, Holder<PoiType>>> Villager.POI_MEMORIESstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<VillagerType>> VillagerType.STREAM_CODECMethods in net.minecraft.world.entity.npc.villager that return HolderModifier and TypeMethodDescriptionVillagerData.profession()Returns the value of theprofessionrecord component.VillagerData.type()Returns the value of thetyperecord component.Methods in net.minecraft.world.entity.npc.villager that return types with arguments of type HolderModifier and TypeMethodDescriptionVillagerProfession.acquirableJobSite()Returns the value of theacquirableJobSiterecord component.VillagerProfession.heldJobSite()Returns the value of theheldJobSiterecord component.Methods in net.minecraft.world.entity.npc.villager with parameters of type HolderModifier and TypeMethodDescriptionstatic ResourceKey<VillagerType> VillagerData.withProfession(Holder<VillagerProfession> profession) VillagerData.withType(Holder<VillagerType> type) Method parameters in net.minecraft.world.entity.npc.villager with type arguments of type HolderModifier and TypeMethodDescriptionprivate static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound) private static VillagerProfessionVillagerProfession.register(Registry<VillagerProfession> registry, ResourceKey<VillagerProfession> name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> trades) Constructors in net.minecraft.world.entity.npc.villager with parameters of type HolderModifierConstructorDescriptionVillagerData(Holder<VillagerType> type, Holder<VillagerProfession> profession, int level) Creates an instance of aVillagerDatarecord class.Constructor parameters in net.minecraft.world.entity.npc.villager with type arguments of type HolderModifierConstructorDescriptionVillagerProfession(Component name, Predicate<Holder<PoiType>> heldJobSite, Predicate<Holder<PoiType>> acquirableJobSite, ImmutableSet<Item> requestedItems, ImmutableSet<Block> secondaryPoi, @Nullable SoundEvent workSound, it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceKey<TradeSet>> tradeSetsByLevel) Creates an instance of aVillagerProfessionrecord class. -
Uses of Holder in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player with type parameters of type HolderModifier and TypeFieldDescriptionprivate final StackedContents<Holder<Item>> StackedItemContents.rawMethods in net.minecraft.world.entity.player with parameters of type HolderModifier and TypeMethodDescriptionintInventory.findSlotMatchingCraftingIngredient(Holder<Item> item, ItemStack existingItem) voidPlayer.openDialog(Holder<Dialog> dialog) Method parameters in net.minecraft.world.entity.player with type arguments of type HolderModifier and TypeMethodDescriptionprivate booleanStackedItemContents.canCraft(List<? extends StackedContents.IngredientInfo<Holder<Item>>> contents, int amount, @Nullable StackedContents.Output<Holder<Item>> output) private booleanStackedItemContents.canCraft(List<? extends StackedContents.IngredientInfo<Holder<Item>>> contents, int amount, @Nullable StackedContents.Output<Holder<Item>> output) booleanStackedItemContents.canCraft(List<? extends StackedContents.IngredientInfo<Holder<Item>>> contents, @Nullable StackedContents.Output<Holder<Item>> output) booleanStackedItemContents.canCraft(List<? extends StackedContents.IngredientInfo<Holder<Item>>> contents, @Nullable StackedContents.Output<Holder<Item>> output) booleanStackedItemContents.canCraft(Recipe<?> recipe, int amount, @Nullable StackedContents.Output<Holder<Item>> output) booleanStackedItemContents.canCraft(Recipe<?> recipe, @Nullable StackedContents.Output<Holder<Item>> output) intStackedItemContents.getBiggestCraftableStack(Recipe<?> recipe, int maxSize, @Nullable StackedContents.Output<Holder<Item>> output) intStackedItemContents.getBiggestCraftableStack(Recipe<?> recipe, @Nullable StackedContents.Output<Holder<Item>> output) -
Uses of Holder in net.minecraft.world.entity.variant
Fields in net.minecraft.world.entity.variant declared as HolderMethods in net.minecraft.world.entity.variant that return HolderModifier and TypeMethodDescriptionSpawnContext.biome()Returns the value of thebiomerecord component.static <T> Holder<T> VariantUtils.getAny(RegistryAccess registryAccess, ResourceKey<? extends Registry<T>> registryId) static <T> Holder<T> VariantUtils.getDefaultOrAny(RegistryAccess registryAccess, ResourceKey<T> id) Methods in net.minecraft.world.entity.variant that return types with arguments of type HolderModifier and TypeMethodDescriptionVariantUtils.readVariant(ValueInput input, ResourceKey<? extends Registry<T>> registryId) Methods in net.minecraft.world.entity.variant with parameters of type HolderModifier and TypeMethodDescriptionstatic <T> voidVariantUtils.writeVariant(ValueOutput output, Holder<T> holder) Constructors in net.minecraft.world.entity.variant with parameters of type HolderModifierConstructorDescriptionSpawnContext(BlockPos pos, ServerLevelAccessor level, EnvironmentAttributeReader environmentAttributes, Holder<Biome> biome) Creates an instance of aSpawnContextrecord class. -
Uses of Holder in net.minecraft.world.inventory
Fields in net.minecraft.world.inventory with type parameters of type HolderMethods in net.minecraft.world.inventory that return HolderModifier and TypeMethodDescriptionBeaconMenu.decodeEffect(int id) BeaconMenu.getPrimaryEffect()BeaconMenu.getSecondaryEffect()Methods in net.minecraft.world.inventory that return types with arguments of type HolderModifier and TypeMethodDescriptionLoomMenu.getSelectablePatterns()private List<Holder<BannerPattern>> LoomMenu.getSelectablePatterns(ItemStack patternStack) Methods in net.minecraft.world.inventory with parameters of type HolderModifier and TypeMethodDescriptionstatic intBeaconMenu.encodeEffect(@Nullable Holder<MobEffect> mobEffect) private voidLoomMenu.setupResultSlot(Holder<BannerPattern> pattern) Method parameters in net.minecraft.world.inventory with type arguments of type Holder -
Uses of Holder in net.minecraft.world.item
Fields in net.minecraft.world.item declared as HolderModifier and TypeFieldDescriptionItemStack.itemDeprecated.ItemStackTemplate.itemThe field for theitemrecord component.private final Holder<JukeboxSong> JukeboxPlayable.songThe field for thesongrecord component.private @Nullable Holder<JukeboxSong> JukeboxSongPlayer.songprivate final Holder<SoundEvent> Instrument.soundEventThe field for thesoundEventrecord component.private final Holder<SoundEvent> JukeboxSong.soundEventThe field for thesoundEventrecord component.Fields in net.minecraft.world.item with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<Instrument>> Instrument.CODECItem.CODECstatic final com.mojang.serialization.Codec<Holder<JukeboxSong>> JukeboxSong.CODECprivate final Optional<Holder<SoundEvent>> CrossbowItem.ChargingSounds.endThe field for theendrecord component.private final Optional<Holder<SoundEvent>> CrossbowItem.ChargingSounds.midThe field for themidrecord component.private static final Comparator<Holder<PaintingVariant>> CreativeModeTabs.PAINTING_COMPARATORprivate final Optional<Holder<SoundEvent>> CrossbowItem.ChargingSounds.startThe field for thestartrecord component.static final StreamCodec<RegistryFriendlyByteBuf, Holder<Instrument>> Instrument.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Item>> Item.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<JukeboxSong>> JukeboxSong.STREAM_CODECMethods in net.minecraft.world.item that return HolderModifier and TypeMethodDescriptionItemStackTemplate.item()Returns the value of theitemrecord component.JukeboxPlayable.song()Returns the value of thesongrecord component.Instrument.soundEvent()Returns the value of thesoundEventrecord component.JukeboxSong.soundEvent()Returns the value of thesoundEventrecord component.ItemStack.typeHolder()ItemStackTemplate.typeHolder()Methods in net.minecraft.world.item that return types with arguments of type HolderModifier and TypeMethodDescriptionSpawnEggItem.byId(EntityType<?> type) CrossbowItem.ChargingSounds.end()Returns the value of theendrecord component.static Optional<Holder<JukeboxSong>> private static Optional<Holder<Instrument>> InstrumentItem.getInstrument(ItemStack itemStack) CrossbowItem.ChargingSounds.mid()Returns the value of themidrecord component.CrossbowItem.ChargingSounds.start()Returns the value of thestartrecord component.Methods in net.minecraft.world.item with parameters of type HolderModifier and TypeMethodDescriptionstatic ItemStackInstrumentItem.create(Item item, Holder<Instrument> instrument) voidItemStack.enchant(Holder<Enchantment> enchantment, int level) voidJukeboxSongPlayer.play(LevelAccessor level, Holder<JukeboxSong> song) static voidInstruments.register(BootstrapContext<Instrument> context, ResourceKey<Instrument> key, Holder<SoundEvent> soundEvent, float duration, float range, int durabilityDamage) voidJukeboxSongPlayer.setSongWithoutPlaying(Holder<JukeboxSong> song, long ticksSinceSongStarted) Method parameters in net.minecraft.world.item with type arguments of type HolderModifier and TypeMethodDescription<T> Item.PropertiesItem.Properties.delayedHolderComponent(DataComponentType<Holder<T>> type, ResourceKey<T> valueKey) CreativeModeTab.Builder.displayItems(Collection<? extends Holder<? extends ItemLike>> collection) Helper to set this tabs contents to everything in the supplied Collection of Holders.voidItemStack.forEachModifier(EquipmentSlotGroup slot, org.apache.commons.lang3.function.TriConsumer<Holder<Attribute>, AttributeModifier, ItemAttributeModifiers.Display> consumer) voidItemStack.forEachModifier(EquipmentSlot slot, BiConsumer<Holder<Attribute>, AttributeModifier> consumer) private static voidCreativeModeTabs.generatePresetPaintings(CreativeModeTab.Output output, HolderLookup.Provider context, HolderLookup.RegistryLookup<PaintingVariant> paintings, Predicate<Holder<PaintingVariant>> filter, CreativeModeTab.TabVisibility tabVisibility) booleanConstructors in net.minecraft.world.item with parameters of type HolderModifierConstructorDescriptionInstrument(Holder<SoundEvent> soundEvent, float useDuration, float range, int durabilityDamage, Component description) Creates an instance of aInstrumentrecord class.ItemStack(Holder<Item> item, int count, DataComponentPatch components) privateItemStack(Holder<Item> item, int count, PatchedDataComponentMap components) ItemStackTemplate(Holder<Item> item) ItemStackTemplate(Holder<Item> item, int count) ItemStackTemplate(Holder<Item> item, int count, DataComponentPatch components) Creates an instance of aItemStackTemplaterecord class.ItemStackTemplate(Holder<Item> item, DataComponentPatch patch) JukeboxPlayable(Holder<JukeboxSong> song) Creates an instance of aJukeboxPlayablerecord class.JukeboxSong(Holder<SoundEvent> soundEvent, Component description, float lengthInSeconds, int comparatorOutput) Creates an instance of aJukeboxSongrecord class.Constructor parameters in net.minecraft.world.item with type arguments of type HolderModifierConstructorDescriptionChargingSounds(Optional<Holder<SoundEvent>> start, Optional<Holder<SoundEvent>> mid, Optional<Holder<SoundEvent>> end) Creates an instance of aChargingSoundsrecord class. -
Uses of Holder in net.minecraft.world.item.alchemy
Fields in net.minecraft.world.item.alchemy declared as HolderModifier and TypeFieldDescriptionPotions.AWKWARDPotions.FIRE_RESISTANCEPotions.HARMINGPotions.HEALINGPotions.INFESTEDPotions.INVISIBILITYPotions.LEAPINGPotions.LONG_FIRE_RESISTANCEPotions.LONG_INVISIBILITYPotions.LONG_LEAPINGPotions.LONG_NIGHT_VISIONPotions.LONG_POISONPotions.LONG_REGENERATIONPotions.LONG_SLOW_FALLINGPotions.LONG_SLOWNESSPotions.LONG_STRENGTHPotions.LONG_SWIFTNESSPotions.LONG_TURTLE_MASTERPotions.LONG_WATER_BREATHINGPotions.LONG_WEAKNESSPotions.LUCKPotions.MUNDANEPotions.NIGHT_VISIONPotions.OOZINGPotions.POISONPotions.REGENERATIONPotions.SLOW_FALLINGPotions.SLOWNESSPotions.STRENGTHPotions.STRONG_HARMINGPotions.STRONG_HEALINGPotions.STRONG_LEAPINGPotions.STRONG_POISONPotions.STRONG_REGENERATIONPotions.STRONG_SLOWNESSPotions.STRONG_STRENGTHPotions.STRONG_SWIFTNESSPotions.STRONG_TURTLE_MASTERPotions.SWIFTNESSPotions.THICKPotions.TURTLE_MASTERPotions.WATERPotions.WATER_BREATHINGPotions.WEAKNESSPotions.WEAVINGPotions.WIND_CHARGEDFields in net.minecraft.world.item.alchemy with type parameters of type HolderModifier and TypeFieldDescriptionPotion.CODECPotionContents.potionThe field for thepotionrecord component.static final StreamCodec<RegistryFriendlyByteBuf, Holder<Potion>> Potion.STREAM_CODECMethods in net.minecraft.world.item.alchemy that return HolderMethods in net.minecraft.world.item.alchemy that return types with arguments of type HolderModifier and TypeMethodDescriptionPotionContents.potion()Returns the value of thepotionrecord component.Methods in net.minecraft.world.item.alchemy with parameters of type HolderModifier and TypeMethodDescriptionstatic ItemStackPotionContents.createItemStack(Item item, Holder<Potion> potion) static MutableComponentPotionContents.getPotionDescription(Holder<MobEffect> mobEffect, int amplifier) booleanPotionContents.withPotion(Holder<Potion> potion) Constructors in net.minecraft.world.item.alchemy with parameters of type HolderConstructor parameters in net.minecraft.world.item.alchemy with type arguments of type HolderModifierConstructorDescriptionPotionContents(Optional<Holder<Potion>> potion, Optional<Integer> customColor, List<MobEffectInstance> customEffects, Optional<String> customName) Creates an instance of aPotionContentsrecord class. -
Uses of Holder in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as HolderModifier and TypeFieldDescriptionItemAttributeModifiers.Entry.attributeThe field for theattributerecord component.SuspiciousStewEffects.Entry.effectThe field for theeffectrecord component.private final Holder<Instrument> InstrumentComponent.instrumentThe field for theinstrumentrecord component.private final Holder<TrimMaterial> ProvidesTrimMaterial.materialThe field for thematerialrecord component.private Holder<SoundEvent> Consumable.Builder.soundprivate final Holder<SoundEvent> Consumable.soundThe field for thesoundrecord component.private final Holder<MapDecorationType> MapDecorations.Entry.typeThe field for thetyperecord component.Fields in net.minecraft.world.item.component with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<SoundEvent>> BlocksAttacks.blockSoundThe field for theblockSoundrecord component.private final Optional<Holder<SoundEvent>> BlocksAttacks.disableSoundThe field for thedisableSoundrecord component.private final Optional<Holder<SoundEvent>> KineticWeapon.hitSoundThe field for thehitSoundrecord component.private final Optional<Holder<SoundEvent>> PiercingWeapon.hitSoundThe field for thehitSoundrecord component.DebugStickState.propertiesThe field for thepropertiesrecord component.private final Optional<Holder<SoundEvent>> KineticWeapon.soundThe field for thesoundrecord component.private final Optional<Holder<SoundEvent>> PiercingWeapon.soundThe field for thesoundrecord component.Methods in net.minecraft.world.item.component that return HolderModifier and TypeMethodDescriptionItemAttributeModifiers.Entry.attribute()Returns the value of theattributerecord component.SuspiciousStewEffects.Entry.effect()Returns the value of theeffectrecord component.InstrumentComponent.instrument()Returns the value of theinstrumentrecord component.ProvidesTrimMaterial.material()Returns the value of thematerialrecord component.Consumable.sound()Returns the value of thesoundrecord component.MapDecorations.Entry.type()Returns the value of thetyperecord component.Methods in net.minecraft.world.item.component that return types with arguments of type HolderModifier and TypeMethodDescriptionBlocksAttacks.blockSound()Returns the value of theblockSoundrecord component.BlocksAttacks.disableSound()Returns the value of thedisableSoundrecord component.KineticWeapon.hitSound()Returns the value of thehitSoundrecord component.PiercingWeapon.hitSound()Returns the value of thehitSoundrecord component.DebugStickState.properties()Returns the value of thepropertiesrecord component.KineticWeapon.sound()Returns the value of thesoundrecord component.PiercingWeapon.sound()Returns the value of thesoundrecord component.Methods in net.minecraft.world.item.component with parameters of type HolderModifier and TypeMethodDescriptionItemAttributeModifiers.Builder.add(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) ItemAttributeModifiers.Builder.add(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot, ItemAttributeModifiers.Display display) voidItemAttributeModifiers.Display.apply(Consumer<Component> consumer, @Nullable Player player, Holder<Attribute> attribute, AttributeModifier modifier) voidItemAttributeModifiers.Display.Default.apply(Consumer<Component> consumer, @Nullable Player player, Holder<Attribute> attribute, AttributeModifier modifier) voidItemAttributeModifiers.Display.Hidden.apply(Consumer<Component> consumer, @Nullable Player player, Holder<Attribute> attribute, AttributeModifier modifier) voidItemAttributeModifiers.Display.OverrideText.apply(Consumer<Component> consumer, @Nullable Player player, Holder<Attribute> attribute, AttributeModifier modifier) private static List<BlockTransformer.BlockTransformData> BlockTransformers.axe(Set<Map.Entry<Block, Block>> blocks, Holder<SoundEvent> sound, BlockTransformer.TransformParticle particle) doubleItemAttributeModifiers.compute(Holder<Attribute> attribute, double baseValue, EquipmentSlot slot) booleanItemAttributeModifiers.Entry.matches(Holder<Attribute> attribute, Identifier id) Consumable.Builder.sound(Holder<SoundEvent> sound) Consumable.Builder.soundAfterConsume(Holder<SoundEvent> soundAfterConsume) ItemAttributeModifiers.withModifierAdded(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) DebugStickState.withProperty(Holder<Block> block, Property<?> property) Method parameters in net.minecraft.world.item.component with type arguments of type HolderModifier and TypeMethodDescriptionvoidItemAttributeModifiers.forEach(EquipmentSlotGroup slot, BiConsumer<Holder<Attribute>, AttributeModifier> consumer) voidItemAttributeModifiers.forEach(EquipmentSlotGroup slot, org.apache.commons.lang3.function.TriConsumer<Holder<Attribute>, AttributeModifier, ItemAttributeModifiers.Display> consumer) voidItemAttributeModifiers.forEach(EquipmentSlot slot, BiConsumer<Holder<Attribute>, AttributeModifier> consumer) Constructors in net.minecraft.world.item.component with parameters of type HolderModifierConstructorDescriptionConsumable(float consumeSeconds, ItemUseAnimation animation, Holder<SoundEvent> sound, boolean hasConsumeParticles, List<ConsumeEffect> onConsumeEffects) Creates an instance of aConsumablerecord class.Entry(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Entry(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot, ItemAttributeModifiers.Display display) Creates an instance of aEntryrecord class.Entry(Holder<MapDecorationType> type, double x, double z, float rotation) Creates an instance of aEntryrecord class.Creates an instance of aEntryrecord class.InstrumentComponent(Holder<Instrument> instrument) Creates an instance of aInstrumentComponentrecord class.ProvidesTrimMaterial(Holder<TrimMaterial> material) Creates an instance of aProvidesTrimMaterialrecord class.Constructor parameters in net.minecraft.world.item.component with type arguments of type HolderModifierConstructorDescriptionDebugStickState(Map<Holder<Block>, Property<?>> properties) Creates an instance of aDebugStickStaterecord class.PiercingWeapon(boolean dealsKnockback, boolean dismounts, Optional<Holder<SoundEvent>> sound, Optional<Holder<SoundEvent>> hitSound) Creates an instance of aPiercingWeaponrecord class. -
Uses of Holder in net.minecraft.world.item.consume_effects
Fields in net.minecraft.world.item.consume_effects declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> PlaySoundConsumeEffect.soundThe field for thesoundrecord component.Methods in net.minecraft.world.item.consume_effects that return HolderModifier and TypeMethodDescriptionPlaySoundConsumeEffect.sound()Returns the value of thesoundrecord component.Constructors in net.minecraft.world.item.consume_effects with parameters of type HolderModifierConstructorDescriptionPlaySoundConsumeEffect(Holder<SoundEvent> sound) Creates an instance of aPlaySoundConsumeEffectrecord class. -
Uses of Holder in net.minecraft.world.item.crafting
Classes in net.minecraft.world.item.crafting that implement interfaces with type arguments of type HolderFields in net.minecraft.world.item.crafting declared as HolderFields in net.minecraft.world.item.crafting with type parameters of type HolderModifier and TypeFieldDescriptionRecipe.CODECIngredient.customIngredientValuesTransmuteResult.itemThe field for theitemrecord component.RecipePropertySet.itemsMethods in net.minecraft.world.item.crafting that return types with arguments of type HolderModifier and TypeMethodDescriptionIngredient.getSingleItem()TransmuteResult.item()Returns the value of theitemrecord component.Ingredient.items()Deprecated.Ingredient.updateCustomIngredientValues()Methods in net.minecraft.world.item.crafting with parameters of type HolderModifier and TypeMethodDescriptionbooleanIngredient.acceptsItem(Holder<Item> item) static ItemStackSmithingTrimRecipe.applyTrim(ItemStack baseItem, ItemStack materialItem, Holder<TrimPattern> pattern) static SlotDisplayIngredient.displayForSingleItem(Holder<Item> item) private SlotDisplayTransmuteRecipe.stackDisplay(Holder<Item> item, int resultCount) Constructors in net.minecraft.world.item.crafting with parameters of type HolderModifierConstructorDescriptionSmithingTrimRecipe(Recipe.CommonInfo commonInfo, Ingredient template, Ingredient base, Ingredient addition, Holder<TrimPattern> pattern) TransmuteResult(Holder<Item> item) Constructor parameters in net.minecraft.world.item.crafting with type arguments of type HolderModifierConstructorDescriptionprivateRecipePropertySet(Set<Holder<Item>> items) TransmuteResult(Optional<Holder<Item>> item, int count, DataComponentPatch components) Creates an instance of aTransmuteResultrecord class. -
Uses of Holder in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display declared as HolderModifier and TypeFieldDescriptionSlotDisplay.ItemSlotDisplay.itemThe field for theitemrecord component.private final Holder<TrimPattern> SlotDisplay.SmithingTrimDemoSlotDisplay.patternThe field for thepatternrecord component.Methods in net.minecraft.world.item.crafting.display that return HolderModifier and TypeMethodDescriptionSlotDisplay.ItemSlotDisplay.item()Returns the value of theitemrecord component.SlotDisplay.SmithingTrimDemoSlotDisplay.pattern()Returns the value of thepatternrecord component.Methods in net.minecraft.world.item.crafting.display with parameters of type HolderConstructors in net.minecraft.world.item.crafting.display with parameters of type HolderModifierConstructorDescriptionItemSlotDisplay(Holder<Item> item) Creates an instance of aItemSlotDisplayrecord class.SmithingTrimDemoSlotDisplay(SlotDisplay base, SlotDisplay material, Holder<TrimPattern> pattern) Creates an instance of aSmithingTrimDemoSlotDisplayrecord class. -
Uses of Holder in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as HolderModifier and TypeFieldDescriptionprivate final Holder<Enchantment> EnchantmentInstance.enchantmentThe field for theenchantmentrecord component.Fields in net.minecraft.world.item.enchantment with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<Enchantment>> Enchantment.CODECprivate final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>> ItemEnchantments.enchantmentsprivate final it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>> ItemEnchantments.Mutable.enchantmentsprivate final Optional<Holder<LootItemCondition>> ConditionalEffect.requirementsThe field for therequirementsrecord component.private final Optional<Holder<LootItemCondition>> TargetedConditionalEffect.requirementsThe field for therequirementsrecord component.static final StreamCodec<RegistryFriendlyByteBuf, Holder<Enchantment>> Enchantment.STREAM_CODECstatic final DataComponentType<List<Holder<SoundEvent>>> EnchantmentEffectComponents.TRIDENT_SOUNDMethods in net.minecraft.world.item.enchantment that return HolderModifier and TypeMethodDescriptionEnchantmentInstance.enchantment()Returns the value of theenchantmentrecord component.Methods in net.minecraft.world.item.enchantment that return types with arguments of type HolderModifier and TypeMethodDescriptionSet<it.unimi.dsi.fastutil.objects.Object2IntMap.Entry<Holder<Enchantment>>> ItemEnchantments.entrySet()ItemEnchantments.keySet()ItemEnchantments.Mutable.keySet()ConditionalEffect.requirements()Returns the value of therequirementsrecord component.TargetedConditionalEffect.requirements()Returns the value of therequirementsrecord component.Methods in net.minecraft.world.item.enchantment with parameters of type HolderModifier and TypeMethodDescriptionvoidEnchantmentHelper.EnchantmentInSlotVisitor.accept(Holder<Enchantment> enchantment, int level, EnchantedItemInUse item) voidEnchantmentHelper.EnchantmentVisitor.accept(Holder<Enchantment> enchantment, int level) static booleanEnchantment.areCompatible(Holder<Enchantment> enchantment, Holder<Enchantment> other) static intEnchantmentHelper.getEnchantmentLevel(Holder<Enchantment> enchantment, LivingEntity entity) static ComponentEnchantment.getFullname(Holder<Enchantment> enchantment, int level) static intEnchantmentHelper.getItemEnchantmentLevel(Holder<Enchantment> enchantment, ItemInstance piece) Deprecated.Neo: UseEnchantmentHelper.getTagEnchantmentLevel(Holder, ItemInstance)for NBT enchantments, orItemInstanceExtension.getEnchantmentLevel(Holder)for gameplay.intItemEnchantments.getLevel(Holder<Enchantment> enchantment) intItemEnchantments.Mutable.getLevel(Holder<Enchantment> enchantment) static intEnchantmentHelper.getTagEnchantmentLevel(Holder<Enchantment> enchantment, ItemInstance piece) Gets the level of an enchantment from NBT.static booleanEnchantmentHelper.isEnchantmentCompatible(Collection<Holder<Enchantment>> enchants, Holder<Enchantment> target) voidItemEnchantments.Mutable.set(Holder<Enchantment> enchantment, int level) voidItemEnchantments.Mutable.upgrade(Holder<Enchantment> enchantment, int level) Method parameters in net.minecraft.world.item.enchantment with type arguments of type HolderModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.enchantItem(RandomSource random, ItemStack itemStack, int enchantmentCost, Stream<Holder<Enchantment>> source) static voidEnchantmentHelper.forEachModifier(ItemStack itemStack, EquipmentSlotGroup slot, BiConsumer<Holder<Attribute>, AttributeModifier> consumer) static voidEnchantmentHelper.forEachModifier(ItemStack itemStack, EquipmentSlot slot, BiConsumer<Holder<Attribute>, AttributeModifier> consumer) static List<EnchantmentInstance> EnchantmentHelper.getAvailableEnchantmentResults(int value, ItemStack itemStack, Stream<Holder<Enchantment>> source) static booleanEnchantmentHelper.isEnchantmentCompatible(Collection<Holder<Enchantment>> enchants, Holder<Enchantment> target) voidItemEnchantments.Mutable.removeIf(Predicate<Holder<Enchantment>> predicate) static List<EnchantmentInstance> EnchantmentHelper.selectEnchantment(RandomSource random, ItemStack itemStack, int enchantmentCost, Stream<Holder<Enchantment>> source) Constructors in net.minecraft.world.item.enchantment with parameters of type HolderModifierConstructorDescriptionEnchantmentInstance(Holder<Enchantment> enchantment, int level) Creates an instance of aEnchantmentInstancerecord class.Constructor parameters in net.minecraft.world.item.enchantment with type arguments of type HolderModifierConstructorDescriptionConditionalEffect(T effect, Optional<Holder<LootItemCondition>> requirements) Creates an instance of aConditionalEffectrecord class.privateItemEnchantments(it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap<Holder<Enchantment>> enchantments) TargetedConditionalEffect(EnchantmentTarget enchanted, EnchantmentTarget affected, T effect, Optional<Holder<LootItemCondition>> requirements) Creates an instance of aTargetedConditionalEffectrecord class. -
Uses of Holder in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as HolderModifier and TypeFieldDescriptionEnchantmentAttributeEffect.attributeThe field for theattributerecord component.private final Holder<BlockStateProvider> ReplaceBlock.blockStateThe field for theblockStaterecord component.private final Holder<BlockStateProvider> ReplaceDisk.blockStateThe field for theblockStaterecord component.private final Holder<DamageType> DamageEntity.damageTypeThe field for thedamageTyperecord component.private final Holder<SoundEvent> ExplodeEffect.soundThe field for thesoundrecord component.Fields in net.minecraft.world.item.enchantment.effects with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<DamageType>> ExplodeEffect.damageTypeThe field for thedamageTyperecord component.private final List<Holder<SoundEvent>> PlaySoundEffect.soundEventsThe field for thesoundEventsrecord component.ReplaceBlock.triggerGameEventThe field for thetriggerGameEventrecord component.ReplaceDisk.triggerGameEventThe field for thetriggerGameEventrecord component.SetBlockProperties.triggerGameEventThe field for thetriggerGameEventrecord component.Methods in net.minecraft.world.item.enchantment.effects that return HolderModifier and TypeMethodDescriptionEnchantmentAttributeEffect.attribute()Returns the value of theattributerecord component.ReplaceBlock.blockState()Returns the value of theblockStaterecord component.ReplaceDisk.blockState()Returns the value of theblockStaterecord component.DamageEntity.damageType()Returns the value of thedamageTyperecord component.ExplodeEffect.sound()Returns the value of thesoundrecord component.Methods in net.minecraft.world.item.enchantment.effects that return types with arguments of type HolderModifier and TypeMethodDescriptionExplodeEffect.damageType()Returns the value of thedamageTyperecord component.private HashMultimap<Holder<Attribute>, AttributeModifier> EnchantmentAttributeEffect.makeAttributeMap(int enchantmentLevel, EquipmentSlot slot) PlaySoundEffect.soundEvents()Returns the value of thesoundEventsrecord component.ReplaceBlock.triggerGameEvent()Returns the value of thetriggerGameEventrecord component.ReplaceDisk.triggerGameEvent()Returns the value of thetriggerGameEventrecord component.SetBlockProperties.triggerGameEvent()Returns the value of thetriggerGameEventrecord component.Constructors in net.minecraft.world.item.enchantment.effects with parameters of type HolderModifierConstructorDescriptionDamageEntity(LevelBasedValue minDamage, LevelBasedValue maxDamage, Holder<DamageType> damageType) Creates an instance of aDamageEntityrecord class.EnchantmentAttributeEffect(Identifier id, Holder<Attribute> attribute, LevelBasedValue amount, AttributeModifier.Operation operation) Creates an instance of aEnchantmentAttributeEffectrecord class.ExplodeEffect(boolean attributeToUser, Optional<Holder<DamageType>> damageType, Optional<LevelBasedValue> knockbackMultiplier, Optional<HolderSet<Block>> immuneBlocks, Vec3 offset, LevelBasedValue radius, boolean createFire, Level.ExplosionInteraction blockInteraction, ParticleOptions smallParticle, ParticleOptions largeParticle, WeightedList<ExplosionParticleInfo> blockParticles, Holder<SoundEvent> sound) Creates an instance of aExplodeEffectrecord class.ReplaceBlock(Vec3i offset, Optional<BlockPredicate> predicate, Holder<BlockStateProvider> blockState, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aReplaceBlockrecord class.ReplaceDisk(LevelBasedValue radius, LevelBasedValue height, Vec3i offset, Optional<BlockPredicate> predicate, Holder<BlockStateProvider> blockState, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aReplaceDiskrecord class.Constructor parameters in net.minecraft.world.item.enchantment.effects with type arguments of type HolderModifierConstructorDescriptionExplodeEffect(boolean attributeToUser, Optional<Holder<DamageType>> damageType, Optional<LevelBasedValue> knockbackMultiplier, Optional<HolderSet<Block>> immuneBlocks, Vec3 offset, LevelBasedValue radius, boolean createFire, Level.ExplosionInteraction blockInteraction, ParticleOptions smallParticle, ParticleOptions largeParticle, WeightedList<ExplosionParticleInfo> blockParticles, Holder<SoundEvent> sound) Creates an instance of aExplodeEffectrecord class.PlaySoundEffect(List<Holder<SoundEvent>> soundEvents, FloatProvider volume, FloatProvider pitch) Creates an instance of aPlaySoundEffectrecord class.SetBlockProperties(BlockItemStateProperties properties, Vec3i offset, Optional<Holder<GameEvent>> triggerGameEvent) Creates an instance of aSetBlockPropertiesrecord class. -
Uses of Holder in net.minecraft.world.item.enchantment.providers
Fields in net.minecraft.world.item.enchantment.providers declared as HolderModifier and TypeFieldDescriptionprivate final Holder<Enchantment> SingleEnchantment.enchantmentThe field for theenchantmentrecord component.Methods in net.minecraft.world.item.enchantment.providers that return HolderModifier and TypeMethodDescriptionSingleEnchantment.enchantment()Returns the value of theenchantmentrecord component.Constructors in net.minecraft.world.item.enchantment.providers with parameters of type HolderModifierConstructorDescriptionSingleEnchantment(Holder<Enchantment> enchantment, IntProvider level) Creates an instance of aSingleEnchantmentrecord class. -
Uses of Holder in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment declared as HolderModifier and TypeFieldDescriptionprivate final Holder<SoundEvent> ArmorMaterial.equipSoundThe field for theequipSoundrecord component.private Holder<SoundEvent> Equippable.Builder.equipSoundprivate final Holder<SoundEvent> Equippable.equipSoundThe field for theequipSoundrecord component.private Holder<SoundEvent> Equippable.Builder.shearingSoundprivate final Holder<SoundEvent> Equippable.shearingSoundThe field for theshearingSoundrecord component.Methods in net.minecraft.world.item.equipment that return HolderModifier and TypeMethodDescriptionArmorMaterial.equipSound()Returns the value of theequipSoundrecord component.Equippable.equipSound()Returns the value of theequipSoundrecord component.Equippable.shearingSound()Returns the value of theshearingSoundrecord component.Methods in net.minecraft.world.item.equipment with parameters of type HolderModifier and TypeMethodDescriptionbooleanEquippable.canBeEquippedBy(Holder<EntityType<?>> type) Equippable.Builder.setEquipSound(Holder<SoundEvent> equipSound) Equippable.Builder.setShearingSound(Holder<SoundEvent> shearingSound) Constructors in net.minecraft.world.item.equipment with parameters of type HolderModifierConstructorDescriptionArmorMaterial(int durability, Map<ArmorType, Integer> defense, int enchantmentValue, Holder<SoundEvent> equipSound, float toughness, float knockbackResistance, TagKey<Item> repairIngredient, ResourceKey<EquipmentAsset> assetId) Creates an instance of aArmorMaterialrecord class.Equippable(EquipmentSlot slot, Holder<SoundEvent> equipSound, Optional<ResourceKey<EquipmentAsset>> assetId, Optional<Identifier> cameraOverlay, Optional<HolderSet<EntityType<?>>> allowedEntities, boolean dispensable, boolean swappable, boolean damageOnHurt, boolean equipOnInteract, boolean canBeSheared, Holder<SoundEvent> shearingSound) Creates an instance of aEquippablerecord class. -
Uses of Holder in net.minecraft.world.item.equipment.trim
Fields in net.minecraft.world.item.equipment.trim declared as HolderModifier and TypeFieldDescriptionprivate final Holder<TrimMaterial> ArmorTrim.materialThe field for thematerialrecord component.private final Holder<TrimPattern> ArmorTrim.patternThe field for thepatternrecord component.Fields in net.minecraft.world.item.equipment.trim with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<TrimMaterial>> TrimMaterial.CODECstatic final com.mojang.serialization.Codec<Holder<TrimPattern>> TrimPattern.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimMaterial>> TrimMaterial.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<TrimPattern>> TrimPattern.STREAM_CODECMethods in net.minecraft.world.item.equipment.trim that return HolderModifier and TypeMethodDescriptionArmorTrim.material()Returns the value of thematerialrecord component.ArmorTrim.pattern()Returns the value of thepatternrecord component.Methods in net.minecraft.world.item.equipment.trim with parameters of type HolderConstructors in net.minecraft.world.item.equipment.trim with parameters of type HolderModifierConstructorDescriptionArmorTrim(Holder<TrimMaterial> material, Holder<TrimPattern> pattern) Creates an instance of aArmorTrimrecord class. -
Uses of Holder in net.minecraft.world.item.slot
Fields in net.minecraft.world.item.slot declared as HolderModifier and TypeFieldDescriptionprotected final Holder<SlotSource> TransformedSlotSource.slotSourceFields in net.minecraft.world.item.slot with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<SlotSource>> SlotSources.CODECMethods in net.minecraft.world.item.slot that return types with arguments of type HolderModifier and TypeMethodDescriptionprotected static <T extends TransformedSlotSource>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Holder<SlotSource>> TransformedSlotSource.commonFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> i) Constructors in net.minecraft.world.item.slot with parameters of type HolderModifierConstructorDescriptionprivateContentsSlotSource(Holder<SlotSource> slotSource, ContainerComponentManipulator<?> component) privateFilteredSlotSource(Holder<SlotSource> slotSource, ItemPredicate filter) privateLimitSlotSource(Holder<SlotSource> slotSource, int limit) protectedTransformedSlotSource(Holder<SlotSource> slotSource) -
Uses of Holder in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading declared as HolderModifier and TypeFieldDescriptionprivate final Holder<ContextIntProvider> TradeSet.amountThe field for theamountrecord component.private final Holder<ContextIntProvider> TradeCost.countThe field for thecountrecord component.ItemCost.itemThe field for theitemrecord component.TradeCost.itemThe field for theitemrecord component.private final Holder<ContextIntProvider> VillagerTrade.Builder.maxUsesprivate final Holder<ContextIntProvider> VillagerTrade.maxUsesprivate final Holder<ContextFloatProvider> VillagerTrade.Builder.reputationDiscountprivate final Holder<ContextFloatProvider> VillagerTrade.reputationDiscountprivate final Holder<ContextIntProvider> VillagerTrade.Builder.xpprivate final Holder<ContextIntProvider> VillagerTrade.xpFields in net.minecraft.world.item.trading with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<LootItemFunction>> VillagerTrade.givenItemModifierprivate final ImmutableList.Builder<Holder<LootItemFunction>> VillagerTrade.Builder.givenItemModifiersprivate Optional<Holder<LootItemCondition>> VillagerTrade.Builder.merchantPredicateprivate final Optional<Holder<LootItemCondition>> VillagerTrade.merchantPredicateMethods in net.minecraft.world.item.trading that return HolderModifier and TypeMethodDescriptionTradeSet.amount()Returns the value of theamountrecord component.TradeCost.count()Returns the value of thecountrecord component.static Holder<LootItemFunction> VillagerTrades.discardItemIfItsNot(ItemPredicate.Builder test) ItemCost.item()Returns the value of theitemrecord component.TradeCost.item()Returns the value of theitemrecord component.static Holder<LootItemCondition> VillagerTrades.villagerTypeRestriction(HolderSet<VillagerType> villagerTypes) Methods in net.minecraft.world.item.trading that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic List<Holder<LootItemFunction>> VillagerTrades.discardItemIfItsNot(LootItemFunction.Builder function, ItemPredicate.Builder preserveCondition) private static List<Holder<LootItemFunction>> VillagerTrades.dyedItem(HolderGetter<Item> items, Item expectedItem) static List<Holder<LootItemFunction>> VillagerTrades.enchantedBook(HolderGetter<Item> items, Holder<Enchantment> enchantment, int level) static List<Holder<LootItemFunction>> VillagerTrades.enchantedBook(HolderGetter<Item> items, HolderSet<Enchantment> options) static List<Holder<LootItemFunction>> VillagerTrades.enchantedItem(HolderGetter<Item> items, Holder<Enchantment> enchantment, int level, Item expectedItem) static List<Holder<LootItemFunction>> VillagerTrades.enchantedItem(HolderGetter<Item> items, HolderSet<Enchantment> options, Item expectedItem) Methods in net.minecraft.world.item.trading with parameters of type HolderModifier and TypeMethodDescriptionfinal VillagerTrade.BuilderVillagerTrade.Builder.addModifiers(Holder<LootItemFunction>... functions) private static VillagerTradeVillagerTrades.createBasicExplorerMapTrades(HolderGetter<VillagerType> villagerVariants, HolderGetter<Structure> structures, TagKey<Structure> structureTagKey, Holder<MapDecorationType> mapDecorationType, Item mapItem, List<ResourceKey<VillagerType>> villagerTypes) private static VillagerTradeTradeRebalanceVillagerTrades.createLibrarianLevel5EnchantmentTrade(HolderGetter<Item> items, HolderSet<Enchantment> doubleTradePrice, HolderSet<VillagerType> villagerTypes, Holder<Enchantment> enchantment, int level) private static VillagerTradeTradeRebalanceVillagerTrades.createLibrarianLevel5SpecialEnchantmentTrade(HolderGetter<Item> items, HolderSet<Enchantment> doubleTradePrice, HolderSet<VillagerType> villagerTypes, Holder<Enchantment> enchantment) private static ItemStackItemCost.createStack(Holder<Item> item, int count, DataComponentExactPredicate components) static List<Holder<LootItemFunction>> VillagerTrades.enchantedBook(HolderGetter<Item> items, Holder<Enchantment> enchantment, int level) static List<Holder<LootItemFunction>> VillagerTrades.enchantedItem(HolderGetter<Item> items, Holder<Enchantment> enchantment, int level, Item expectedItem) VillagerTrade.Builder.merchantPredicate(Holder<LootItemCondition> merchantPredicate) static Holder.Reference<TradeSet> TradeSets.register(BootstrapContext<TradeSet> context, ResourceKey<TradeSet> resourceKey, TagKey<VillagerTrade> tradeTag, Holder<ContextIntProvider> amount) Method parameters in net.minecraft.world.item.trading with type arguments of type HolderModifier and TypeMethodDescriptionVillagerTrade.Builder.addModifiers(Collection<Holder<LootItemFunction>> function) Constructors in net.minecraft.world.item.trading with parameters of type HolderModifierConstructorDescriptionBuilder(TradeCost wants, ItemStackTemplate gives, Holder<ContextIntProvider> maxUses, Holder<ContextIntProvider> xp, Holder<ContextFloatProvider> reputationDiscount) ItemCost(Holder<Item> item, int count, DataComponentExactPredicate components) ItemCost(Holder<Item> item, int count, DataComponentExactPredicate components, ItemStack itemStack) Creates an instance of aItemCostrecord class.TradeCost(Holder<Item> item, Holder<ContextIntProvider> count, DataComponentExactPredicate components) Creates an instance of aTradeCostrecord class.TradeCost(ItemLike item, Holder<ContextIntProvider> count) TradeSet(HolderSet<VillagerTrade> trades, Holder<ContextIntProvider> amount, boolean allowDuplicates, Optional<Identifier> randomSequence) Creates an instance of aTradeSetrecord class.privateVillagerTrade(TradeCost wants, Optional<TradeCost> additionalWants, ItemStackTemplate gives, Holder<ContextIntProvider> maxUses, Holder<ContextIntProvider> xp, Holder<ContextFloatProvider> reputationDiscount, Optional<Holder<LootItemCondition>> merchantPredicate, Optional<Holder<LootItemFunction>> givenItemModifier, Optional<HolderSet<Enchantment>> doubleTradePriceEnchantments) -
Uses of Holder in net.minecraft.world.level
Fields in net.minecraft.world.level declared as HolderFields in net.minecraft.world.level with type parameters of type HolderMethods in net.minecraft.world.level that return HolderModifier and TypeMethodDescriptionLevel.dimensionTypeRegistration()LevelReader.getNoiseBiome(int quartX, int quartY, int quartZ) LevelReader.getUncachedNoiseBiome(int quartX, int quartY, int quartZ) Methods in net.minecraft.world.level with parameters of type HolderModifier and TypeMethodDescriptionabstract voidLevel.explode(@Nullable Entity source, @Nullable DamageSource damageSource, @Nullable ExplosionDamageCalculator damageCalculator, double x, double y, double z, float r, boolean fire, Level.ExplosionInteraction interactionType, ParticleOptions smallExplosionParticles, ParticleOptions largeExplosionParticles, WeightedList<ExplosionParticleInfo> blockParticles, Holder<SoundEvent> explosionSound) default voidLevelAccessor.gameEvent(Holder<GameEvent> gameEvent, BlockPos pos, GameEvent.Context context) voidLevelAccessor.gameEvent(Holder<GameEvent> gameEvent, Vec3 position, GameEvent.Context context) default voiddefault voidabstract voidLevel.playSeededSound(@Nullable Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) abstract voidLevel.playSeededSound(@Nullable Entity except, Entity sourceEntity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch, long seed) voidLevel.playSound(@Nullable Entity except, double x, double y, double z, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) voidLevel.playSound(@Nullable Entity except, Entity sourceEntity, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) Method parameters in net.minecraft.world.level with type arguments of type HolderModifier and TypeMethodDescriptionprivate longLevel.getClockTimeTicks(Optional<? extends Holder<WorldClock>> clock) StructureManager.getStructureWithPieceAt(BlockPos blockPos, Predicate<Holder<Structure>> predicate) Constructors in net.minecraft.world.level with parameters of type HolderModifierConstructorDescriptionprotectedLevel(WritableLevelData levelData, ResourceKey<Level> dimension, RegistryAccess registryAccess, Holder<DimensionType> dimensionTypeRegistration, boolean isClientSide, boolean isDebug, long biomeZoomSeed, int maxChainedNeighborUpdates) -
Uses of Holder in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as HolderModifier and TypeFieldDescriptionTheEndBiomeSource.barrensFixedBiomeSource.biomeTheEndBiomeSource.endTheEndBiomeSource.highlandsTheEndBiomeSource.islandsTheEndBiomeSource.midlandsFields in net.minecraft.world.level.biome with type parameters of type HolderModifier and TypeFieldDescriptionprotected final List<Holder<WorldCarver>> BiomeGenerationSettings.PlainBuilder.carversBiome.CODECstatic final com.mojang.serialization.Codec<Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSourceParameterList.CODECstatic final com.mojang.serialization.MapCodec<Climate.ParameterList<Holder<Biome>>> MultiNoiseBiomeSource.DIRECT_CODECMultiNoiseBiomeSource.ENTRY_CODECprotected final List<List<Holder<PlacedFeature>>> BiomeGenerationSettings.PlainBuilder.featuresprivate final com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.parametersprivate final com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.parametersprivate final Climate.ParameterList<Holder<Biome>> MultiNoiseBiomeSourceParameterList.parametersBiomeSource.possibleBiomesprivate static final com.mojang.serialization.MapCodec<Holder<MultiNoiseBiomeSourceParameterList>> MultiNoiseBiomeSource.PRESET_CODECMethods in net.minecraft.world.level.biome that return HolderModifier and TypeMethodDescriptionBiomeManager.getBiome(int x, int y, int z) BiomeResolver.getNoiseBiome(int quartX, int quartY, int quartZ) CheckerboardColumnBiomeSource.getNoiseBiome(int quartX, int quartY, int quartZ) FixedBiomeSource.getNoiseBiome(int quartX, int quartY, int quartZ) MultiNoiseBiomeSource.getNoiseBiome(Climate.TargetPoint target) TheEndBiomeSource.getNoiseBiome(int quartX, int quartY, int quartZ, Climate.Sampler sampler) BiomeManager.getNoiseBiomeAtPosition(double x, double y, double z) BiomeManager.getNoiseBiomeAtPosition(BlockPos blockPos) BiomeManager.getNoiseBiomeAtQuart(int quartX, int quartY, int quartZ) Methods in net.minecraft.world.level.biome that return types with arguments of type HolderModifier and TypeMethodDescriptionBiomeSource.collectPossibleBiomes()CheckerboardColumnBiomeSource.collectPossibleBiomes()FixedBiomeSource.collectPossibleBiomes()MultiNoiseBiomeSource.collectPossibleBiomes()TheEndBiomeSource.collectPossibleBiomes()BiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int searchRadius, int skipSteps, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, RandomState randomState) BiomeSource.findBiomeHorizontal(int x, int y, int z, int searchRadius, Predicate<Holder<Biome>> allowed, RandomSource random, RandomState randomState) FixedBiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int r, int skipStep, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, RandomState randomState) BiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, RandomState randomState, LevelReader level) FixedBiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, RandomState randomState, LevelReader level) BiomeResolver.getBiomesWithin(int x, int y, int z, int radius) FixedBiomeSource.getBiomesWithin(int x, int y, int z, int radius) BiomeGenerationSettings.getCarvers()private Climate.ParameterList<Holder<Biome>> MultiNoiseBiomeSource.parameters()MultiNoiseBiomeSourceParameterList.parameters()BiomeSource.possibleBiomes()Methods in net.minecraft.world.level.biome with parameters of type HolderModifier and TypeMethodDescriptionBiomeGenerationSettings.PlainBuilder.addCarver(Holder<WorldCarver> carver) BiomeGenerationSettings.PlainBuilder.addFeature(int index, Holder<PlacedFeature> feature) BiomeGenerationSettings.PlainBuilder.addFeature(GenerationStep.Decoration step, Holder<PlacedFeature> feature) static MultiNoiseBiomeSourceMultiNoiseBiomeSource.createFromPreset(Holder<MultiNoiseBiomeSourceParameterList> preset) OverworldBiomeBuilder.spawnTarget(OverworldFunctionSet<Holder<DensityFunction>> functions, Holder<DensityFunction> weirdness) Method parameters in net.minecraft.world.level.biome with type arguments of type HolderModifier and TypeMethodDescriptionstatic MultiNoiseBiomeSourceMultiNoiseBiomeSource.createFromList(Climate.ParameterList<Holder<Biome>> parameters) BiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int searchRadius, int skipSteps, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, RandomState randomState) BiomeSource.findBiomeHorizontal(int x, int y, int z, int searchRadius, Predicate<Holder<Biome>> allowed, RandomSource random, RandomState randomState) FixedBiomeSource.findBiomeHorizontal(int originX, int originY, int originZ, int r, int skipStep, Predicate<Holder<Biome>> allowed, RandomSource random, boolean findClosest, RandomState randomState) BiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, RandomState randomState, LevelReader level) FixedBiomeSource.findClosestBiome3d(BlockPos origin, int searchRadius, int sampleResolutionHorizontal, int sampleResolutionVertical, Predicate<Holder<Biome>> allowed, RandomState randomState, LevelReader level) OverworldBiomeBuilder.spawnTarget(OverworldFunctionSet<Holder<DensityFunction>> functions, Holder<DensityFunction> weirdness) Constructors in net.minecraft.world.level.biome with parameters of type HolderModifierConstructorDescriptionFixedBiomeSource(Holder<Biome> biome) privateTheEndBiomeSource(Holder<Biome> end, Holder<Biome> highlands, Holder<Biome> midlands, Holder<Biome> islands, Holder<Biome> barrens) Constructor parameters in net.minecraft.world.level.biome with type arguments of type HolderModifierConstructorDescriptionprivateMultiNoiseBiomeSource(com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> parameters) privateMultiNoiseBiomeSource(com.mojang.datafixers.util.Either<Climate.ParameterList<Holder<Biome>>, Holder<MultiNoiseBiomeSourceParameterList>> parameters) -
Uses of Holder in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as HolderMethods in net.minecraft.world.level.block that return types with arguments of type HolderMethods in net.minecraft.world.level.block with parameters of type HolderModifier and TypeMethodDescriptionprotected static SuspiciousStewEffectsFlowerBlock.makeEffectList(Holder<MobEffect> suspiciousStewEffect, float effectSeconds) Constructors in net.minecraft.world.level.block with parameters of type HolderModifierConstructorDescriptionFlowerBlock(Holder<MobEffect> suspiciousStewEffect, float effectSeconds, BlockBehaviour.Properties properties) privateType(boolean open, Holder<MobEffect> effect, float duration, SoundEvent longSwitchSound, SoundEvent shortSwitchSound, int particleColor) WitherRoseBlock(Holder<MobEffect> mobEffect, float effectSeconds, BlockBehaviour.Properties properties) -
Uses of Holder in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as HolderModifier and TypeFieldDescriptionprivate final Holder<BannerPattern> BannerPatternLayers.Layer.patternThe field for thepatternrecord component.BeaconBlockEntity.primaryPowerBeaconBlockEntity.secondaryPowerFields in net.minecraft.world.level.block.entity with type parameters of type HolderModifier and TypeFieldDescriptionBeaconBlockEntity.BEACON_EFFECTSstatic final com.mojang.serialization.Codec<Holder<BannerPattern>> BannerPattern.CODECstatic final com.mojang.serialization.Codec<Holder<DecoratedPotPattern>> DecoratedPotPatterns.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<BannerPattern>> BannerPattern.STREAM_CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<DecoratedPotPattern>> DecoratedPotPatterns.STREAM_CODECBeaconBlockEntity.VALID_EFFECTSMethods in net.minecraft.world.level.block.entity that return HolderModifier and TypeMethodDescriptionBeaconBlockEntity.filterEffect(@Nullable Holder<MobEffect> effect) BeaconBlockEntity.loadEffect(ValueInput input, String field) BannerPatternLayers.Layer.pattern()Returns the value of thepatternrecord component.BlockEntity.typeHolder()Methods in net.minecraft.world.level.block.entity with parameters of type HolderModifier and TypeMethodDescriptionBannerPatternLayers.Builder.add(Holder<BannerPattern> pattern, DyeColor color) private static voidBeaconBlockEntity.applyEffects(Level level, BlockPos worldPosition, int levels, @Nullable Holder<MobEffect> primaryPower, @Nullable Holder<MobEffect> secondaryPower) booleanCalibratedSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable GameEvent.Context context) booleanSculkSensorBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable GameEvent.Context context) booleanSculkShriekerBlockEntity.VibrationUser.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, GameEvent.Context context) BeaconBlockEntity.filterEffect(@Nullable Holder<MobEffect> effect) private static intBeaconBlockEntity.getRequiredLevelsFor(@Nullable Holder<MobEffect> effect) booleanSculkCatalystBlockEntity.CatalystListener.handleGameEvent(ServerLevel level, Holder<GameEvent> event, GameEvent.Context context, Vec3 sourcePosition) voidSculkSensorBlockEntity.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) voidSculkShriekerBlockEntity.VibrationUser.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) private static voidBeaconBlockEntity.storeEffect(ValueOutput output, String field, @Nullable Holder<MobEffect> effect) static booleanBeaconBlockEntity.validateEffects(@Nullable Holder<MobEffect> primary, @Nullable Holder<MobEffect> secondary, int levels) Constructors in net.minecraft.world.level.block.entity with parameters of type HolderModifierConstructorDescriptionLayer(Holder<BannerPattern> pattern, DyeColor color) Creates an instance of aLayerrecord class. -
Uses of Holder in net.minecraft.world.level.block.entity.trialspawner
Fields in net.minecraft.world.level.block.entity.trialspawner declared as HolderModifier and TypeFieldDescriptionprivate final Holder<TrialSpawnerConfig> TrialSpawner.FullConfig.normalThe field for thenormalrecord component.private final Holder<TrialSpawnerConfig> TrialSpawner.FullConfig.ominousThe field for theominousrecord component.Fields in net.minecraft.world.level.block.entity.trialspawner with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<TrialSpawnerConfig>> TrialSpawnerConfig.CODECMethods in net.minecraft.world.level.block.entity.trialspawner that return HolderModifier and TypeMethodDescriptionTrialSpawner.FullConfig.normal()Returns the value of thenormalrecord component.TrialSpawner.FullConfig.ominous()Returns the value of theominousrecord component.Methods in net.minecraft.world.level.block.entity.trialspawner that return types with arguments of type HolderModifier and TypeMethodDescriptionTrialSpawnerStateData.findPlayerWithOminousEffect(ServerLevel level, List<UUID> inLineOfSightPlayers) Constructors in net.minecraft.world.level.block.entity.trialspawner with parameters of type HolderModifierConstructorDescriptionFullConfig(Holder<TrialSpawnerConfig> normal, Holder<TrialSpawnerConfig> ominous, int targetCooldownLength, int requiredPlayerRange) Creates an instance of aFullConfigrecord class. -
Uses of Holder in net.minecraft.world.level.block.sounds
Fields in net.minecraft.world.level.block.sounds with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<SoundEvent>> AmbientLeavesBlockSoundPlayer.ambientSoundThe field for theambientSoundrecord component.Methods in net.minecraft.world.level.block.sounds that return types with arguments of type HolderModifier and TypeMethodDescriptionAmbientLeavesBlockSoundPlayer.ambientSound()Returns the value of theambientSoundrecord component.Methods in net.minecraft.world.level.block.sounds with parameters of type HolderModifier and TypeMethodDescriptionAmbientLeavesBlockSoundPlayer.of(Holder<SoundEvent> ambientSound, TagKey<Block> satisfyingBlocks) Constructor parameters in net.minecraft.world.level.block.sounds with type arguments of type HolderModifierConstructorDescriptionAmbientLeavesBlockSoundPlayer(Optional<Holder<SoundEvent>> ambientSound, int chance, Optional<TagKey<Block>> satisfyingBlocks, int nearbySatisfyingBlocksRequired, int nearbySameLeavesRequired) Creates an instance of aAmbientLeavesBlockSoundPlayerrecord class. -
Uses of Holder in net.minecraft.world.level.block.state
Fields in net.minecraft.world.level.block.state with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Map<Holder<Block>, SolidDebugger.Reason> SolidDebugger.reasonByBlockMethods in net.minecraft.world.level.block.state that return HolderMethods in net.minecraft.world.level.block.state with parameters of type HolderModifier and TypeMethodDescriptionstatic booleanSolidDebugger.logAndGet(Holder<Block> block, SolidDebugger.Reason reason) -
Uses of Holder in net.minecraft.world.level.block.state.properties
Fields in net.minecraft.world.level.block.state.properties declared as HolderMethods in net.minecraft.world.level.block.state.properties that return HolderConstructors in net.minecraft.world.level.block.state.properties with parameters of type HolderModifierConstructorDescriptionprivateNoteBlockInstrument(String name, Holder<SoundEvent> soundEvent, NoteBlockInstrument.Type type) -
Uses of Holder in net.minecraft.world.level.chunk
Fields in net.minecraft.world.level.chunk declared as HolderModifier and TypeFieldDescriptionEmptyLevelChunk.biomePalettedContainerFactory.defaultBiomeThe field for thedefaultBiomerecord component.Fields in net.minecraft.world.level.chunk with type parameters of type HolderModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>> PalettedContainerFactory.biomeContainerCodecThe field for thebiomeContainerCodecrecord component.private PalettedContainerRO<Holder<Biome>> LevelChunkSection.biomesPalettedContainerFactory.biomeStrategyThe field for thebiomeStrategyrecord component.private final Function<Holder<Biome>, BiomeGenerationSettings> ChunkGenerator.generationSettingsGetterprivate final List<Holder<StructureSet>> ChunkGeneratorStructureState.possibleStructureSetsMethods in net.minecraft.world.level.chunk that return HolderModifier and TypeMethodDescriptionPalettedContainerFactory.defaultBiome()Returns the value of thedefaultBiomerecord component.ChunkAccess.getNoiseBiome(int quartX, int quartY, int quartZ) EmptyLevelChunk.getNoiseBiome(int quartX, int quartY, int quartZ) ImposterProtoChunk.getNoiseBiome(int quartX, int quartY, int quartZ) LevelChunkSection.getNoiseBiome(int quartX, int quartY, int quartZ) ProtoChunk.getNoiseBiome(int quartX, int quartY, int quartZ) Methods in net.minecraft.world.level.chunk that return types with arguments of type HolderModifier and TypeMethodDescriptioncom.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>> PalettedContainerFactory.biomeContainerCodec()Returns the value of thebiomeContainerCodecrecord component.PalettedContainerFactory.biomeStrategy()Returns the value of thebiomeStrategyrecord component.PalettedContainerFactory.createForBiomes()ChunkGenerator.findNearestMapStructure(ServerLevel level, HolderSet<Structure> wantedStructures, BlockPos pos, int maxSearchRadius, boolean createReference) LevelChunkSection.getBiomes()ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean createReference, ConcentricRingsStructurePlacement rings) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, int chunkOriginX, int chunkOriginZ, int radius, boolean createReference, long seed, RandomSpreadStructurePlacement config) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, boolean createReference, StructurePlacement config, ChunkPos chunkTarget) ChunkGeneratorStructureState.possibleStructureSets()Methods in net.minecraft.world.level.chunk with parameters of type HolderModifier and TypeMethodDescriptionprivate CompletableFuture<List<ChunkPos>> ChunkGeneratorStructureState.generateRingPositions(Holder<StructureSet> structureSet, ConcentricRingsStructurePlacement placement) ChunkGenerator.getBiomeGenerationSettings(Holder<Biome> biome) Deprecated.ChunkGeneratorStructureState.getPlacementsForStructure(Holder<Structure> structure) booleanChunkGeneratorStructureState.hasStructureChunkInRange(Holder<StructureSet> structureSet, int sourceX, int sourceZ, int range) Method parameters in net.minecraft.world.level.chunk with type arguments of type HolderModifier and TypeMethodDescriptionabstract CompletableFuture<ChunkAccess> ChunkGenerator.buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, @Nullable WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes) voidChunkAccess.collectBiomesInPalette(Set<Holder<Biome>> output) static ChunkGeneratorStructureStateChunkGeneratorStructureState.createForFlat(RandomState randomState, long levelSeed, ChunkPos origin, BiomeSource biomeSource, Stream<Holder<StructureSet>> structureOverrides) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, ServerLevel level, StructureManager structureManager, BlockPos pos, boolean createReference, ConcentricRingsStructurePlacement rings) ChunkGenerator.getNearestGeneratedStructure(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, int chunkOriginX, int chunkOriginZ, int radius, boolean createReference, long seed, RandomSpreadStructurePlacement config) ChunkGenerator.getStructureGeneratingAt(Set<Holder<Structure>> structures, LevelReader level, StructureManager structureManager, boolean createReference, StructurePlacement config, ChunkPos chunkTarget) Constructors in net.minecraft.world.level.chunk with parameters of type HolderModifierConstructorDescriptionEmptyLevelChunk(Level level, ChunkPos pos, Holder<Biome> biome) PalettedContainerFactory(Strategy<BlockState> blockStatesStrategy, BlockState defaultBlockState, com.mojang.serialization.Codec<PalettedContainer<BlockState>> blockStatesContainerCodec, Strategy<Holder<Biome>> biomeStrategy, Holder<Biome> defaultBiome, com.mojang.serialization.Codec<PalettedContainerRO<Holder<Biome>>> biomeContainerCodec) Creates an instance of aPalettedContainerFactoryrecord class.Constructor parameters in net.minecraft.world.level.chunk with type arguments of type HolderModifierConstructorDescriptionChunkGenerator(BiomeSource biomeSource, Function<Holder<Biome>, BiomeGenerationSettings> generationSettingsGetter) privateChunkGeneratorStructureState(RandomState randomState, BiomeSource biomeSource, long levelSeed, ChunkPos origin, long concentricRingsSeed, List<Holder<StructureSet>> possibleStructureSets) LevelChunkSection(PalettedContainer<BlockState> states, PalettedContainerRO<Holder<Biome>> biomes) -
Uses of Holder in net.minecraft.world.level.chunk.status
Methods in net.minecraft.world.level.chunk.status that return types with arguments of type HolderModifier and TypeMethodDescriptionChunkStatusTasks.collectPossibleBiomes(WorldGenRegion region, int chunkRadius) -
Uses of Holder in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as HolderModifier and TypeFieldDescriptionprivate final Holder<DimensionType> LevelStem.typeThe field for thetyperecord component.Fields in net.minecraft.world.level.dimension with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<DimensionType>> DimensionType.CODECprivate final Optional<Holder<WorldClock>> DimensionType.defaultClockThe field for thedefaultClockrecord component.static final StreamCodec<RegistryFriendlyByteBuf, Holder<DimensionType>> DimensionType.STREAM_CODECMethods in net.minecraft.world.level.dimension that return HolderModifier and TypeMethodDescriptionLevelStem.type()Returns the value of thetyperecord component.Methods in net.minecraft.world.level.dimension that return types with arguments of type HolderModifier and TypeMethodDescriptionDimensionType.defaultClock()Returns the value of thedefaultClockrecord component.Constructors in net.minecraft.world.level.dimension with parameters of type HolderModifierConstructorDescriptionLevelStem(Holder<DimensionType> type, ChunkGenerator generator) LevelStem(Holder<DimensionType> type, ChunkGenerator generator, OptionalLong seedOverride) Creates an instance of aLevelStemrecord class.Constructor parameters in net.minecraft.world.level.dimension with type arguments of type HolderModifierConstructorDescriptionDimensionType(boolean hasFixedTime, boolean hasSkyLight, boolean hasCeiling, boolean hasEnderDragonFight, double coordinateScale, int minY, int height, int logicalHeight, HolderSet<Block> infiniburn, float ambientLight, DimensionType.MonsterSettings monsterSettings, DimensionType.Skybox skybox, CardinalLighting.Type cardinalLightType, EnvironmentAttributeMap attributes, HolderSet<Timeline> timelines, Optional<Holder<WorldClock>> defaultClock) Creates an instance of aDimensionTyperecord class. -
Uses of Holder in net.minecraft.world.level.gameevent
Fields in net.minecraft.world.level.gameevent declared as HolderFields in net.minecraft.world.level.gameevent with type parameters of type HolderMethods in net.minecraft.world.level.gameevent that return HolderMethods in net.minecraft.world.level.gameevent with parameters of type HolderModifier and TypeMethodDescriptionbooleanGameEventListener.handleGameEvent(ServerLevel level, Holder<GameEvent> event, GameEvent.Context context, Vec3 sourcePosition) voidGameEventDispatcher.post(Holder<GameEvent> gameEvent, Vec3 position, GameEvent.Context context) booleanEuclideanGameEventListenerRegistry.visitInRangeListeners(Holder<GameEvent> event, Vec3 sourcePosition, GameEvent.Context context, GameEventListenerRegistry.ListenerVisitor action) booleanGameEventListenerRegistry.visitInRangeListeners(Holder<GameEvent> event, Vec3 sourcePosition, GameEvent.Context context, GameEventListenerRegistry.ListenerVisitor action) Constructors in net.minecraft.world.level.gameevent with parameters of type HolderModifierConstructorDescriptionListenerInfo(Holder<GameEvent> gameEvent, Vec3 source, GameEvent.Context context, GameEventListener recipient, Vec3 recipientPos) -
Uses of Holder in net.minecraft.world.level.gameevent.vibrations
Fields in net.minecraft.world.level.gameevent.vibrations declared as HolderModifier and TypeFieldDescriptionVibrationInfo.gameEventThe field for thegameEventrecord component.Methods in net.minecraft.world.level.gameevent.vibrations that return HolderModifier and TypeMethodDescriptionVibrationInfo.gameEvent()Returns the value of thegameEventrecord component.Methods in net.minecraft.world.level.gameevent.vibrations with parameters of type HolderModifier and TypeMethodDescriptionbooleanVibrationSystem.User.canReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, GameEvent.Context context) voidVibrationSystem.Listener.forceScheduleVibration(ServerLevel level, Holder<GameEvent> event, GameEvent.Context context, Vec3 origin) static intVibrationSystem.getGameEventFrequency(Holder<GameEvent> event) booleanVibrationSystem.Listener.handleGameEvent(ServerLevel level, Holder<GameEvent> event, GameEvent.Context context, Vec3 sourcePosition) default booleanVibrationSystem.User.isValidVibration(Holder<GameEvent> event, GameEvent.Context context) voidVibrationSystem.User.onReceiveVibration(ServerLevel level, BlockPos pos, Holder<GameEvent> event, @Nullable Entity sourceEntity, @Nullable Entity projectileOwner, float receivingDistance) private voidVibrationSystem.Listener.scheduleVibration(ServerLevel level, VibrationSystem.Data data, Holder<GameEvent> event, GameEvent.Context context, Vec3 origin, Vec3 dest) Constructors in net.minecraft.world.level.gameevent.vibrations with parameters of type HolderModifierConstructorDescriptionVibrationInfo(Holder<GameEvent> gameEvent, float distance, Vec3 pos, @Nullable UUID uuid, @Nullable UUID projectileOwnerUuid) VibrationInfo(Holder<GameEvent> gameEvent, float distance, Vec3 pos, @Nullable UUID uuid, @Nullable UUID projectileOwnerUuid, @Nullable Entity entity) Creates an instance of aVibrationInforecord class. -
Uses of Holder in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as HolderModifier and TypeFieldDescriptionprivate final Holder<BlockStateProvider> GeodeBlockSettings.alternateInnerLayerProviderThe field for thealternateInnerLayerProviderrecord component.private final Holder<BlockStateProvider> GeodeBlockSettings.fillingProviderThe field for thefillingProviderrecord component.private final Holder<BlockStateProvider> GeodeBlockSettings.innerLayerProviderThe field for theinnerLayerProviderrecord component.private final Holder<MaterialRule> NoiseGeneratorSettings.materialRuleThe field for thematerialRulerecord component.private final Holder<BlockStateProvider> GeodeBlockSettings.middleLayerProviderThe field for themiddleLayerProviderrecord component.private final Holder<BlockStateProvider> GeodeBlockSettings.outerLayerProviderThe field for theouterLayerProviderrecord component.private final Holder<NoiseGeneratorSettings> NoiseBasedChunkGenerator.settingsFields in net.minecraft.world.level.levelgen with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<NoiseGeneratorSettings>> NoiseGeneratorSettings.CODECprivate final MemoizedFunction<Holder<Biome>, BiomeGenerationSettings> FlatLevelSource.generationSettingsGetterprivate final Map<Holder<DensityFunction>, Climate.Parameter> SpawnTargetPoint.parametersThe field for theparametersrecord component.Methods in net.minecraft.world.level.levelgen that return HolderModifier and TypeMethodDescriptionGeodeBlockSettings.alternateInnerLayerProvider()Returns the value of thealternateInnerLayerProviderrecord component.GeodeBlockSettings.fillingProvider()Returns the value of thefillingProviderrecord component.NoiseBasedChunkGenerator.generatorSettings()GeodeBlockSettings.innerLayerProvider()Returns the value of theinnerLayerProviderrecord component.NoiseGeneratorSettings.materialRule()Returns the value of thematerialRulerecord component.GeodeBlockSettings.middleLayerProvider()Returns the value of themiddleLayerProviderrecord component.GeodeBlockSettings.outerLayerProvider()Returns the value of theouterLayerProviderrecord component.Methods in net.minecraft.world.level.levelgen that return types with arguments of type HolderModifier and TypeMethodDescriptionSpawnTargetPoint.parameters()Returns the value of theparametersrecord component.Methods in net.minecraft.world.level.levelgen with parameters of type HolderModifier and TypeMethodDescriptionprivate static DensityFunctionNoiseRouterData.QuantizedSpaghettiRarity.noiseFunctionForRarity(Holder<NormalNoise> noise, float rarity) static Map<ResourceKey<LevelStem>, LevelStem> WorldDimensions.withOverworld(Map<ResourceKey<LevelStem>, LevelStem> dimensions, Holder<DimensionType> type, ChunkGenerator generator) static DensityFunctionNoiseRouterData.QuantizedSpaghettiRarity.wrapRarity2d(DensityFunction input, Holder<NormalNoise> noise) static DensityFunctionNoiseRouterData.QuantizedSpaghettiRarity.wrapRarity3d(DensityFunction input, Holder<NormalNoise> noise) Method parameters in net.minecraft.world.level.levelgen with type arguments of type HolderModifier and TypeMethodDescriptionprivate voidNoiseBasedChunkGenerator.applyCarvingMask(ChunkAccess chunk, CarvingMask mask, RandomState randomState, MaterialRule materialRule, WorldGenerationContext context, NoiseChunk noiseChunk, Function<BlockPos, Holder<Biome>> biomeGetter, @Nullable CarvingMask.Filter filter) private voidNoiseBasedChunkGenerator.buildSurface(ChunkAccess protoChunk, NoiseChunk noiseChunk, RandomState randomState, BiomeManager biomeManager, Set<Holder<Biome>> possibleBiomes, MaterialRule materialRule) DebugLevelSource.buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, @Nullable WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes) FlatLevelSource.buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, @Nullable WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes) NoiseBasedChunkGenerator.buildTerrain(ChunkAccess chunk, Blender blender, RandomState randomState, StructureManager structureManager, BiomeManager biomeManager, @Nullable WorldGenRegion carverBiomeRegion, Set<Holder<Biome>> possibleBiomes) Constructors in net.minecraft.world.level.levelgen with parameters of type HolderModifierConstructorDescriptionGeodeBlockSettings(Holder<BlockStateProvider> fillingProvider, Holder<BlockStateProvider> innerLayerProvider, Holder<BlockStateProvider> alternateInnerLayerProvider, Holder<BlockStateProvider> middleLayerProvider, Holder<BlockStateProvider> outerLayerProvider, List<BlockState> innerPlacements, HolderSet<Block> cannotReplace, HolderSet<Block> invalidBlocks) Creates an instance of aGeodeBlockSettingsrecord class.NoiseBasedChunkGenerator(BiomeSource biomeSource, Holder<NoiseGeneratorSettings> settings) NoiseGeneratorSettings(NoiseSettings noiseSettings, BlockState defaultBlock, BlockState defaultFluid, NoiseRouter noiseRouter, Holder<MaterialRule> materialRule, List<SpawnTargetPoint> spawnTarget, int seaLevel, boolean disableMobGeneration, Optional<Aquifer.Config> aquifers, boolean useLegacyRandomSource, NoiseGeneratorSettings.DebugFunctions debugFunctions) Creates an instance of aNoiseGeneratorSettingsrecord class.Constructor parameters in net.minecraft.world.level.levelgen with type arguments of type HolderModifierConstructorDescriptionSpawnTargetPoint(Map<Holder<DensityFunction>, Climate.Parameter> parameters) Creates an instance of aSpawnTargetPointrecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.blending
Fields in net.minecraft.world.level.levelgen.blending with type parameters of type HolderMethods in net.minecraft.world.level.levelgen.blending that return HolderMethods in net.minecraft.world.level.levelgen.blending that return types with arguments of type HolderModifier and TypeMethodDescriptionBlendingData.getBiomeColumn(ChunkAccess chunk, int blockX, int blockZ) Methods in net.minecraft.world.level.levelgen.blending with parameters of type Holder -
Uses of Holder in net.minecraft.world.level.levelgen.carver
Fields in net.minecraft.world.level.levelgen.carver with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<WorldCarver>> WorldCarver.CODEC -
Uses of Holder in net.minecraft.world.level.levelgen.densityfunction
Fields in net.minecraft.world.level.levelgen.densityfunction declared as HolderModifier and TypeFieldDescriptionprivate final Holder<DensityFunction> DensityFunctions.HolderHolder.functionThe field for thefunctionrecord component.Fields in net.minecraft.world.level.levelgen.densityfunction with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<DensityFunction>> DensityFunction.REFERENCE_CODECMethods in net.minecraft.world.level.levelgen.densityfunction that return HolderModifier and TypeMethodDescriptionDensityFunctions.HolderHolder.function()Returns the value of thefunctionrecord component.Methods in net.minecraft.world.level.levelgen.densityfunction with parameters of type HolderModifier and TypeMethodDescriptionDensityFunction.CompileContext.createNoiseSampler(Holder<NormalNoise> parameters) static DensityFunctionDensityFunctions.mappedNoise(Holder<NormalNoise> noiseData, double xzScale, double yScale, float minTarget, float maxTarget) static DensityFunctionDensityFunctions.mappedNoise(Holder<NormalNoise> noiseData, double yScale, float minTarget, float maxTarget) static DensityFunctionDensityFunctions.mappedNoise(Holder<NormalNoise> noiseData, float minTarget, float maxTarget) static DensityFunctionDensityFunctions.noise(Holder<NormalNoise> noiseData) static DensityFunctionDensityFunctions.noise(Holder<NormalNoise> noiseData, double yScale) static DensityFunctionDensityFunctions.noise(Holder<NormalNoise> noiseData, double xzScale, double yScale) static DensityFunctionDensityFunctions.shift(Holder<NormalNoise> noiseData) static DensityFunctionDensityFunctions.shiftA(Holder<NormalNoise> noiseData) static DensityFunctionDensityFunctions.shiftB(Holder<NormalNoise> noiseData) static DensityFunctionDensityFunctions.shiftedNoise2d(DensityFunction shiftX, DensityFunction shiftZ, double xzScale, Holder<NormalNoise> noiseData) Constructors in net.minecraft.world.level.levelgen.densityfunction with parameters of type HolderModifierConstructorDescriptionHolderHolder(Holder<DensityFunction> function) Creates an instance of aHolderHolderrecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.densityfunction.generator
Fields in net.minecraft.world.level.levelgen.densityfunction.generator declared as HolderModifier and TypeFieldDescriptionprivate final Holder<NormalNoise> NoiseFunction.noiseThe field for thenoiserecord component.private final Holder<NormalNoise> ShiftNoiseFunction.Shift.offsetNoiseThe field for theoffsetNoiserecord component.private final Holder<NormalNoise> ShiftNoiseFunction.ShiftA.offsetNoiseThe field for theoffsetNoiserecord component.private final Holder<NormalNoise> ShiftNoiseFunction.ShiftB.offsetNoiseThe field for theoffsetNoiserecord component.Methods in net.minecraft.world.level.levelgen.densityfunction.generator that return HolderModifier and TypeMethodDescriptionNoiseFunction.noise()Returns the value of thenoiserecord component.ShiftNoiseFunction.offsetNoise()ShiftNoiseFunction.Shift.offsetNoise()Returns the value of theoffsetNoiserecord component.ShiftNoiseFunction.ShiftA.offsetNoise()Returns the value of theoffsetNoiserecord component.ShiftNoiseFunction.ShiftB.offsetNoise()Returns the value of theoffsetNoiserecord component.Constructors in net.minecraft.world.level.levelgen.densityfunction.generator with parameters of type HolderModifierConstructorDescriptionNoiseFunction(Holder<NormalNoise> noise, double xzScale, double yScale, DensityFunction shiftX, DensityFunction shiftY, DensityFunction shiftZ) Creates an instance of aNoiseFunctionrecord class.Shift(Holder<NormalNoise> offsetNoise) Creates an instance of aShiftrecord class.ShiftA(Holder<NormalNoise> offsetNoise) Creates an instance of aShiftArecord class.ShiftB(Holder<NormalNoise> offsetNoise) Creates an instance of aShiftBrecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as HolderModifier and TypeFieldDescriptionprivate final Holder<BlockStateProvider> LakeFeature.barrierDeprecated.The field for thebarrierrecord component.private final Holder<BlockStateProvider> TreeFeature.belowTrunkProviderThe field for thebelowTrunkProviderrecord component.private Holder<BlockStateProvider> TreeFeature.Builder.belowTrunkProviderprivate final Holder<BlockStateProvider> ProjectedRandomPatchySquare.blockThe field for theblockrecord component.private final Holder<BlockStateProvider> RandomNeighborSpreadFeature.blockThe field for theblockrecord component.private final Holder<BlockStateProvider> SingleBlockPillarFeature.blockThe field for theblockrecord component.private final Holder<BlockStateProvider> SteppedColumnClusterFeature.blockThe field for theblockrecord component.private final Holder<BlockStateProvider> HugeBrownMushroomFeature.capProviderThe field for thecapProviderrecord component.private final Holder<BlockStateProvider> HugeRedMushroomFeature.capProviderThe field for thecapProviderrecord component.private final Holder<PlacedFeature> RandomSelectorFeature.defaultFeatureDeprecated.The field for thedefaultFeaturerecord component.private final Holder<PlacedFeature> CoralClawFeature.featureThe field for thefeaturerecord component.private final Holder<PlacedFeature> CoralTreeFeature.featureThe field for thefeaturerecord component.private final Holder<PlacedFeature> WeightedPlacedFeature.featureDeprecated.The field for thefeaturerecord component.private final Holder<PlacedFeature> RandomBooleanSelectorFeature.featureFalseThe field for thefeatureFalserecord component.private final Holder<PlacedFeature> RandomBooleanSelectorFeature.featureTrueThe field for thefeatureTruerecord component.private final Holder<BlockStateProvider> LakeFeature.fluidDeprecated.The field for thefluidrecord component.final Holder<BlockStateProvider> TreeFeature.Builder.foliageProviderprivate final Holder<BlockStateProvider> TreeFeature.foliageProviderThe field for thefoliageProviderrecord component.private final Holder<StructureProcessorList> FossilFeature.fossilProcessorsThe field for thefossilProcessorsrecord component.protected final Holder<BlockStateProvider> VegetationPatchFeature.groundStateprivate final Holder<BlockStateProvider> RootSystemFeature.hangingRootStateProviderThe field for thehangingRootStateProviderrecord component.private final Holder<StructureProcessorList> FossilFeature.overlayProcessorsThe field for theoverlayProcessorsrecord component.private final Holder<BlockStateProvider> RootSystemFeature.rootStateProviderThe field for therootStateProviderrecord component.private final Holder<BlockStateProvider> BlockColumnFeature.Layer.stateThe field for thestaterecord component.private final Holder<BlockStateProvider> BlockPileFeature.stateProviderThe field for thestateProviderrecord component.private final Holder<BlockStateProvider> DiskFeature.stateProviderThe field for thestateProviderrecord component.private final Holder<BlockStateProvider> HugeBrownMushroomFeature.stemProviderThe field for thestemProviderrecord component.private final Holder<BlockStateProvider> HugeRedMushroomFeature.stemProviderThe field for thestemProviderrecord component.private final Holder<BlockStateProvider> SimpleBlockFeature.toPlaceThe field for thetoPlacerecord component.private final Holder<PlacedFeature> RootSystemFeature.treeFeatureThe field for thetreeFeaturerecord component.private final Holder<BlockStateProvider> FallenTreeFeature.trunkProviderThe field for thetrunkProviderrecord component.final Holder<BlockStateProvider> TreeFeature.Builder.trunkProviderprivate final Holder<BlockStateProvider> TreeFeature.trunkProviderThe field for thetrunkProviderrecord component.protected final Holder<PlacedFeature> VegetationPatchFeature.vegetationFeatureFields in net.minecraft.world.level.levelgen.feature with type parameters of type HolderModifier and TypeFieldDescriptionprivate final Optional<Holder<PlacedFeature>> SingleBlockPillarFeature.capFeatureThe field for thecapFeaturerecord component.Feature.CODECprivate final WeightedList<Holder<PlacedFeature>> WeightedRandomSelectorFeature.featuresThe field for thefeaturesrecord component.private final Optional<Holder<StructureProcessorList>> TemplateFeature.processorsThe field for theprocessorsrecord component.Methods in net.minecraft.world.level.levelgen.feature that return HolderModifier and TypeMethodDescriptionLakeFeature.barrier()Deprecated.Returns the value of thebarrierrecord component.TreeFeature.belowTrunkProvider()Returns the value of thebelowTrunkProviderrecord component.ProjectedRandomPatchySquare.block()Returns the value of theblockrecord component.RandomNeighborSpreadFeature.block()Returns the value of theblockrecord component.SingleBlockPillarFeature.block()Returns the value of theblockrecord component.SteppedColumnClusterFeature.block()Returns the value of theblockrecord component.AbstractHugeMushroomFeature.capProvider()HugeBrownMushroomFeature.capProvider()Returns the value of thecapProviderrecord component.HugeRedMushroomFeature.capProvider()Returns the value of thecapProviderrecord component.RandomSelectorFeature.defaultFeature()Deprecated.Returns the value of thedefaultFeaturerecord component.CoralClawFeature.feature()Returns the value of thefeaturerecord component.CoralTreeFeature.feature()Returns the value of thefeaturerecord component.WeightedPlacedFeature.feature()Deprecated.Returns the value of thefeaturerecord component.RandomBooleanSelectorFeature.featureFalse()Returns the value of thefeatureFalserecord component.RandomBooleanSelectorFeature.featureTrue()Returns the value of thefeatureTruerecord component.LakeFeature.fluid()Deprecated.Returns the value of thefluidrecord component.TreeFeature.foliageProvider()Returns the value of thefoliageProviderrecord component.FossilFeature.fossilProcessors()Returns the value of thefossilProcessorsrecord component.RootSystemFeature.hangingRootStateProvider()Returns the value of thehangingRootStateProviderrecord component.FossilFeature.overlayProcessors()Returns the value of theoverlayProcessorsrecord component.RootSystemFeature.rootStateProvider()Returns the value of therootStateProviderrecord component.BlockColumnFeature.Layer.state()Returns the value of thestaterecord component.BlockPileFeature.stateProvider()Returns the value of thestateProviderrecord component.DiskFeature.stateProvider()Returns the value of thestateProviderrecord component.AbstractHugeMushroomFeature.stemProvider()HugeBrownMushroomFeature.stemProvider()Returns the value of thestemProviderrecord component.HugeRedMushroomFeature.stemProvider()Returns the value of thestemProviderrecord component.SimpleBlockFeature.toPlace()Returns the value of thetoPlacerecord component.RootSystemFeature.treeFeature()Returns the value of thetreeFeaturerecord component.FallenTreeFeature.trunkProvider()Returns the value of thetrunkProviderrecord component.TreeFeature.trunkProvider()Returns the value of thetrunkProviderrecord component.Methods in net.minecraft.world.level.levelgen.feature that return types with arguments of type HolderModifier and TypeMethodDescriptionSingleBlockPillarFeature.capFeature()Returns the value of thecapFeaturerecord component.WeightedRandomSelectorFeature.features()Returns the value of thefeaturesrecord component.Feature.getSubFeatures()OverlayFeature.getSubFeatures()RandomBooleanSelectorFeature.getSubFeatures()RandomSelectorFeature.getSubFeatures()Deprecated.SequenceFeature.getSubFeatures()SimpleRandomSelectorFeature.getSubFeatures()WeightedRandomSelectorFeature.getSubFeatures()TemplateFeature.processors()Returns the value of theprocessorsrecord component.Methods in net.minecraft.world.level.levelgen.feature with parameters of type HolderModifier and TypeMethodDescriptionTreeFeature.Builder.belowTrunkProvider(Holder<BlockStateProvider> belowTrunkProvider) static BlockColumnFeature.LayerBlockColumnFeature.layer(IntProvider height, Holder<BlockStateProvider> state) static TemplateFeatureTemplateFeature.simple(Identifier id, Holder<StructureProcessorList> processors) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type HolderModifier and TypeMethodDescriptionprotected static <T extends VegetationPatchFeature>
com.mojang.serialization.MapCodec<T> VegetationPatchFeature.makeCodec(com.mojang.datafixers.util.Function10<HolderSet<Block>, Holder<BlockStateProvider>, Holder<PlacedFeature>, CaveSurface, IntProvider, Float, Integer, Float, IntProvider, Float, T> constructor) protected static <T extends VegetationPatchFeature>
com.mojang.serialization.MapCodec<T> VegetationPatchFeature.makeCodec(com.mojang.datafixers.util.Function10<HolderSet<Block>, Holder<BlockStateProvider>, Holder<PlacedFeature>, CaveSurface, IntProvider, Float, Integer, Float, IntProvider, Float, T> constructor) Constructors in net.minecraft.world.level.levelgen.feature with parameters of type HolderModifierConstructorDescriptionBlockPileFeature(Holder<BlockStateProvider> stateProvider) Creates an instance of aBlockPileFeaturerecord class.Builder(Holder<BlockStateProvider> trunkProvider, TrunkPlacer trunkPlacer, Holder<BlockStateProvider> foliageProvider, FoliagePlacer foliagePlacer, Optional<RootPlacer> rootPlacer, FeatureSize minimumSize, Holder<BlockStateProvider> belowTrunkProvider) Builder(BlockStateProvider trunkProvider, TrunkPlacer trunkPlacer, BlockStateProvider foliageProvider, FoliagePlacer foliagePlacer, Optional<RootPlacer> rootPlacer, FeatureSize minimumSize, Holder<BlockStateProvider> belowTrunkProvider) Builder(BlockStateProvider trunkProvider, TrunkPlacer trunkPlacer, BlockStateProvider foliageProvider, FoliagePlacer foliagePlacer, FeatureSize minimumSize, Holder<BlockStateProvider> belowTrunkProvider) CoralClawFeature(Holder<PlacedFeature> feature) Creates an instance of aCoralClawFeaturerecord class.CoralTreeFeature(Holder<PlacedFeature> feature) Creates an instance of aCoralTreeFeaturerecord class.DiskFeature(Holder<BlockStateProvider> stateProvider, BlockPredicate target, IntProvider radius, int halfHeight) Creates an instance of aDiskFeaturerecord class.FallenTreeFeature(Holder<BlockStateProvider> trunkProvider, IntProvider logLength, List<TreeDecorator> stumpDecorators, List<TreeDecorator> logDecorators) Creates an instance of aFallenTreeFeaturerecord class.FossilFeature(List<Identifier> fossilStructures, List<Identifier> overlayStructures, Holder<StructureProcessorList> fossilProcessors, Holder<StructureProcessorList> overlayProcessors, int maxEmptyCornersAllowed) Creates an instance of aFossilFeaturerecord class.HugeBrownMushroomFeature(Holder<BlockStateProvider> capProvider, Holder<BlockStateProvider> stemProvider, int foliageRadius, BlockPredicate canPlaceOn) Creates an instance of aHugeBrownMushroomFeaturerecord class.HugeRedMushroomFeature(Holder<BlockStateProvider> capProvider, Holder<BlockStateProvider> stemProvider, int foliageRadius, BlockPredicate canPlaceOn) Creates an instance of aHugeRedMushroomFeaturerecord class.LakeFeature(Holder<BlockStateProvider> fluid, Holder<BlockStateProvider> barrier, BlockPredicate canPlaceFeature, BlockPredicate canReplaceWithAirOrFluid, BlockPredicate canReplaceWithBarrier) Deprecated.Creates an instance of aLakeFeaturerecord class.Layer(IntProvider height, Holder<BlockStateProvider> state) Creates an instance of aLayerrecord class.ProjectedRandomPatchySquare(Holder<BlockStateProvider> block, BlockPredicate projectThrough, IntProvider size, int maxProjectionHeight) Creates an instance of aProjectedRandomPatchySquarerecord class.RandomBooleanSelectorFeature(Holder<PlacedFeature> featureTrue, Holder<PlacedFeature> featureFalse) Creates an instance of aRandomBooleanSelectorFeaturerecord class.RandomNeighborSpreadFeature(Holder<BlockStateProvider> block, HolderSet<Block> acceptedNeighbors, BlockPredicate canReplace, IntProvider attempts, IntProvider xzOffset, IntProvider yOffset) Creates an instance of aRandomNeighborSpreadFeaturerecord class.RandomSelectorFeature(List<WeightedPlacedFeature> features, Holder<PlacedFeature> defaultFeature) Deprecated.Creates an instance of aRandomSelectorFeaturerecord class.RootSystemFeature(Holder<PlacedFeature> treeFeature, int requiredVerticalSpaceForTree, int levelTestDistance, int maxLevelDeviation, int rootRadius, HolderSet<Block> rootReplaceable, Holder<BlockStateProvider> rootStateProvider, int rootPlacementAttempts, int rootColumnMaxHeight, int hangingRootRadius, int hangingRootsVerticalSpan, Holder<BlockStateProvider> hangingRootStateProvider, int hangingRootPlacementAttempts, int allowedVerticalWaterForTree, BlockPredicate allowedTreePosition) Creates an instance of aRootSystemFeaturerecord class.SimpleBlockFeature(Holder<BlockStateProvider> toPlace) SimpleBlockFeature(Holder<BlockStateProvider> toPlace, boolean scheduleTick) Creates an instance of aSimpleBlockFeaturerecord class.SingleBlockPillarFeature(Holder<BlockStateProvider> block, BlockPredicate mayReplace, Direction direction, float chanceToContinue) SingleBlockPillarFeature(Holder<BlockStateProvider> block, BlockPredicate canReplace, Direction direction, float chanceToContinue, Optional<Holder<PlacedFeature>> capFeature) Creates an instance of aSingleBlockPillarFeaturerecord class.SteppedColumnClusterFeature(Holder<BlockStateProvider> block, BlockPredicate continueThrough, BlockPredicate canReplace, HolderSet<Block> cannotPlaceOn, IntProvider clusterReach, IntProvider columnCount, IntProvider columnReach, IntProvider height) Creates an instance of aSteppedColumnClusterFeaturerecord class.TreeFeature(Holder<BlockStateProvider> trunkProvider, TrunkPlacer trunkPlacer, Holder<BlockStateProvider> foliageProvider, FoliagePlacer foliagePlacer, Optional<RootPlacer> rootPlacer, FeatureSize minimumSize, List<TreeDecorator> decorators, boolean ignoreVines, Holder<BlockStateProvider> belowTrunkProvider) Creates an instance of aTreeFeaturerecord class.VegetationPatchFeature(HolderSet<Block> replaceable, Holder<BlockStateProvider> groundState, Holder<PlacedFeature> vegetationFeature, CaveSurface surface, IntProvider depth, float extraBottomBlockChance, int verticalRange, float vegetationChance, IntProvider xzRadius, float extraEdgeColumnChance) WaterloggedVegetationPatchFeature(HolderSet<Block> replaceable, Holder<BlockStateProvider> groundState, Holder<PlacedFeature> vegetationFeature, CaveSurface surface, IntProvider depth, float extraBottomBlockChance, int verticalRange, float vegetationChance, IntProvider xzRadius, float extraEdgeColumnChance) WeightedPlacedFeature(Holder<PlacedFeature> feature, float chance) Deprecated.Creates an instance of aWeightedPlacedFeaturerecord class.Constructor parameters in net.minecraft.world.level.levelgen.feature with type arguments of type HolderModifierConstructorDescriptionSingleBlockPillarFeature(Holder<BlockStateProvider> block, BlockPredicate canReplace, Direction direction, float chanceToContinue, Optional<Holder<PlacedFeature>> capFeature) Creates an instance of aSingleBlockPillarFeaturerecord class.TemplateFeature(WeightedList<TemplateFeature.TemplateEntry> templates, Optional<Holder<StructureProcessorList>> processors) Creates an instance of aTemplateFeaturerecord class.WeightedRandomSelectorFeature(WeightedList<Holder<PlacedFeature>> features) Creates an instance of aWeightedRandomSelectorFeaturerecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.feature.rootplacers
Fields in net.minecraft.world.level.levelgen.feature.rootplacers declared as HolderModifier and TypeFieldDescriptionprivate final Holder<BlockStateProvider> AboveRootPlacement.aboveRootProviderThe field for theaboveRootProviderrecord component.private final Holder<BlockStateProvider> MangroveRootPlacement.muddyRootsProviderThe field for themuddyRootsProviderrecord component.protected final Holder<BlockStateProvider> RootPlacer.rootProviderMethods in net.minecraft.world.level.levelgen.feature.rootplacers that return HolderModifier and TypeMethodDescriptionAboveRootPlacement.aboveRootProvider()Returns the value of theaboveRootProviderrecord component.MangroveRootPlacement.muddyRootsProvider()Returns the value of themuddyRootsProviderrecord component.Methods in net.minecraft.world.level.levelgen.feature.rootplacers that return types with arguments of type HolderModifier and TypeMethodDescriptionprotected static <P extends RootPlacer>
com.mojang.datafixers.Products.P3<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, IntProvider, Holder<BlockStateProvider>, Optional<AboveRootPlacement>> RootPlacer.rootPlacerParts(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) Constructors in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type HolderModifierConstructorDescriptionAboveRootPlacement(Holder<BlockStateProvider> aboveRootProvider, float aboveRootPlacementChance) Creates an instance of aAboveRootPlacementrecord class.MangroveRootPlacement(HolderSet<Block> canGrowThrough, HolderSet<Block> muddyRootsIn, Holder<BlockStateProvider> muddyRootsProvider, int maxRootWidth, int maxRootLength, float randomSkewChance) Creates an instance of aMangroveRootPlacementrecord class.MangroveRootPlacer(IntProvider trunkOffsetY, Holder<BlockStateProvider> rootProvider, Optional<AboveRootPlacement> aboveRootPlacement, MangroveRootPlacement mangroveRootPlacement) RootPlacer(IntProvider trunkOffsetY, Holder<BlockStateProvider> rootProvider, Optional<AboveRootPlacement> aboveRootPlacement) -
Uses of Holder in net.minecraft.world.level.levelgen.feature.stateproviders
Fields in net.minecraft.world.level.levelgen.feature.stateproviders declared as HolderModifier and TypeFieldDescriptionprivate final @Nullable Holder<BlockStateProvider> RuleBasedStateProvider.fallbackThe field for thefallbackrecord component.private final Holder<BlockStateProvider> CopyPropertiesProvider.sourceThe field for thesourcerecord component.private final Holder<BlockStateProvider> RandomizedIntStateProvider.sourceprivate final Holder<BlockStateProvider> RotatedBlockProvider.stateThe field for thestaterecord component.private final Holder<BlockStateProvider> RuleBasedStateProvider.Rule.thenThe field for thethenrecord component.Fields in net.minecraft.world.level.levelgen.feature.stateproviders with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<BlockStateProvider>> BlockStateProvider.CODECMethods in net.minecraft.world.level.levelgen.feature.stateproviders that return HolderModifier and TypeMethodDescriptionRuleBasedStateProvider.fallback()Returns the value of thefallbackrecord component.static Holder<BlockStateProvider> static Holder<BlockStateProvider> BlockStateProvider.holderOf(BlockState state) CopyPropertiesProvider.source()Returns the value of thesourcerecord component.RotatedBlockProvider.state()Returns the value of thestaterecord component.RuleBasedStateProvider.Rule.then()Returns the value of thethenrecord component.Constructors in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type HolderModifierConstructorDescriptionCreates an instance of aCopyPropertiesProviderrecord class.RandomizedIntStateProvider(Holder<BlockStateProvider> source, String propertyName, IntProvider values) RotatedBlockProvider(Holder<BlockStateProvider> state, Optional<Direction> direction) Creates an instance of aRotatedBlockProviderrecord class.Rule(BlockPredicate ifTrue, Holder<BlockStateProvider> then) Creates an instance of aRulerecord class.RuleBasedStateProvider(@Nullable Holder<BlockStateProvider> fallback, List<RuleBasedStateProvider.Rule> rules) Creates an instance of aRuleBasedStateProviderrecord class.Constructor parameters in net.minecraft.world.level.levelgen.feature.stateproviders with type arguments of type HolderModifierConstructorDescriptionprivateRuleBasedStateProvider(Optional<Holder<BlockStateProvider>> fallback, List<RuleBasedStateProvider.Rule> rules) -
Uses of Holder in net.minecraft.world.level.levelgen.feature.treedecorators
Fields in net.minecraft.world.level.levelgen.feature.treedecorators declared as HolderModifier and TypeFieldDescriptionprotected final Holder<BlockStateProvider> AttachedToLeavesDecorator.blockProviderprivate final Holder<BlockStateProvider> AttachedToLogsDecorator.blockProviderprivate final Holder<BlockStateProvider> PlaceOnGroundDecorator.blockStateProviderprivate final Holder<BlockStateProvider> AlterGroundDecorator.providerConstructors in net.minecraft.world.level.levelgen.feature.treedecorators with parameters of type HolderModifierConstructorDescriptionAlterGroundDecorator(Holder<BlockStateProvider> provider) AttachedToLeavesDecorator(float probability, int exclusionRadiusXZ, int exclusionRadiusY, Holder<BlockStateProvider> blockProvider, int requiredEmptyBlocks, List<Direction> directions) AttachedToLogsDecorator(float probability, Holder<BlockStateProvider> blockProvider, List<Direction> directions) PlaceOnGroundDecorator(int tries, int radius, int height, Holder<BlockStateProvider> blockStateProvider) -
Uses of Holder in net.minecraft.world.level.levelgen.flat
Fields in net.minecraft.world.level.levelgen.flat declared as HolderModifier and TypeFieldDescriptionFlatLevelGeneratorSettings.biomeFlatLayerInfo.blockFlatLevelGeneratorPreset.displayItemThe field for thedisplayItemrecord component.Fields in net.minecraft.world.level.levelgen.flat with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<FlatLevelGeneratorPreset>> FlatLevelGeneratorPreset.CODECprivate final List<Holder<PlacedFeature>> FlatLevelGeneratorSettings.lakesMethods in net.minecraft.world.level.levelgen.flat that return HolderModifier and TypeMethodDescriptionFlatLevelGeneratorPreset.displayItem()Returns the value of thedisplayItemrecord component.FlatLevelGeneratorSettings.getBiome()FlatLevelGeneratorSettings.getBiome(Optional<? extends Holder<Biome>> biome, Holder<Biome> fallbackBiome) FlatLevelGeneratorSettings.getDefaultBiome(HolderGetter<Biome> biomes) Methods in net.minecraft.world.level.levelgen.flat that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic List<Holder<PlacedFeature>> FlatLevelGeneratorSettings.createLakesList(HolderGetter<PlacedFeature> placedFeatures) Methods in net.minecraft.world.level.levelgen.flat with parameters of type HolderModifier and TypeMethodDescriptionFlatLevelGeneratorSettings.adjustGenerationSettings(Holder<Biome> sourceBiome) FlatLevelGeneratorSettings.getBiome(Optional<? extends Holder<Biome>> biome, Holder<Biome> fallbackBiome) FlatLevelGeneratorSettings.withBiomeAndLayers(List<FlatLayerInfo> layers, Optional<HolderSet<StructureSet>> structureOverrides, Holder<Biome> biome) Method parameters in net.minecraft.world.level.levelgen.flat with type arguments of type HolderModifier and TypeMethodDescriptionFlatLevelGeneratorSettings.getBiome(Optional<? extends Holder<Biome>> biome, Holder<Biome> fallbackBiome) Constructors in net.minecraft.world.level.levelgen.flat with parameters of type HolderModifierConstructorDescriptionFlatLayerInfo(int height, Holder<Block> block) FlatLevelGeneratorPreset(Holder<Item> displayItem, FlatLevelGeneratorSettings settings) Creates an instance of aFlatLevelGeneratorPresetrecord class.privateFlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> structureOverrides, List<FlatLayerInfo> layers, boolean lakes, boolean features, Optional<Holder<Biome>> biome, Holder.Reference<Biome> fallbackBiome, Holder<PlacedFeature> lavaUnderground, Holder<PlacedFeature> lavaSurface) FlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> structureOverrides, Holder<Biome> biome, List<Holder<PlacedFeature>> lakes) Constructor parameters in net.minecraft.world.level.levelgen.flat with type arguments of type HolderModifierConstructorDescriptionFlatLevelGeneratorSettings(Optional<HolderSet<StructureSet>> structureOverrides, Holder<Biome> biome, List<Holder<PlacedFeature>> lakes) -
Uses of Holder in net.minecraft.world.level.levelgen.material
Fields in net.minecraft.world.level.levelgen.material declared as HolderFields in net.minecraft.world.level.levelgen.material with type parameters of type HolderModifier and TypeFieldDescriptionMaterialRuleContext.biomeGetterMaterialRuleContext.possibleBiomesMethods in net.minecraft.world.level.levelgen.material that return HolderMethods in net.minecraft.world.level.levelgen.material that return types with arguments of type HolderMethod parameters in net.minecraft.world.level.levelgen.material with type arguments of type HolderModifier and TypeMethodDescriptionvoidMaterialSystem.buildSurface(RandomState randomState, BiomeManager biomeManager, WorldGenerationContext generationContext, ChunkAccess protoChunk, NoiseChunk noiseChunk, MaterialRule ruleSource, @Nullable Set<Holder<Biome>> possibleBiomes) MaterialSystem.topMaterial(MaterialRule ruleSource, RandomState randomState, WorldGenerationContext worldGenerationContext, Function<BlockPos, Holder<Biome>> biomeGetter, ChunkAccess chunk, DensitySamplerSet densitySamplers, BlockPos pos, boolean underFluid) Deprecated.Constructor parameters in net.minecraft.world.level.levelgen.material with type arguments of type HolderModifierConstructorDescription(package private)MaterialRuleContext(MaterialSystem system, RandomState randomState, DensityVolume expectedVolume, DensitySamplerSet densitySamplers, Function<BlockPos, Holder<Biome>> biomeGetter, WorldGenerationContext context, @Nullable Set<Holder<Biome>> possibleBiomes) (package private)MaterialRuleContext(MaterialSystem system, RandomState randomState, DensityVolume expectedVolume, DensitySamplerSet densitySamplers, Function<BlockPos, Holder<Biome>> biomeGetter, WorldGenerationContext context, @Nullable Set<Holder<Biome>> possibleBiomes) -
Uses of Holder in net.minecraft.world.level.levelgen.material.condition
Fields in net.minecraft.world.level.levelgen.material.condition declared as HolderModifier and TypeFieldDescriptionprivate final Holder<MaterialCondition> MaterialCondition.HolderHolder.holderThe field for theholderrecord component.Methods in net.minecraft.world.level.levelgen.material.condition that return HolderModifier and TypeMethodDescriptionMaterialCondition.HolderHolder.holder()Returns the value of theholderrecord component.Method parameters in net.minecraft.world.level.levelgen.material.condition with type arguments of type HolderModifier and TypeMethodDescriptionprivate booleanBiomeCondition.canNeverMatch(Set<Holder<Biome>> possibleBiomes) private booleanBiomeCondition.willAlwaysMatch(Set<Holder<Biome>> possibleBiomes) Constructors in net.minecraft.world.level.levelgen.material.condition with parameters of type HolderModifierConstructorDescriptionHolderHolder(Holder<MaterialCondition> holder) Creates an instance of aHolderHolderrecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.material.rule
Fields in net.minecraft.world.level.levelgen.material.rule declared as HolderModifier and TypeFieldDescriptionprivate final Holder<MaterialRule> MaterialRule.HolderHolder.holderThe field for theholderrecord component.Fields in net.minecraft.world.level.levelgen.material.rule with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<MaterialRule>> MaterialRule.HOLDER_CODECMethods in net.minecraft.world.level.levelgen.material.rule that return HolderModifier and TypeMethodDescriptionMaterialRule.HolderHolder.holder()Returns the value of theholderrecord component.Constructors in net.minecraft.world.level.levelgen.material.rule with parameters of type HolderModifierConstructorDescriptionHolderHolder(Holder<MaterialRule> holder) Creates an instance of aHolderHolderrecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.placement
Fields in net.minecraft.world.level.levelgen.placement declared as HolderModifier and TypeFieldDescriptionPlacedFeature.featureThe field for thefeaturerecord component.Fields in net.minecraft.world.level.levelgen.placement with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<PlacedFeature>> PlacedFeature.CODECMethods in net.minecraft.world.level.levelgen.placement that return HolderModifier and TypeMethodDescriptionPlacedFeature.feature()Returns the value of thefeaturerecord component.Methods in net.minecraft.world.level.levelgen.placement that return types with arguments of type HolderConstructors in net.minecraft.world.level.levelgen.placement with parameters of type HolderModifierConstructorDescriptionPlacedFeature(Holder<Feature> feature, List<PlacementModifier> placement) Creates an instance of aPlacedFeaturerecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.presets
Fields in net.minecraft.world.level.levelgen.presets declared as HolderModifier and TypeFieldDescriptionprivate final Holder<DimensionType> WorldPresets.Bootstrap.endDimensionTypeprivate final Holder<DimensionType> WorldPresets.Bootstrap.netherDimensionTypeprivate final Holder<DimensionType> WorldPresets.Bootstrap.overworldDimensionTypeFields in net.minecraft.world.level.levelgen.presets with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<WorldPreset>> WorldPreset.CODECMethods in net.minecraft.world.level.levelgen.presets with parameters of type HolderModifier and TypeMethodDescriptionprivate LevelStemWorldPresets.Bootstrap.makeNoiseBasedOverworld(BiomeSource overworldBiomeSource, Holder<NoiseGeneratorSettings> noiseSettings) -
Uses of Holder in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as HolderModifier and TypeFieldDescriptionStructureSet.StructureSelectionEntry.structureThe field for thestructurerecord component.Fields in net.minecraft.world.level.levelgen.structure with type parameters of type HolderModifier and TypeFieldDescriptionStructure.CODECstatic final com.mojang.serialization.Codec<Holder<StructureSet>> StructureSet.CODECStructure.GenerationContext.validBiomeThe field for thevalidBiomerecord component.Methods in net.minecraft.world.level.levelgen.structure that return HolderModifier and TypeMethodDescriptionStructureSet.StructureSelectionEntry.structure()Returns the value of thestructurerecord component.Methods in net.minecraft.world.level.levelgen.structure that return types with arguments of type HolderModifier and TypeMethodDescriptionStructure.GenerationContext.validBiome()Returns the value of thevalidBiomerecord component.Methods in net.minecraft.world.level.levelgen.structure with parameters of type HolderModifier and TypeMethodDescriptionStructure.generate(Holder<Structure> selected, ResourceKey<Level> dimension, RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, Climate.Sampler climateSampler, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos sourceChunkPos, int references, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Method parameters in net.minecraft.world.level.levelgen.structure with type arguments of type HolderModifier and TypeMethodDescriptionStructure.generate(Holder<Structure> selected, ResourceKey<Level> dimension, RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, Climate.Sampler climateSampler, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos sourceChunkPos, int references, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Constructors in net.minecraft.world.level.levelgen.structure with parameters of type HolderModifierConstructorDescriptionStructureSelectionEntry(Holder<Structure> structure, int weight) Creates an instance of aStructureSelectionEntryrecord class.StructureSet(Holder<Structure> singleEntry, StructurePlacement placement) Constructor parameters in net.minecraft.world.level.levelgen.structure with type arguments of type HolderModifierConstructorDescriptionGenerationContext(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, Climate.Sampler climateSampler, BiomeResolver biomeResolver, RandomState randomState, StructureTemplateManager structureTemplateManager, WorldgenRandom random, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) Creates an instance of aGenerationContextrecord class.GenerationContext(RegistryAccess registryAccess, ChunkGenerator chunkGenerator, BiomeSource biomeSource, Climate.Sampler climateSampler, RandomState randomState, StructureTemplateManager structureTemplateManager, long seed, ChunkPos chunkPos, LevelHeightAccessor heightAccessor, Predicate<Holder<Biome>> validBiome) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.placement
Fields in net.minecraft.world.level.levelgen.structure.placement declared as HolderModifier and TypeFieldDescriptionprivate final Holder<StructureSet> AbstractSpreadingStructurePlacement.ExclusionZone.otherSetDeprecated.The field for theotherSetrecord component.Methods in net.minecraft.world.level.levelgen.structure.placement that return HolderModifier and TypeMethodDescriptionAbstractSpreadingStructurePlacement.ExclusionZone.otherSet()Deprecated.Returns the value of theotherSetrecord component.Constructors in net.minecraft.world.level.levelgen.structure.placement with parameters of type HolderModifierConstructorDescriptionExclusionZone(Holder<StructureSet> otherSet, int chunkCount) Deprecated.Creates an instance of aExclusionZonerecord class. -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pools
Fields in net.minecraft.world.level.levelgen.structure.pools declared as HolderModifier and TypeFieldDescriptionprivate static final Holder<StructureProcessorList> StructurePoolElement.EMPTYprivate final Holder<StructureTemplatePool> StructureTemplatePool.fallbackprivate final Holder<PlacedFeature> FeaturePoolElement.featureprotected final Holder<StructureProcessorList> SinglePoolElement.processorsFields in net.minecraft.world.level.levelgen.structure.pools with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<StructureTemplatePool>> StructureTemplatePool.CODECprivate static final org.apache.commons.lang3.mutable.MutableObject<com.mojang.serialization.Codec<Holder<StructureTemplatePool>>> StructureTemplatePool.CODEC_REFERENCEMethods in net.minecraft.world.level.levelgen.structure.pools that return HolderMethods in net.minecraft.world.level.levelgen.structure.pools that return types with arguments of type HolderModifier and TypeMethodDescriptionprotected static <E extends SinglePoolElement>
com.mojang.serialization.codecs.RecordCodecBuilder<E, Holder<StructureProcessorList>> SinglePoolElement.processorsCodec()Methods in net.minecraft.world.level.levelgen.structure.pools with parameters of type HolderModifier and TypeMethodDescriptionstatic Optional<Structure.GenerationStub> JigsawPlacement.addPieces(Structure.GenerationContext context, Holder<StructureTemplatePool> startPool, Optional<Identifier> startJigsaw, int maxDepth, BlockPos position, boolean doExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, JigsawStructure.MaxDistance maxDistanceFromCenter, PoolAliasLookup poolAliasLookup, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) StructurePoolElement.feature(Holder<PlacedFeature> feature) static booleanJigsawPlacement.generateJigsaw(ServerLevel level, Holder<StructureTemplatePool> pool, Identifier target, int maxDepth, BlockPos position, boolean keepJigsaws) StructurePoolElement.legacy(String location, Holder<StructureProcessorList> processors) StructurePoolElement.single(String location, Holder<StructureProcessorList> processors) StructurePoolElement.single(String location, Holder<StructureProcessorList> processors, LiquidSettings overrideLiquidSettings) Constructors in net.minecraft.world.level.levelgen.structure.pools with parameters of type HolderModifierConstructorDescriptionprotectedFeaturePoolElement(Holder<PlacedFeature> feature, StructureTemplatePool.Projection projection) protectedLegacySinglePoolElement(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> template, Holder<StructureProcessorList> processors, StructureTemplatePool.Projection projection, Optional<LiquidSettings> liquidSettings) protectedSinglePoolElement(com.mojang.datafixers.util.Either<Identifier, StructureTemplate> template, Holder<StructureProcessorList> processors, StructureTemplatePool.Projection projection, Optional<LiquidSettings> overrideLiquidSettings) StructureTemplatePool(Holder<StructureTemplatePool> fallback, List<com.mojang.datafixers.util.Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>> templates, StructureTemplatePool.Projection projection) StructureTemplatePool(Holder<StructureTemplatePool> fallback, List<com.mojang.datafixers.util.Pair<StructurePoolElement, Integer>> templates) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.pools.alias
Methods in net.minecraft.world.level.levelgen.structure.pools.alias with parameters of type HolderModifier and TypeMethodDescriptionstatic voidPoolAliasBindings.registerTargetsAsPools(BootstrapContext<StructureTemplatePool> context, Holder<StructureTemplatePool> emptyPool, List<PoolAliasBinding> aliasBindings) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.structures
Fields in net.minecraft.world.level.levelgen.structure.structures declared as HolderModifier and TypeFieldDescriptionprivate final Holder<StructureTemplatePool> JigsawStructure.startPoolMethods in net.minecraft.world.level.levelgen.structure.structures that return HolderMethods in net.minecraft.world.level.levelgen.structure.structures with parameters of type HolderModifier and TypeMethodDescriptionprivate static booleanConstructors in net.minecraft.world.level.levelgen.structure.structures with parameters of type HolderModifierConstructorDescriptionJigsawStructure(Structure.StructureSettings settings, Holder<StructureTemplatePool> startPool, int maxDepth, HeightProvider startHeight, boolean useExpansionHack) JigsawStructure(Structure.StructureSettings settings, Holder<StructureTemplatePool> startPool, int maxDepth, HeightProvider startHeight, boolean useExpansionHack, Heightmap.Types projectStartToHeightmap) JigsawStructure(Structure.StructureSettings settings, Holder<StructureTemplatePool> startPool, Optional<Identifier> startJigsawName, int maxDepth, HeightProvider startHeight, boolean useExpansionHack, Optional<Heightmap.Types> projectStartToHeightmap, JigsawStructure.MaxDistance maxDistanceFromCenter, List<PoolAliasBinding> poolAliases, DimensionPadding dimensionPadding, LiquidSettings liquidSettings) -
Uses of Holder in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<StructureProcessorList>> StructureProcessorType.LIST_CODEC -
Uses of Holder in net.minecraft.world.level.levelgen.synth
Fields in net.minecraft.world.level.levelgen.synth with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<NormalNoise>> NormalNoise.CODEC -
Uses of Holder in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material that return Holder -
Uses of Holder in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps declared as HolderModifier and TypeFieldDescriptionstatic final Holder<MapDecorationType> MapDecorationTypes.ABANDONED_CAMPstatic final Holder<MapDecorationType> MapDecorationTypes.ANCIENT_CITYstatic final Holder<MapDecorationType> MapDecorationTypes.BLACK_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.BLUE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.BLUE_MARKERstatic final Holder<MapDecorationType> MapDecorationTypes.BROWN_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.CYAN_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.DESERT_PYRAMIDstatic final Holder<MapDecorationType> MapDecorationTypes.DESERT_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.FRAMEstatic final Holder<MapDecorationType> MapDecorationTypes.GRAY_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.GREEN_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.JUNGLE_TEMPLEstatic final Holder<MapDecorationType> MapDecorationTypes.LIGHT_BLUE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.LIGHT_GRAY_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.LIME_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.MAGENTA_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.MINESHAFTstatic final Holder<MapDecorationType> MapDecorationTypes.OCEAN_MONUMENTstatic final Holder<MapDecorationType> MapDecorationTypes.OCEAN_RUIN_WARMstatic final Holder<MapDecorationType> MapDecorationTypes.ORANGE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.PINK_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.PLAINS_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.PLAYERstatic final Holder<MapDecorationType> MapDecorationTypes.PLAYER_OFF_LIMITSstatic final Holder<MapDecorationType> MapDecorationTypes.PLAYER_OFF_MAPstatic final Holder<MapDecorationType> MapDecorationTypes.PURPLE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.RED_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.RED_MARKERstatic final Holder<MapDecorationType> MapDecorationTypes.RED_Xstatic final Holder<MapDecorationType> MapDecorationTypes.SAVANNA_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.SNOWY_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.SWAMP_HUTstatic final Holder<MapDecorationType> MapDecorationTypes.TAIGA_VILLAGEstatic final Holder<MapDecorationType> MapDecorationTypes.TARGET_POINTstatic final Holder<MapDecorationType> MapDecorationTypes.TARGET_Xstatic final Holder<MapDecorationType> MapDecorationTypes.TRIAL_CHAMBERSprivate final Holder<MapDecorationType> MapDecoration.typeThe field for thetyperecord component.private final Holder<MapDecorationType> MapItemSavedData.MapDecorationLocation.typeThe field for thetyperecord component.static final Holder<MapDecorationType> MapDecorationTypes.WHITE_BANNERstatic final Holder<MapDecorationType> MapDecorationTypes.WOODLAND_MANSIONstatic final Holder<MapDecorationType> MapDecorationTypes.YELLOW_BANNERFields in net.minecraft.world.level.saveddata.maps with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<MapDecorationType>> MapDecorationType.CODECstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<MapDecorationType>> MapDecorationType.STREAM_CODECMethods in net.minecraft.world.level.saveddata.maps that return HolderModifier and TypeMethodDescriptionstatic Holder<MapDecorationType> MapDecorationTypes.bootstrap(Registry<MapDecorationType> registry) private @Nullable Holder<MapDecorationType> MapItemSavedData.decorationTypeForPlayerOutsideMap(float xDeltaFromCenter, float yDeltaFromCenter) MapBanner.getDecoration()private static Holder<MapDecorationType> MapDecorationTypes.register(String name, String assetName, boolean showOnItemFrame, boolean trackCount) MapDecoration.type()Returns the value of thetyperecord component.MapItemSavedData.MapDecorationLocation.type()Returns the value of thetyperecord component.Methods in net.minecraft.world.level.saveddata.maps that return types with arguments of type HolderModifier and TypeMethodDescriptionprivate @Nullable com.mojang.datafixers.util.Pair<Holder<MapDecorationType>, Byte> MapItemSavedData.playerDecorationTypeAndRotation(Holder<MapDecorationType> type, @Nullable LevelAccessor level, double yRot, float xDeltaFromCenter, float yDeltaFromCenter) Methods in net.minecraft.world.level.saveddata.maps with parameters of type HolderModifier and TypeMethodDescriptionvoidMapItemSavedData.addDecoration(Holder<MapDecorationType> type, @Nullable LevelAccessor level, String key, double xPos, double zPos, double yRot, @Nullable Component name) static voidMapItemSavedData.addTargetDecoration(ItemStack itemStack, BlockPos position, String key, Holder<MapDecorationType> decorationType) MapItemSavedData.calculateDecorationLocationAndType(Holder<MapDecorationType> type, @Nullable LevelAccessor level, double yRot, float xDeltaFromCenter, float yDeltaFromCenter) private @Nullable com.mojang.datafixers.util.Pair<Holder<MapDecorationType>, Byte> MapItemSavedData.playerDecorationTypeAndRotation(Holder<MapDecorationType> type, @Nullable LevelAccessor level, double yRot, float xDeltaFromCenter, float yDeltaFromCenter) Constructors in net.minecraft.world.level.saveddata.maps with parameters of type HolderModifierConstructorDescriptionMapDecoration(Holder<MapDecorationType> type, byte x, byte y, byte rot, Optional<Component> name) Creates an instance of aMapDecorationrecord class.privateMapDecorationLocation(Holder<MapDecorationType> type, byte x, byte y, byte rot) Creates an instance of aMapDecorationLocationrecord class. -
Uses of Holder in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot declared as HolderModifier and TypeFieldDescriptionprivate Holder<ContextFloatProvider> LootPool.bonusRollsprivate Holder<ContextFloatProvider> LootPool.Builder.bonusRollsprivate Holder<ContextIntProvider> LootPool.Builder.rollsprivate Holder<ContextIntProvider> LootPool.rollsprivate final Holder<ContextFloatProvider> FloatRangePredicate.Point.valueThe field for thevaluerecord component.private final Holder<ContextIntProvider> IntRangePredicate.Point.valueThe field for thevaluerecord component.Fields in net.minecraft.world.level.storage.loot with type parameters of type HolderModifier and TypeFieldDescriptionLootTable.CODECprivate final Optional<Holder<LootItemCondition>> LootPool.conditionprivate final ImmutableList.Builder<Holder<LootItemCondition>> LootPool.Builder.conditionsprivate final ImmutableList.Builder<Holder<LootItemFunction>> LootPool.Builder.functionsprivate final ImmutableList.Builder<Holder<LootItemFunction>> LootTable.Builder.functionsprivate final Optional<Holder<ContextFloatProvider>> FloatRangePredicate.Line.maxprivate final Optional<Holder<ContextIntProvider>> IntLimit.maxprivate final Optional<Holder<ContextIntProvider>> IntRangePredicate.Line.maxprivate final Optional<Holder<ContextFloatProvider>> FloatRangePredicate.Line.minprivate final Optional<Holder<ContextIntProvider>> IntLimit.minprivate final Optional<Holder<ContextIntProvider>> IntRangePredicate.Line.minprivate final Optional<Holder<LootItemFunction>> LootPool.modifierprivate final Optional<Holder<LootItemFunction>> LootTable.modifierMethods in net.minecraft.world.level.storage.loot that return HolderModifier and TypeMethodDescriptionLootPool.getBonusRolls()LootPool.getRolls()FloatRangePredicate.Point.value()Returns the value of thevaluerecord component.IntRangePredicate.Point.value()Returns the value of thevaluerecord component.Methods in net.minecraft.world.level.storage.loot with parameters of type HolderModifier and TypeMethodDescriptionLootPool.Builder.apply(Holder<LootItemFunction> function) LootTable.Builder.apply(Holder<LootItemFunction> function) private static IntLimit.IntLimiterIntLimit.createLimiter(@Nullable Holder<ContextIntProvider> min, @Nullable Holder<ContextIntProvider> max) private static @Nullable FloatRangePredicate.Line.FloatCheckerFloatRangePredicate.Line.createPredicate(@Nullable Holder<ContextFloatProvider> min, @Nullable Holder<ContextFloatProvider> max) private static @Nullable IntRangePredicate.Line.IntCheckerIntRangePredicate.Line.createPredicate(@Nullable Holder<ContextIntProvider> min, @Nullable Holder<ContextIntProvider> max) LootPool.Builder.setBonusRolls(Holder<ContextFloatProvider> bonusRolls) voidLootPool.setBonusRolls(Holder<ContextFloatProvider> v) LootPool.Builder.setRolls(Holder<ContextIntProvider> rolls) voidLootPool.setRolls(Holder<ContextIntProvider> v) static voidValidatable.validateHolder(ValidationContext context, String name, Holder<? extends Validatable> holder) static voidValidatable.validateHolder(ValidationContext context, Holder<? extends Validatable> holder) LootPool.Builder.when(Holder<LootItemCondition> condition) Method parameters in net.minecraft.world.level.storage.loot with type arguments of type HolderModifier and TypeMethodDescriptionstatic voidValidatable.validateHolder(ValidationContext context, String name, List<? extends Holder<? extends Validatable>> list) static voidValidatable.validateHolder(ValidationContext context, String name, Optional<? extends Holder<? extends Validatable>> optional) Constructors in net.minecraft.world.level.storage.loot with parameters of type HolderModifierConstructorDescriptionprivateLootPool(List<LootPoolEntryContainer> entries, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier, Holder<ContextIntProvider> rolls, Holder<ContextFloatProvider> bonusRolls, Optional<String> name) Point(Holder<ContextFloatProvider> value) Creates an instance of aPointrecord class.Point(Holder<ContextIntProvider> value) Creates an instance of aPointrecord class.Constructor parameters in net.minecraft.world.level.storage.loot with type arguments of type HolderModifierConstructorDescriptionprivateIntLimit(Optional<Holder<ContextIntProvider>> min, Optional<Holder<ContextIntProvider>> max) privateLine(Optional<Holder<ContextFloatProvider>> min, Optional<Holder<ContextFloatProvider>> max) privateLine(Optional<Holder<ContextIntProvider>> min, Optional<Holder<ContextIntProvider>> max) privateLootPool(List<LootPoolEntryContainer> entries, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier, Holder<ContextIntProvider> rolls, Holder<ContextFloatProvider> bonusRolls, Optional<String> name) -
Uses of Holder in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries declared as HolderModifier and TypeFieldDescriptionLootItem.itemprivate final Holder<SlotSource> SlotLoot.slotSourceFields in net.minecraft.world.level.storage.loot.entries with type parameters of type HolderModifier and TypeFieldDescriptionprotected final Optional<Holder<LootItemCondition>> LootPoolEntryContainer.conditionprivate final ImmutableList.Builder<Holder<LootItemCondition>> LootPoolEntryContainer.Builder.conditionsprotected final Optional<Holder<LootItemFunction>> LootPoolEntryContainer.modifierprivate final ImmutableList.Builder<Holder<LootItemFunction>> LootPoolEntryContainer.Builder.modifiersMethods in net.minecraft.world.level.storage.loot.entries that return types with arguments of type HolderModifier and TypeMethodDescriptionprotected static <T extends LootPoolEntryContainer>
com.mojang.datafixers.Products.P2<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Optional<Holder<LootItemCondition>>, Optional<Holder<LootItemFunction>>> LootPoolEntryContainer.commonFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> i) protected static <T extends LootPoolEntryContainer>
com.mojang.datafixers.Products.P2<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Optional<Holder<LootItemCondition>>, Optional<Holder<LootItemFunction>>> LootPoolEntryContainer.commonFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> i) protected static <T extends ExpandableContainerBase>
com.mojang.datafixers.Products.P5<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Boolean, Integer, Integer, Optional<Holder<LootItemCondition>>, Optional<Holder<LootItemFunction>>> ExpandableContainerBase.expandableFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> i) protected static <T extends ExpandableContainerBase>
com.mojang.datafixers.Products.P5<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Boolean, Integer, Integer, Optional<Holder<LootItemCondition>>, Optional<Holder<LootItemFunction>>> ExpandableContainerBase.expandableFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> i) protected Optional<Holder<LootItemCondition>> LootPoolEntryContainer.Builder.getCondition()protected Optional<Holder<LootItemFunction>> LootPoolEntryContainer.Builder.getModifier()protected static <T extends UniformContainerBase>
com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Integer, Integer, Optional<Holder<LootItemCondition>>, Optional<Holder<LootItemFunction>>> UniformContainerBase.uniformFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> i) protected static <T extends UniformContainerBase>
com.mojang.datafixers.Products.P4<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Integer, Integer, Optional<Holder<LootItemCondition>>, Optional<Holder<LootItemFunction>>> UniformContainerBase.uniformFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> i) Methods in net.minecraft.world.level.storage.loot.entries with parameters of type HolderModifier and TypeMethodDescriptionLootPoolEntryContainer.Builder.apply(Holder<LootItemFunction> function) static UniformContainerBase.Builder<?> NestedLootTable.lootTableReference(Holder<LootTable> table) LootPoolEntryContainer.Builder.when(Holder<LootItemCondition> condition) Method parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type HolderModifier and TypeMethodDescriptionUniformContainerBase.EntryConstructor.build(int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) CompositeEntryBase.CompositeEntryConstructor.create(List<LootPoolEntryContainer> children, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) Constructors in net.minecraft.world.level.storage.loot.entries with parameters of type HolderModifierConstructorDescriptionprivateLootItem(Holder<Item> item, int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) privateSlotLoot(Holder<SlotSource> slotSource, int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) Constructor parameters in net.minecraft.world.level.storage.loot.entries with type arguments of type HolderModifierConstructorDescriptionAlternativesEntry(List<LootPoolEntryContainer> children, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) protectedCompositeEntryBase(List<LootPoolEntryContainer> children, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) privateDynamicLoot(Identifier name, int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) privateEmptyLootItem(int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) EntryGroup(List<LootPoolEntryContainer> children, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) protectedExpandableContainerBase(boolean expand, int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) privateLootItem(Holder<Item> item, int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) protectedLootPoolEntryContainer(Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) privateNestedLootTable(HolderSet<LootTable> value, boolean expand, int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) SequentialEntry(List<LootPoolEntryContainer> children, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) protectedSingleEntryContainerBase(int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) privateSlotLoot(Holder<SlotSource> slotSource, int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) privateTagEntry(HolderSet<Item> tag, boolean expand, int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) protectedUniformContainerBase(int weight, int quality, Optional<Holder<LootItemCondition>> condition, Optional<Holder<LootItemFunction>> modifier) -
Uses of Holder in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as HolderModifier and TypeFieldDescriptionprivate final Holder<ContextFloatProvider> SetAttributesFunction.Modifier.amountThe field for theamountrecord component.private final Holder<ContextFloatProvider> SetAttributesFunction.ModifierBuilder.amountprivate final Holder<ContextIntProvider> SetOminousBottleAmplifierFunction.amplifierSetAttributesFunction.Modifier.attributeThe field for theattributerecord component.SetAttributesFunction.ModifierBuilder.attributeCopyBlockState.blockCopyBlockState.Builder.blockprivate final Holder<ContextFloatProvider> EnchantedCountIncreaseFunction.Builder.countprivate final Holder<ContextFloatProvider> EnchantedCountIncreaseFunction.countprivate final Holder<ContextIntProvider> SetItemCountFunction.countprivate final Holder<ContextFloatProvider> SetItemDamageFunction.damagestatic final Holder<MapDecorationType> ExplorationMapFunction.DEFAULT_DECORATIONprivate final Holder<ContextIntProvider> SetStewEffectFunction.EffectEntry.durationThe field for thedurationrecord component.SetStewEffectFunction.EffectEntry.effectThe field for theeffectrecord component.private final Holder<Enchantment> ApplyBonusCount.enchantmentprivate final Holder<Enchantment> EnchantedCountIncreaseFunction.Builder.enchantmentprivate final Holder<Enchantment> EnchantedCountIncreaseFunction.enchantmentSetItemFunction.itemprivate final Holder<ContextIntProvider> EnchantWithLevelsFunction.Builder.levelsprivate final Holder<ContextIntProvider> EnchantWithLevelsFunction.levelsprivate Holder<MapDecorationType> ExplorationMapFunction.Builder.mapDecorationprivate final Holder<MapDecorationType> ExplorationMapFunction.mapDecorationprivate final Holder<LootItemFunction> ModifyContainerContents.modifierprivate final Holder<ContextIntProvider> SetRandomDyesFunction.numberOfDyesSetPotionFunction.potionFields in net.minecraft.world.level.storage.loot.functions with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<LootItemFunction>> LootItemFunctions.CODECprivate static final com.mojang.serialization.Codec<Holder<ContextIntProvider>> SetCustomModelDataFunction.COLOR_PROVIDER_CODECprivate final Optional<ListOperation.StandAlone<Holder<ContextIntProvider>>> SetCustomModelDataFunction.colorsprotected final Optional<Holder<LootItemCondition>> LootItemConditionalFunction.conditionprivate final ImmutableList.Builder<Holder<LootItemCondition>> LootItemConditionalFunction.Builder.conditionsprivate final Function<Optional<Holder<LootItemCondition>>, LootItemFunction> LootItemConditionalFunction.DummyBuilder.constructorprivate final ImmutableMap.Builder<Holder<Enchantment>, Holder<ContextIntProvider>> SetEnchantmentsFunction.Builder.enchantmentsprivate final ImmutableMap.Builder<Holder<Enchantment>, Holder<ContextIntProvider>> SetEnchantmentsFunction.Builder.enchantmentsprivate final Map<Holder<Enchantment>, Holder<ContextIntProvider>> SetEnchantmentsFunction.enchantmentsprivate final Map<Holder<Enchantment>, Holder<ContextIntProvider>> SetEnchantmentsFunction.enchantmentsprivate final Optional<ListOperation.StandAlone<Holder<ContextFloatProvider>>> SetCustomModelDataFunction.floatsprivate Optional<Holder<LootItemFunction>> FilteredFunction.Builder.onFailprivate final Optional<Holder<LootItemFunction>> FilteredFunction.onFailprivate Optional<Holder<LootItemFunction>> FilteredFunction.Builder.onPassprivate final Optional<Holder<LootItemFunction>> FilteredFunction.onPassMethods in net.minecraft.world.level.storage.loot.functions that return HolderModifier and TypeMethodDescriptionSetAttributesFunction.Modifier.amount()Returns the value of theamountrecord component.SetAttributesFunction.Modifier.attribute()Returns the value of theattributerecord component.SetStewEffectFunction.EffectEntry.duration()Returns the value of thedurationrecord component.SetStewEffectFunction.EffectEntry.effect()Returns the value of theeffectrecord component.Methods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic Optional<Holder<LootItemFunction>> FunctionUserBuilder.buildFunction(List<Holder<LootItemFunction>> conditions) protected static <T extends LootItemConditionalFunction>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Optional<Holder<LootItemCondition>>> LootItemConditionalFunction.commonFields(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> i) protected Optional<Holder<LootItemCondition>> LootItemConditionalFunction.Builder.getCondition()Methods in net.minecraft.world.level.storage.loot.functions with parameters of type HolderModifier and TypeMethodDescriptionstatic LootItemConditionalFunction.Builder<?> ApplyBonusCount.addBonusBinomialDistributionCount(Holder<Enchantment> enchantment, float probability, int extraRounds) static LootItemConditionalFunction.Builder<?> ApplyBonusCount.addOreBonusCount(Holder<Enchantment> enchantment) SetBannerPatternFunction.Builder.addPattern(Holder<BannerPattern> pattern, DyeColor color) static LootItemConditionalFunction.Builder<?> ApplyBonusCount.addUniformBonusCount(Holder<Enchantment> enchantment) static LootItemConditionalFunction.Builder<?> ApplyBonusCount.addUniformBonusCount(Holder<Enchantment> enchantment, int bonusMultiplier) FunctionUserBuilder.apply(Holder<LootItemFunction> function) private ItemStackEnchantRandomlyFunction.enchantItem(ItemStack itemStack, Holder<Enchantment> enchantment, LootContext context) EnchantWithLevelsFunction.enchantWithLevels(HolderGetter<Enchantment> enchantments, Holder<ContextIntProvider> levels) EnchantedCountIncreaseFunction.lootingMultiplier(HolderGetter<Enchantment> enchantments, Holder<ContextFloatProvider> count) SetAttributesFunction.modifier(Identifier id, Holder<Attribute> attribute, AttributeModifier.Operation operation, Holder<ContextFloatProvider> amount) static LootItemConditionalFunction.Builder<?> SetOminousBottleAmplifierFunction.setAmplifier(Holder<ContextIntProvider> amplifier) static LootItemConditionalFunction.Builder<?> SetItemCountFunction.setCount(Holder<ContextIntProvider> count) static LootItemConditionalFunction.Builder<?> SetItemCountFunction.setCount(Holder<ContextIntProvider> count, boolean add) static LootItemConditionalFunction.Builder<?> SetItemDamageFunction.setDamage(Holder<ContextFloatProvider> value) static LootItemConditionalFunction.Builder<?> SetItemDamageFunction.setDamage(Holder<ContextFloatProvider> value, boolean add) ExplorationMapFunction.Builder.setMapDecoration(Holder<MapDecorationType> mapDecoration) static LootItemConditionalFunction.Builder<?> LootItemConditionalFunction.Builder.when(Holder<LootItemCondition> condition) static LootItemConditionalFunction.Builder<?> SetRandomDyesFunction.withCount(Holder<ContextIntProvider> numberOfDyes) SetStewEffectFunction.Builder.withEffect(Holder<MobEffect> effect, int duration) SetStewEffectFunction.Builder.withEffect(Holder<MobEffect> effect, Holder<ContextIntProvider> duration) EnchantRandomlyFunction.Builder.withEnchantment(Holder<Enchantment> enchantment) SetEnchantmentsFunction.Builder.withEnchantment(Holder<Enchantment> enchantment, Holder<ContextIntProvider> levelProvider) Method parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type HolderModifier and TypeMethodDescriptionstatic Optional<Holder<LootItemFunction>> FunctionUserBuilder.buildFunction(List<Holder<LootItemFunction>> conditions) LootItemFunction.decorate(Optional<Holder<LootItemFunction>> maybeFunction, Consumer<ItemStack> output, LootContext context) static SequenceFunctionSequenceFunction.of(List<Holder<LootItemFunction>> functions) static LootItemConditionalFunction.Builder<?> LootItemConditionalFunction.simpleBuilder(Function<Optional<Holder<LootItemCondition>>, LootItemFunction> constructor) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type HolderModifierConstructorDescriptionprivateApplyBonusCount(Optional<Holder<LootItemCondition>> condition, Holder<Enchantment> enchantment, ApplyBonusCount.Formula formula) Builder(Holder<Enchantment> enchantment, Holder<ContextFloatProvider> count) Builder(Holder<ContextIntProvider> levels) privateCopyBlockState(Optional<Holder<LootItemCondition>> condition, Holder<Block> block, List<String> propertyNames) privateCopyBlockState(Optional<Holder<LootItemCondition>> condition, Holder<Block> block, Set<Property<?>> properties) privateEffectEntry(Holder<MobEffect> effect, Holder<ContextIntProvider> duration) Creates an instance of aEffectEntryrecord class.privateEnchantedCountIncreaseFunction(Optional<Holder<LootItemCondition>> condition, Holder<Enchantment> enchantment, Holder<ContextFloatProvider> count, int limit) privateEnchantWithLevelsFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextIntProvider> levels, Optional<HolderSet<Enchantment>> options, boolean includeAdditionalCostComponent) privateExplorationMapFunction(Optional<Holder<LootItemCondition>> condition, HolderSet<Structure> destination, Holder<MapDecorationType> mapDecoration, byte zoom, int searchRadius, boolean skipKnownStructures) privateModifier(Identifier id, Holder<Attribute> attribute, AttributeModifier.Operation operation, Holder<ContextFloatProvider> amount, List<EquipmentSlotGroup> slots) Creates an instance of aModifierrecord class.ModifierBuilder(Identifier id, Holder<Attribute> attribute, AttributeModifier.Operation operation, Holder<ContextFloatProvider> amount) ModifyContainerContents(Optional<Holder<LootItemCondition>> condition, ContainerComponentManipulator<?> component, Holder<LootItemFunction> modifier) privateSetItemCountFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextIntProvider> count, boolean add) privateSetItemDamageFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextFloatProvider> damage, boolean add) SetItemFunction(Optional<Holder<LootItemCondition>> condition, Holder<Item> item) privateSetOminousBottleAmplifierFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextIntProvider> amplifier) privateSetPotionFunction(Optional<Holder<LootItemCondition>> condition, Holder<Potion> potion) privateSetRandomDyesFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextIntProvider> numberOfDyes) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type HolderModifierConstructorDescriptionprivateApplyBonusCount(Optional<Holder<LootItemCondition>> condition, Holder<Enchantment> enchantment, ApplyBonusCount.Formula formula) privateApplyExplosionDecay(Optional<Holder<LootItemCondition>> condition) privateCopyBlockState(Optional<Holder<LootItemCondition>> condition, Holder<Block> block, List<String> propertyNames) privateCopyBlockState(Optional<Holder<LootItemCondition>> condition, Holder<Block> block, Set<Property<?>> properties) privateCopyComponentsFunction(Optional<Holder<LootItemCondition>> condition, LootContextArg<DataComponentGetter> source, Optional<List<DataComponentType<?>>> include, Optional<List<DataComponentType<?>>> exclude) privateCopyCustomDataFunction(Optional<Holder<LootItemCondition>> condition, NbtProvider source, List<CopyCustomDataFunction.CopyOperation> operations) privateCopyNameFunction(Optional<Holder<LootItemCondition>> condition, LootContextArg<?> source) protectedDiscardItem(Optional<Holder<LootItemCondition>> condition) DummyBuilder(Function<Optional<Holder<LootItemCondition>>, LootItemFunction> constructor) privateEnchantedCountIncreaseFunction(Optional<Holder<LootItemCondition>> condition, Holder<Enchantment> enchantment, Holder<ContextFloatProvider> count, int limit) privateEnchantRandomlyFunction(Optional<Holder<LootItemCondition>> condition, Optional<HolderSet<Enchantment>> options, boolean onlyCompatible, boolean includeAdditionalCostComponent) privateEnchantWithLevelsFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextIntProvider> levels, Optional<HolderSet<Enchantment>> options, boolean includeAdditionalCostComponent) privateExplorationMapFunction(Optional<Holder<LootItemCondition>> condition, HolderSet<Structure> destination, Holder<MapDecorationType> mapDecoration, byte zoom, int searchRadius, boolean skipKnownStructures) FillPlayerHead(Optional<Holder<LootItemCondition>> condition, LootContext.EntityTarget entityTarget) FilteredFunction(Optional<Holder<LootItemCondition>> condition, ItemPredicate filter, Optional<Holder<LootItemFunction>> onPass, Optional<Holder<LootItemFunction>> onFail) privateLimitCount(Optional<Holder<LootItemCondition>> condition, IntLimit limit) protectedLootItemConditionalFunction(Optional<Holder<LootItemCondition>> condition) ModifyContainerContents(Optional<Holder<LootItemCondition>> condition, ContainerComponentManipulator<?> component, Holder<LootItemFunction> modifier) SequenceFunction(Optional<Holder<LootItemCondition>> condition, HolderSet<LootItemFunction> functions) privateSetAttributesFunction(Optional<Holder<LootItemCondition>> condition, List<SetAttributesFunction.Modifier> modifiers, boolean replace) privateSetBannerPatternFunction(Optional<Holder<LootItemCondition>> condition, BannerPatternLayers patterns, boolean append) SetBookCoverFunction(Optional<Holder<LootItemCondition>> condition, Optional<Filterable<String>> title, Optional<String> author, Optional<Integer> generation) privateSetComponentsFunction(Optional<Holder<LootItemCondition>> condition, DataComponentPatch components) privateSetContainerContents(Optional<Holder<LootItemCondition>> condition, ContainerComponentManipulator<?> component, List<LootPoolEntryContainer> entries) privateSetContainerLootTable(Optional<Holder<LootItemCondition>> condition, Holder.Reference<LootTable> lootTableId, long seed) privateSetCustomDataFunction(Optional<Holder<LootItemCondition>> condition, CompoundTag tag) SetCustomModelDataFunction(Optional<Holder<LootItemCondition>> condition, Optional<ListOperation.StandAlone<Holder<ContextFloatProvider>>> floats, Optional<ListOperation.StandAlone<Boolean>> flags, Optional<ListOperation.StandAlone<String>> strings, Optional<ListOperation.StandAlone<Holder<ContextIntProvider>>> colors) privateSetEnchantmentsFunction(Optional<Holder<LootItemCondition>> condition, Map<Holder<Enchantment>, Holder<ContextIntProvider>> enchantments, boolean add) privateSetEnchantmentsFunction(Optional<Holder<LootItemCondition>> condition, Map<Holder<Enchantment>, Holder<ContextIntProvider>> enchantments, boolean add) privateSetEnchantmentsFunction(Optional<Holder<LootItemCondition>> condition, Map<Holder<Enchantment>, Holder<ContextIntProvider>> enchantments, boolean add) SetFireworkExplosionFunction(Optional<Holder<LootItemCondition>> condition, Optional<FireworkExplosion.Shape> shape, Optional<it.unimi.dsi.fastutil.ints.IntList> colors, Optional<it.unimi.dsi.fastutil.ints.IntList> fadeColors, Optional<Boolean> hasTrail, Optional<Boolean> hasTwinkle) SetFireworksFunction(Optional<Holder<LootItemCondition>> condition, Optional<ListOperation.StandAlone<FireworkExplosion>> explosions, Optional<Integer> flightDuration) privateSetInstrumentFunction(Optional<Holder<LootItemCondition>> condition, HolderSet<Instrument> options) privateSetItemCountFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextIntProvider> count, boolean add) privateSetItemDamageFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextFloatProvider> damage, boolean add) SetItemFunction(Optional<Holder<LootItemCondition>> condition, Holder<Item> item) SetLoreFunction(Optional<Holder<LootItemCondition>> condition, List<Component> lore, ListOperation mode, Optional<LootContext.EntityTarget> resolutionContext) privateSetNameFunction(Optional<Holder<LootItemCondition>> condition, Optional<Component> name, Optional<LootContext.EntityTarget> resolutionContext, SetNameFunction.Target target) privateSetOminousBottleAmplifierFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextIntProvider> amplifier) privateSetPotionFunction(Optional<Holder<LootItemCondition>> condition, Holder<Potion> potion) privateSetRandomDyesFunction(Optional<Holder<LootItemCondition>> condition, Holder<ContextIntProvider> numberOfDyes) privateSetRandomPotionFunction(Optional<Holder<LootItemCondition>> condition, Optional<HolderSet<Potion>> options) privateSetStewEffectFunction(Optional<Holder<LootItemCondition>> condition, List<SetStewEffectFunction.EffectEntry> effects) SetWritableBookPagesFunction(Optional<Holder<LootItemCondition>> condition, List<Filterable<String>> pages, ListOperation pageOperation) SetWrittenBookPagesFunction(Optional<Holder<LootItemCondition>> condition, List<Filterable<Component>> pages, ListOperation pageOperation) privateSmeltItemFunction(Optional<Holder<LootItemCondition>> condition, boolean useInputCount) ToggleTooltips(Optional<Holder<LootItemCondition>> condition, Map<DataComponentType<?>, Boolean> values) -
Uses of Holder in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as HolderModifier and TypeFieldDescriptionprivate final Holder<ContextFloatProvider> LootItemRandomChanceCondition.chanceThe field for thechancerecord component.private final Holder<WorldClock> TimeCheck.Builder.clockprivate final Holder<WorldClock> TimeCheck.clockThe field for theclockrecord component.private final Holder<Enchantment> BonusLevelTableCondition.enchantmentThe field for theenchantmentrecord component.private final Holder<Enchantment> LootItemRandomChanceWithEnchantedBonusCondition.enchantmentThe field for theenchantmentrecord component.private final Holder<LootItemCondition> InvertedLootItemCondition.termThe field for thetermrecord component.private final Holder<ContextFloatProvider> FloatValueCheck.valueThe field for thevaluerecord component.private final Holder<ContextIntProvider> IntValueCheck.valueThe field for thevaluerecord component.Fields in net.minecraft.world.level.storage.loot.predicates with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<LootItemCondition>> LootItemCondition.CODECprivate final ImmutableList.Builder<Holder<LootItemCondition>> CompositeLootItemCondition.Builder.termsMethods in net.minecraft.world.level.storage.loot.predicates that return HolderModifier and TypeMethodDescriptionLootItemRandomChanceCondition.chance()Returns the value of thechancerecord component.TimeCheck.clock()Returns the value of theclockrecord component.BonusLevelTableCondition.enchantment()Returns the value of theenchantmentrecord component.LootItemRandomChanceWithEnchantedBonusCondition.enchantment()Returns the value of theenchantmentrecord component.InvertedLootItemCondition.term()Returns the value of thetermrecord component.FloatValueCheck.value()Returns the value of thevaluerecord component.IntValueCheck.value()Returns the value of thevaluerecord component.Methods in net.minecraft.world.level.storage.loot.predicates that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic Optional<Holder<LootItemCondition>> ConditionUserBuilder.buildCondition(List<Holder<LootItemCondition>> conditions) Methods in net.minecraft.world.level.storage.loot.predicates with parameters of type HolderModifier and TypeMethodDescriptionvoidCompositeLootItemCondition.Builder.addTerm(Holder<LootItemCondition> term) static LootItemCondition.BuilderBonusLevelTableCondition.bonusLevelFlatChance(Holder<Enchantment> enchantment, float... chances) static LootItemCondition.BuilderFloatValueCheck.hasValue(Holder<ContextFloatProvider> value, FloatRangePredicate range) static LootItemCondition.BuilderIntValueCheck.hasValue(Holder<ContextIntProvider> value, IntRangePredicate range) private static Predicate<LootContext> CompositeLootItemCondition.holderToLazyPredicate(Holder<LootItemCondition> h) static LootItemCondition.BuilderInvertedLootItemCondition.invert(Holder<LootItemCondition> term) AnyOfCondition.Builder.or(Holder<LootItemCondition> term) static LootItemCondition.BuilderLootItemRandomChanceCondition.randomChance(Holder<ContextFloatProvider> probability) static TimeCheck.BuilderTimeCheck.time(Holder<WorldClock> clock, IntRangePredicate value) ConditionUserBuilder.when(Holder<LootItemCondition> condition) Method parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type HolderModifier and TypeMethodDescriptionstatic Optional<Holder<LootItemCondition>> ConditionUserBuilder.buildCondition(List<Holder<LootItemCondition>> conditions) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type HolderModifierConstructorDescriptionBonusLevelTableCondition(Holder<Enchantment> enchantment, List<Float> values) Creates an instance of aBonusLevelTableConditionrecord class.Builder(Holder<WorldClock> clock, IntRangePredicate value) FloatValueCheck(Holder<ContextFloatProvider> value, FloatRangePredicate range) Creates an instance of aFloatValueCheckrecord class.IntValueCheck(Holder<ContextIntProvider> value, IntRangePredicate range) Creates an instance of aIntValueCheckrecord class.Creates an instance of aInvertedLootItemConditionrecord class.Creates an instance of aLootItemRandomChanceConditionrecord class.LootItemRandomChanceWithEnchantedBonusCondition(float unenchantedChance, LevelBasedValue enchantedChance, Holder<Enchantment> enchantment) Creates an instance of aLootItemRandomChanceWithEnchantedBonusConditionrecord class.TimeCheck(Holder<WorldClock> clock, Optional<Long> period, IntRangePredicate value) Creates an instance of aTimeCheckrecord class. -
Uses of Holder in net.minecraft.world.level.storage.loot.providers.number
Fields in net.minecraft.world.level.storage.loot.providers.number declared as HolderModifier and TypeFieldDescriptionprivate final Holder<LootItemCondition> DispatcherProvider.Case.conditionThe field for theconditionrecord component.DispatcherProvider.Case.valueThe field for thevaluerecord component.Methods in net.minecraft.world.level.storage.loot.providers.number that return HolderModifier and TypeMethodDescriptionPowerProvider.base()ConditionalProvider.condition()DispatcherProvider.Case.condition()Returns the value of theconditionrecord component.DispatcherProvider.defaultValue()PowerProvider.exponent()UnaryProvider.input()BinaryProvider.left()RangeProvider.max()RangeProvider.min()ConditionalProvider.onFalse()ConditionalProvider.onTrue()BinaryProvider.right()ConditionalProvider.selectValue(LootContext context) DispatcherProvider.selectValue(LootContext context) DispatcherProvider.Case.value()Returns the value of thevaluerecord component.Methods in net.minecraft.world.level.storage.loot.providers.number that return types with arguments of type HolderMethods in net.minecraft.world.level.storage.loot.providers.number with parameters of type HolderModifier and TypeMethodDescriptionConditionalProvider.Factory.create(Holder<LootItemCondition> condition, Holder<Value> onTrue, Holder<Value> onFalse) DispatcherProvider.Factory.create(List<DispatcherProvider.Case<Value>> cases, Holder<Value> defaultValue) static <Value extends Validatable, Self extends ConditionalProvider<Value>>
com.mojang.serialization.MapCodec<Self> ConditionalProvider.mapCodec(com.mojang.serialization.Codec<Holder<Value>> valueCodec, Holder<Value> defaultIfFalse, ConditionalProvider.Factory<Value, Self> factory) static <Value extends Validatable, Self extends DispatcherProvider<Value>>
com.mojang.serialization.MapCodec<Self> DispatcherProvider.mapCodec(com.mojang.serialization.Codec<Holder<Value>> valueCodec, Holder<Value> defaultCase, DispatcherProvider.Factory<Value, Self> factory) Method parameters in net.minecraft.world.level.storage.loot.providers.number with type arguments of type HolderModifier and TypeMethodDescriptionstatic <Value extends Validatable>
com.mojang.serialization.Codec<DispatcherProvider.Case<Value>> static <Value extends Validatable, Self extends UnaryProvider<Value>>
com.mojang.serialization.MapCodec<Self> UnaryProvider.codec(com.mojang.serialization.Codec<Holder<Value>> valueCodec, UnaryProvider.Factory<Value, Self> factory) DistributionProvider.Factory.create(WeightedList<Holder<Value>> distribution) static <Value extends Validatable, Self extends BinaryProvider<Value>>
com.mojang.serialization.MapCodec<Self> BinaryProvider.mapCodec(com.mojang.serialization.Codec<Holder<Value>> valueCodec, BinaryProvider.Factory<Value, Self> factory) static <Value extends Validatable, Self extends ConditionalProvider<Value>>
com.mojang.serialization.MapCodec<Self> ConditionalProvider.mapCodec(com.mojang.serialization.Codec<Holder<Value>> valueCodec, Holder<Value> defaultIfFalse, ConditionalProvider.Factory<Value, Self> factory) static <Value extends Validatable, Self extends DispatcherProvider<Value>>
com.mojang.serialization.MapCodec<Self> DispatcherProvider.mapCodec(com.mojang.serialization.Codec<Holder<Value>> valueCodec, Holder<Value> defaultCase, DispatcherProvider.Factory<Value, Self> factory) static <Value extends Validatable, Self extends DistributionProvider<Value>>
com.mojang.serialization.MapCodec<Self> DistributionProvider.mapCodec(com.mojang.serialization.Codec<Holder<Value>> valueCodec, DistributionProvider.Factory<Value, Self> factory) static <Value extends Validatable, Self extends PowerProvider<Value>>
com.mojang.serialization.MapCodec<Self> PowerProvider.mapCodec(com.mojang.serialization.Codec<Holder<Value>> valueCodec, PowerProvider.Factory<Value, Self> factory) static <Value extends Validatable, Self extends RangeProvider<Value>>
com.mojang.serialization.MapCodec<Self> RangeProvider.mapCodec(com.mojang.serialization.Codec<Holder<Value>> valueCodec, RangeProvider.Factory<Value, Self> factory) Constructors in net.minecraft.world.level.storage.loot.providers.number with parameters of type HolderModifierConstructorDescriptionCase(Holder<LootItemCondition> condition, Holder<Value> value) Creates an instance of aCaserecord class. -
Uses of Holder in net.minecraft.world.level.storage.loot.providers.number.floats
Fields in net.minecraft.world.level.storage.loot.providers.number.floats declared as HolderModifier and TypeFieldDescriptionprivate final Holder<ContextFloatProvider> Power.baseThe field for thebaserecord component.private final Holder<LootItemCondition> ConditionalValue.conditionThe field for theconditionrecord component.private final Holder<ContextFloatProvider> NumberDispatcher.defaultValueThe field for thedefaultValuerecord component.private final Holder<ContextFloatProvider> Power.exponentThe field for theexponentrecord component.private final Holder<ContextFloatProvider> StorageValue.fallbackThe field for thefallbackrecord component.private final Holder<ContextFloatProvider> Absolute.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> Ceiling.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> Cosine.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> Floor.inputThe field for theinputrecord component.private final Holder<ContextIntProvider> FromInt.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> Negate.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> Round.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> Sine.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> SquareRoot.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> Truncate.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> Difference.leftThe field for theleftrecord component.private final Holder<ContextFloatProvider> Modulus.leftThe field for theleftrecord component.private final Holder<ContextFloatProvider> Quotient.leftThe field for theleftrecord component.private final Holder<ContextFloatProvider> UniformGenerator.maxThe field for themaxrecord component.private final Holder<ContextFloatProvider> UniformGenerator.minThe field for theminrecord component.private final Holder<ContextFloatProvider> ConditionalValue.onFalseThe field for theonFalserecord component.private final Holder<ContextFloatProvider> ConditionalValue.onTrueThe field for theonTruerecord component.private final Holder<ContextFloatProvider> Difference.rightThe field for therightrecord component.private final Holder<ContextFloatProvider> Modulus.rightThe field for therightrecord component.private final Holder<ContextFloatProvider> Quotient.rightThe field for therightrecord component.Fields in net.minecraft.world.level.storage.loot.providers.number.floats with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<ContextFloatProvider>> ContextFloatProviders.CODECprivate final WeightedList<Holder<ContextFloatProvider>> WeightedListValue.distributionThe field for thedistributionrecord component.Methods in net.minecraft.world.level.storage.loot.providers.number.floats that return HolderModifier and TypeMethodDescriptionstatic Holder<ContextFloatProvider> ContextFloatProviders.abs(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.add(Holder<ContextFloatProvider>... inputs) static Holder<ContextFloatProvider> ContextFloatProviders.avg(Holder<ContextFloatProvider>... inputs) Power.base()Returns the value of thebaserecord component.static Holder<ContextFloatProvider> ContextFloatProviders.between(float min, float max) static Holder<ContextFloatProvider> ContextFloatProviders.ceiling(Holder<ContextFloatProvider> input) ConditionalValue.condition()Returns the value of theconditionrecord component.static Holder<ContextFloatProvider> ContextFloatProviders.cos(Holder<ContextFloatProvider> input) NumberDispatcher.defaultValue()Returns the value of thedefaultValuerecord component.static Holder<ContextFloatProvider> ContextFloatProviders.div(Holder<ContextFloatProvider> left, Holder<ContextFloatProvider> right) static Holder<ContextFloatProvider> ContextFloatProviders.exactly(float value) Power.exponent()Returns the value of theexponentrecord component.StorageValue.fallback()Returns the value of thefallbackrecord component.static Holder<ContextFloatProvider> ContextFloatProviders.forEnchantmentLevel(LevelBasedValue amount) static Holder<ContextFloatProvider> ContextFloatProviders.forEnvironmentAttribute(EnvironmentAttribute<?> attribute) Absolute.input()Returns the value of theinputrecord component.Ceiling.input()Returns the value of theinputrecord component.Cosine.input()Returns the value of theinputrecord component.Floor.input()Returns the value of theinputrecord component.FromInt.input()Returns the value of theinputrecord component.Negate.input()Returns the value of theinputrecord component.Round.input()Returns the value of theinputrecord component.Sine.input()Returns the value of theinputrecord component.SquareRoot.input()Returns the value of theinputrecord component.Truncate.input()Returns the value of theinputrecord component.Difference.left()Returns the value of theleftrecord component.Modulus.left()Returns the value of theleftrecord component.Quotient.left()Returns the value of theleftrecord component.static Holder<ContextFloatProvider> ContextFloatProviders.length(Holder<ContextFloatProvider>... inputs) static Holder<ContextFloatProvider> ContextFloatProviders.max(Holder<ContextFloatProvider>... inputs) UniformGenerator.max()Returns the value of themaxrecord component.static Holder<ContextFloatProvider> ContextFloatProviders.min(Holder<ContextFloatProvider>... inputs) UniformGenerator.min()Returns the value of theminrecord component.static Holder<ContextFloatProvider> ContextFloatProviders.mod(Holder<ContextFloatProvider> left, Holder<ContextFloatProvider> right) static Holder<ContextFloatProvider> ContextFloatProviders.mul(Holder<ContextFloatProvider>... inputs) static Holder<ContextFloatProvider> ContextFloatProviders.negate(Holder<ContextFloatProvider> input) ConditionalValue.onFalse()Returns the value of theonFalserecord component.ConditionalValue.onTrue()Returns the value of theonTruerecord component.static Holder<ContextFloatProvider> ContextFloatProviders.pow(Holder<ContextFloatProvider> base, Holder<ContextFloatProvider> exponent) Difference.right()Returns the value of therightrecord component.Modulus.right()Returns the value of therightrecord component.Quotient.right()Returns the value of therightrecord component.static Holder<ContextFloatProvider> ContextFloatProviders.round(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.sin(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.sqrt(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.sub(Holder<ContextFloatProvider> left, Holder<ContextFloatProvider> right) static Holder<ContextFloatProvider> ContextFloatProviders.trunc(Holder<ContextFloatProvider> input) Methods in net.minecraft.world.level.storage.loot.providers.number.floats that return types with arguments of type HolderModifier and TypeMethodDescriptionWeightedListValue.distribution()Returns the value of thedistributionrecord component.Methods in net.minecraft.world.level.storage.loot.providers.number.floats with parameters of type HolderModifier and TypeMethodDescriptionstatic Holder<ContextFloatProvider> ContextFloatProviders.abs(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.add(Holder<ContextFloatProvider>... inputs) static Holder<ContextFloatProvider> ContextFloatProviders.avg(Holder<ContextFloatProvider>... inputs) static Holder<ContextFloatProvider> ContextFloatProviders.ceiling(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.cos(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.div(Holder<ContextFloatProvider> left, Holder<ContextFloatProvider> right) static Holder<ContextFloatProvider> ContextFloatProviders.length(Holder<ContextFloatProvider>... inputs) static Holder<ContextFloatProvider> ContextFloatProviders.max(Holder<ContextFloatProvider>... inputs) static Holder<ContextFloatProvider> ContextFloatProviders.min(Holder<ContextFloatProvider>... inputs) static Holder<ContextFloatProvider> ContextFloatProviders.mod(Holder<ContextFloatProvider> left, Holder<ContextFloatProvider> right) static Holder<ContextFloatProvider> ContextFloatProviders.mul(Holder<ContextFloatProvider>... inputs) static Holder<ContextFloatProvider> ContextFloatProviders.negate(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.pow(Holder<ContextFloatProvider> base, Holder<ContextFloatProvider> exponent) static Holder<ContextFloatProvider> ContextFloatProviders.round(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.sin(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.sqrt(Holder<ContextFloatProvider> input) static Holder<ContextFloatProvider> ContextFloatProviders.sub(Holder<ContextFloatProvider> left, Holder<ContextFloatProvider> right) static Holder<ContextFloatProvider> ContextFloatProviders.trunc(Holder<ContextFloatProvider> input) Constructors in net.minecraft.world.level.storage.loot.providers.number.floats with parameters of type HolderModifierConstructorDescriptionAbsolute(Holder<ContextFloatProvider> input) Creates an instance of aAbsoluterecord class.Ceiling(Holder<ContextFloatProvider> input) Creates an instance of aCeilingrecord class.ConditionalValue(Holder<LootItemCondition> condition, Holder<ContextFloatProvider> onTrue, Holder<ContextFloatProvider> onFalse) Creates an instance of aConditionalValuerecord class.Cosine(Holder<ContextFloatProvider> input) Creates an instance of aCosinerecord class.Difference(Holder<ContextFloatProvider> left, Holder<ContextFloatProvider> right) Creates an instance of aDifferencerecord class.Floor(Holder<ContextFloatProvider> input) Creates an instance of aFloorrecord class.FromInt(Holder<ContextIntProvider> input) Creates an instance of aFromIntrecord class.Modulus(Holder<ContextFloatProvider> left, Holder<ContextFloatProvider> right) Creates an instance of aModulusrecord class.Negate(Holder<ContextFloatProvider> input) Creates an instance of aNegaterecord class.NumberDispatcher(List<DispatcherProvider.Case<ContextFloatProvider>> cases, Holder<ContextFloatProvider> defaultValue) Creates an instance of aNumberDispatcherrecord class.Power(Holder<ContextFloatProvider> base, Holder<ContextFloatProvider> exponent) Creates an instance of aPowerrecord class.Quotient(Holder<ContextFloatProvider> left, Holder<ContextFloatProvider> right) Creates an instance of aQuotientrecord class.Round(Holder<ContextFloatProvider> input) Creates an instance of aRoundrecord class.Sine(Holder<ContextFloatProvider> input) Creates an instance of aSinerecord class.SquareRoot(Holder<ContextFloatProvider> input) Creates an instance of aSquareRootrecord class.StorageValue(StoredNumberAccess access, Holder<ContextFloatProvider> fallback) Creates an instance of aStorageValuerecord class.Truncate(Holder<ContextFloatProvider> input) Creates an instance of aTruncaterecord class.Creates an instance of aUniformGeneratorrecord class.Constructor parameters in net.minecraft.world.level.storage.loot.providers.number.floats with type arguments of type HolderModifierConstructorDescriptionWeightedListValue(WeightedList<Holder<ContextFloatProvider>> distribution) Creates an instance of aWeightedListValuerecord class. -
Uses of Holder in net.minecraft.world.level.storage.loot.providers.number.ints
Fields in net.minecraft.world.level.storage.loot.providers.number.ints declared as HolderModifier and TypeFieldDescriptionprivate final Holder<ContextIntProvider> Power.baseThe field for thebaserecord component.private final Holder<LootItemCondition> ConditionalValue.conditionThe field for theconditionrecord component.private final Holder<ContextIntProvider> NumberDispatcher.defaultValueThe field for thedefaultValuerecord component.private final Holder<ContextIntProvider> Power.exponentThe field for theexponentrecord component.private final Holder<ContextIntProvider> ScoreboardValue.fallbackThe field for thefallbackrecord component.private final Holder<ContextIntProvider> StorageValue.fallbackThe field for thefallbackrecord component.private final Holder<ContextIntProvider> Absolute.inputThe field for theinputrecord component.private final Holder<ContextFloatProvider> FromFloat.inputThe field for theinputrecord component.private final Holder<ContextIntProvider> Negate.inputThe field for theinputrecord component.private final Holder<ContextIntProvider> Difference.leftThe field for theleftrecord component.private final Holder<ContextIntProvider> FloorModulus.leftThe field for theleftrecord component.private final Holder<ContextIntProvider> FloorQuotient.leftThe field for theleftrecord component.private final Holder<ContextIntProvider> Modulus.leftThe field for theleftrecord component.private final Holder<ContextIntProvider> Quotient.leftThe field for theleftrecord component.private final Holder<ContextIntProvider> UniformGenerator.maxThe field for themaxrecord component.private final Holder<ContextIntProvider> UniformGenerator.minThe field for theminrecord component.private final Holder<ContextIntProvider> BinomialDistributionGenerator.nThe field for thenrecord component.private final Holder<ContextIntProvider> ConditionalValue.onFalseThe field for theonFalserecord component.private final Holder<ContextIntProvider> ConditionalValue.onTrueThe field for theonTruerecord component.private final Holder<ContextFloatProvider> BinomialDistributionGenerator.pThe field for theprecord component.private final Holder<ContextIntProvider> Difference.rightThe field for therightrecord component.private final Holder<ContextIntProvider> FloorModulus.rightThe field for therightrecord component.private final Holder<ContextIntProvider> FloorQuotient.rightThe field for therightrecord component.private final Holder<ContextIntProvider> Modulus.rightThe field for therightrecord component.private final Holder<ContextIntProvider> Quotient.rightThe field for therightrecord component.Fields in net.minecraft.world.level.storage.loot.providers.number.ints with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<ContextIntProvider>> ContextIntProviders.CODECprivate final WeightedList<Holder<ContextIntProvider>> WeightedListValue.distributionThe field for thedistributionrecord component.Methods in net.minecraft.world.level.storage.loot.providers.number.ints that return HolderModifier and TypeMethodDescriptionstatic Holder<ContextIntProvider> ContextIntProviders.add(Holder<ContextIntProvider>... inputs) static Holder<ContextIntProvider> ContextIntProviders.avg(Holder<ContextIntProvider>... inputs) Power.base()Returns the value of thebaserecord component.static Holder<ContextIntProvider> ContextIntProviders.between(int min, int max) static Holder<ContextIntProvider> ContextIntProviders.binomial(int n, float p) ConditionalValue.condition()Returns the value of theconditionrecord component.NumberDispatcher.defaultValue()Returns the value of thedefaultValuerecord component.static Holder<ContextIntProvider> ContextIntProviders.div(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) static Holder<ContextIntProvider> ContextIntProviders.exactly(int value) Power.exponent()Returns the value of theexponentrecord component.ScoreboardValue.fallback()Returns the value of thefallbackrecord component.StorageValue.fallback()Returns the value of thefallbackrecord component.static Holder<ContextIntProvider> ContextIntProviders.floorDiv(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) static Holder<ContextIntProvider> ContextIntProviders.floorMod(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) static Holder<ContextIntProvider> ContextIntProviders.fromFloat(Holder<ContextFloatProvider> input) static Holder<ContextIntProvider> ContextIntProviders.fromScoreboard(LootContext.EntityTarget entityTarget, String score) Absolute.input()Returns the value of theinputrecord component.FromFloat.input()Returns the value of theinputrecord component.Negate.input()Returns the value of theinputrecord component.Difference.left()Returns the value of theleftrecord component.FloorModulus.left()Returns the value of theleftrecord component.FloorQuotient.left()Returns the value of theleftrecord component.Modulus.left()Returns the value of theleftrecord component.Quotient.left()Returns the value of theleftrecord component.static Holder<ContextIntProvider> ContextIntProviders.max(Holder<ContextIntProvider>... inputs) UniformGenerator.max()Returns the value of themaxrecord component.static Holder<ContextIntProvider> ContextIntProviders.min(Holder<ContextIntProvider>... inputs) UniformGenerator.min()Returns the value of theminrecord component.static Holder<ContextIntProvider> ContextIntProviders.mod(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) static Holder<ContextIntProvider> ContextIntProviders.mul(Holder<ContextIntProvider>... inputs) BinomialDistributionGenerator.n()Returns the value of thenrecord component.static Holder<ContextIntProvider> ContextIntProviders.negate(Holder<ContextIntProvider> input) ConditionalValue.onFalse()Returns the value of theonFalserecord component.ConditionalValue.onTrue()Returns the value of theonTruerecord component.BinomialDistributionGenerator.p()Returns the value of theprecord component.Difference.right()Returns the value of therightrecord component.FloorModulus.right()Returns the value of therightrecord component.FloorQuotient.right()Returns the value of therightrecord component.Modulus.right()Returns the value of therightrecord component.Quotient.right()Returns the value of therightrecord component.static Holder<ContextIntProvider> ContextIntProviders.sub(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) static Holder<ContextIntProvider> ContextIntProviders.weighted(WeightedList<Holder<ContextIntProvider>> cases) Methods in net.minecraft.world.level.storage.loot.providers.number.ints that return types with arguments of type HolderModifier and TypeMethodDescriptionWeightedListValue.distribution()Returns the value of thedistributionrecord component.Methods in net.minecraft.world.level.storage.loot.providers.number.ints with parameters of type HolderModifier and TypeMethodDescriptionstatic Holder<ContextIntProvider> ContextIntProviders.add(Holder<ContextIntProvider>... inputs) static Holder<ContextIntProvider> ContextIntProviders.avg(Holder<ContextIntProvider>... inputs) static Holder<ContextIntProvider> ContextIntProviders.div(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) static Holder<ContextIntProvider> ContextIntProviders.floorDiv(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) static Holder<ContextIntProvider> ContextIntProviders.floorMod(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) static Holder<ContextIntProvider> ContextIntProviders.fromFloat(Holder<ContextFloatProvider> input) static Holder<ContextIntProvider> ContextIntProviders.max(Holder<ContextIntProvider>... inputs) static Holder<ContextIntProvider> ContextIntProviders.min(Holder<ContextIntProvider>... inputs) static Holder<ContextIntProvider> ContextIntProviders.mod(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) static Holder<ContextIntProvider> ContextIntProviders.mul(Holder<ContextIntProvider>... inputs) static Holder<ContextIntProvider> ContextIntProviders.negate(Holder<ContextIntProvider> input) static Holder<ContextIntProvider> ContextIntProviders.sub(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) Method parameters in net.minecraft.world.level.storage.loot.providers.number.ints with type arguments of type HolderModifier and TypeMethodDescriptionstatic Holder<ContextIntProvider> ContextIntProviders.weighted(WeightedList<Holder<ContextIntProvider>> cases) Constructors in net.minecraft.world.level.storage.loot.providers.number.ints with parameters of type HolderModifierConstructorDescriptionAbsolute(Holder<ContextIntProvider> input) Creates an instance of aAbsoluterecord class.Creates an instance of aBinomialDistributionGeneratorrecord class.ConditionalValue(Holder<LootItemCondition> condition, Holder<ContextIntProvider> onTrue, Holder<ContextIntProvider> onFalse) Creates an instance of aConditionalValuerecord class.Difference(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) Creates an instance of aDifferencerecord class.FloorModulus(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) Creates an instance of aFloorModulusrecord class.FloorQuotient(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) Creates an instance of aFloorQuotientrecord class.FromFloat(Holder<ContextFloatProvider> input) Creates an instance of aFromFloatrecord class.Modulus(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) Creates an instance of aModulusrecord class.Negate(Holder<ContextIntProvider> input) Creates an instance of aNegaterecord class.NumberDispatcher(List<DispatcherProvider.Case<ContextIntProvider>> cases, Holder<ContextIntProvider> defaultValue) Creates an instance of aNumberDispatcherrecord class.Power(Holder<ContextIntProvider> base, Holder<ContextIntProvider> exponent) Creates an instance of aPowerrecord class.Quotient(Holder<ContextIntProvider> left, Holder<ContextIntProvider> right) Creates an instance of aQuotientrecord class.ScoreboardValue(ScoreboardNameProvider target, String score, Holder<ContextIntProvider> fallback) Creates an instance of aScoreboardValuerecord class.StorageValue(StoredNumberAccess access, Holder<ContextIntProvider> fallback) Creates an instance of aStorageValuerecord class.UniformGenerator(Holder<ContextIntProvider> min, Holder<ContextIntProvider> max) Creates an instance of aUniformGeneratorrecord class.Constructor parameters in net.minecraft.world.level.storage.loot.providers.number.ints with type arguments of type HolderModifierConstructorDescriptionWeightedListValue(WeightedList<Holder<ContextIntProvider>> distribution) Creates an instance of aWeightedListValuerecord class. -
Uses of Holder in net.minecraft.world.timeline
Fields in net.minecraft.world.timeline declared as HolderModifier and TypeFieldDescriptionprivate final Holder<WorldClock> AttributeTrackSampler.clockprivate final Holder<WorldClock> Timeline.Builder.clockprivate final Holder<WorldClock> Timeline.clockFields in net.minecraft.world.timeline with type parameters of type HolderMethods in net.minecraft.world.timeline that return HolderMethods in net.minecraft.world.timeline with parameters of type HolderModifier and TypeMethodDescriptionAttributeTrack.bakeSampler(EnvironmentAttribute<Value> attribute, Holder<WorldClock> clock, Optional<Integer> periodTicks, ClockManager clockManager) static Timeline.BuilderTimeline.builder(Holder<WorldClock> clock) Constructors in net.minecraft.world.timeline with parameters of type HolderModifierConstructorDescriptionAttributeTrackSampler(Holder<WorldClock> clock, Optional<Integer> periodTicks, AttributeModifier<Value, Argument> modifier, KeyframeTrack<Argument> argumentTrack, LerpFunction<Argument> argumentLerp, ClockManager clockManager) privateBuilder(Holder<WorldClock> clock) privateTimeline(Holder<WorldClock> clock, Optional<Integer> periodTicks, Map<EnvironmentAttribute<?>, AttributeTrack<?, ?>> tracks, Map<ResourceKey<ClockTimeMarker>, Timeline.TimeMarkerInfo> timeMarkers) -
Uses of Holder in net.neoforged.neoforge.client.data.internal
Methods in net.neoforged.neoforge.client.data.internal that return types with arguments of type HolderModifier and TypeMethodDescriptionVanillaModelProvider.getKnownBlocks()VanillaModelProvider.getKnownItems() -
Uses of Holder in net.neoforged.neoforge.client.extensions.common
Methods in net.neoforged.neoforge.client.extensions.common with parameters of type HolderModifier and TypeMethodDescriptionfinal voidRegisterClientExtensionsEvent.registerBlock(IClientBlockExtensions extensions, Holder<Block>... blocks) Register the givenIClientBlockExtensionsfor the givenBlocksfinal voidRegisterClientExtensionsEvent.registerFluidType(IClientFluidTypeExtensions extensions, Holder<FluidType>... fluidTypes) Register the givenIClientFluidTypeExtensionsfor the givenFluidTypesfinal voidRegisterClientExtensionsEvent.registerItem(IClientItemExtensions extensions, Holder<Item>... items) Register the givenIClientItemExtensionsfor the givenItemsfinal voidRegisterClientExtensionsEvent.registerMobEffect(IClientMobEffectExtensions extensions, Holder<MobEffect>... mobEffects) Register the givenIClientMobEffectExtensionsfor the givenMobEffects -
Uses of Holder in net.neoforged.neoforge.client.renderstate
Methods in net.neoforged.neoforge.client.renderstate with parameters of type HolderModifier and TypeMethodDescriptionRenderStateExtensions.onUpdateMapDecorationRenderState(Holder<MapDecorationType> mapDecorationTypeHolder, MapItemSavedData mapItemSavedData, MapRenderState mapRenderState, MapRenderState.MapDecorationRenderState mapDecorationRenderState) -
Uses of Holder in net.neoforged.neoforge.common
Fields in net.neoforged.neoforge.common declared as HolderModifier and TypeFieldDescriptionstatic final Holder<HolderSetType> NeoForgeMod.AND_HOLDER_SETStock holder set type that represents an intersection of other holdersets.static final Holder<HolderSetType> NeoForgeMod.ANY_HOLDER_SETStock holder set type that represents any/all values in a registry.static final Holder<TicketType> NeoForgeMod.BLOCK_TICKETstatic final Holder<TicketType> NeoForgeMod.BLOCK_WITH_NATURAL_SPAWNING_TICKETNeoForgeMod.CREATIVE_FLIGHTThis attribute controls if the player may use creative flight when not in creative mode.NeoForgeMod.EMPTY_TYPEstatic final Holder<TicketType> NeoForgeMod.ENTITY_TICKETstatic final Holder<TicketType> NeoForgeMod.ENTITY_WITH_NATURAL_SPAWNING_TICKETprivate static final Holder<ArgumentTypeInfo<?, ?>> NeoForgeMod.ENUM_COMMAND_ARGUMENT_TYPEstatic final Holder<TicketType> NeoForgeMod.GENERATE_FORCED_TICKETNeoForgeMod.GLIDING_FLIGHTThis attribute controls if an entity may use gliding flight (elytra).NeoForgeMod.LAVA_TYPEstatic final Holder<HolderSetType> NeoForgeMod.NOT_HOLDER_SETStock holder set type that represents all values in a registry except those in another given set.static final Holder<HolderSetType> NeoForgeMod.OR_HOLDER_SETStock holder set type that represents a union of other holdersets.NeoForgeMod.SWIM_SPEEDIf the server is intended to be vanilla-compatible then this attribute must not be applied via item attribute modifiers.NeoForgeMod.WATER_TYPEMethods in net.neoforged.neoforge.common with parameters of type HolderModifier and TypeMethodDescriptionstatic booleanCommonHooks.onVanillaGameEvent(Level level, Holder<GameEvent> vanillaEvent, Vec3 pos, GameEvent.Context context) static voidCommonHooks.throwIfIgnoresPausing(Holder<WorldClock> clock) -
Uses of Holder in net.neoforged.neoforge.common.conditions
Fields in net.neoforged.neoforge.common.conditions with type parameters of type HolderMethods in net.neoforged.neoforge.common.conditions that return types with arguments of type HolderModifier and TypeMethodDescription<T> Collection<Holder<T>> default <T> Collection<Holder<T>> Returns the contents of the requested tag as loaded from data packs, or an empty collection if the tag is not loaded. -
Uses of Holder in net.neoforged.neoforge.common.crafting
Methods in net.neoforged.neoforge.common.crafting that return types with arguments of type HolderModifier and TypeMethodDescriptionBlockTagIngredient.items()CompoundIngredient.items()CustomDisplayIngredient.items()DataComponentIngredient.items()DifferenceIngredient.items()ICustomIngredient.items()Returns the list of items that this ingredient accepts.IntersectionIngredient.items()Methods in net.neoforged.neoforge.common.crafting with parameters of type HolderModifier and TypeMethodDescriptionstatic IngredientDataComponentIngredient.of(boolean exhaustive, DataComponentMap map, Holder<Item>... items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean exhaustive, DataComponentPatch 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
Methods in net.neoforged.neoforge.common.data with parameters of type HolderModifier and TypeMethodDescriptionDataMapProvider.Builder.add(Holder<R> object, T value, boolean replace, ICondition... conditions) protected voidSoundDefinitionsProvider.add(Holder<SoundEvent> soundEvent, SoundDefinition definition) Adds the entry name associated with the suppliedSoundEventwith the givenSoundDefinitionto the list. -
Uses of Holder in net.neoforged.neoforge.common.data.internal
Methods in net.neoforged.neoforge.common.data.internal that return HolderModifier and TypeMethodDescriptionprivate static @Nullable Holder<LootItemCondition> NeoForgeAdvancementProvider.replaceConditions(@Nullable Holder<LootItemCondition> basePredicate, Function<LootItemCondition, @Nullable LootItemCondition> replacer, Predicate<LootItemCondition> shouldSkipReplacement) Methods in net.neoforged.neoforge.common.data.internal with parameters of type HolderModifier and TypeMethodDescriptionprivate static @Nullable Holder<LootItemCondition> NeoForgeAdvancementProvider.replaceConditions(@Nullable Holder<LootItemCondition> basePredicate, Function<LootItemCondition, @Nullable LootItemCondition> replacer, Predicate<LootItemCondition> shouldSkipReplacement) private static <T extends SimpleCriterionTrigger.SimpleInstance>
Criterion<T> NeoForgeAdvancementProvider.replacePlayerPredicate(Criterion<T> old, Holder<LootItemCondition> newPlayer, BootstrapContextAccess registries) -
Uses of Holder in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return HolderModifier and TypeMethodDescriptionIHolderExtension.getDelegate()Returns the holder that this holder wraps.default <T> Holder<T> IHolderLookupProviderExtension.holderOrThrow(ResourceKey<T> key) Shortcut method to get a holder from a ResourceKey.default <T> Holder<T> ILevelReaderExtension.holderOrThrow(ResourceKey<T> key) Shortcut method to get a holder from a ResourceKey. seeIHolderLookupProviderExtensionMethods in net.neoforged.neoforge.common.extensions that return types with arguments of type HolderModifier and TypeMethodDescriptionPendingTagsExtension.contents()Returns the tag contents collected during load, keyed by tag.Methods in net.neoforged.neoforge.common.extensions with parameters of type HolderModifier and TypeMethodDescriptiondefault intIItemExtension.getEnchantmentLevel(ItemInstance stack, Holder<Enchantment> enchantment) Gets the level of the enchantment currently present on the stack.default intItemInstanceExtension.getEnchantmentLevel(Holder<Enchantment> enchantment) Gets the gameplay level of the target enchantment on this stack.default booleanIItemExtension.isPrimaryItemFor(ItemStack stack, Holder<Enchantment> enchantment) Checks if an item should be treated as a primary item for a given enchantment.default booleanIItemStackExtension.isPrimaryItemFor(Holder<Enchantment> enchantment) default booleanIItemExtension.supportsEnchantment(ItemStack stack, Holder<Enchantment> enchantment) Checks if the provided enchantment is applicable to the passed item stack.default booleanIItemStackExtension.supportsEnchantment(Holder<Enchantment> enchantment) -
Uses of Holder in net.neoforged.neoforge.common.loot
Fields in net.neoforged.neoforge.common.loot with type parameters of type HolderModifier and TypeFieldDescriptionprotected final Optional<Holder<LootItemCondition>> LootModifier.conditionMethods in net.neoforged.neoforge.common.loot that return types with arguments of type HolderModifier and TypeMethodDescriptionprotected static <T extends LootModifier>
com.mojang.datafixers.Products.P2<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, Optional<Holder<LootItemCondition>>, Integer> LootModifier.codecStart(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) Simplifies codec creation, especially if no other fields are added:Constructor parameters in net.neoforged.neoforge.common.loot with type arguments of type HolderModifierConstructorDescriptionAddTableLootModifier(Optional<Holder<LootItemCondition>> condition, int priority, ResourceKey<LootTable> table) protectedLootModifier(Optional<Holder<LootItemCondition>> condition, int priority) Constructs a LootModifier. -
Uses of Holder in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic Multimap<Holder<Attribute>, AttributeModifier> AttributeUtil.getSortedModifiers(ItemStack stack, EquipmentSlotGroup slot) Returns a sorted, mutableMultimapcontaining all the attribute modifiers on an item stack for the given group.static Multimap<Holder<Attribute>, AttributeModifier> AttributeUtil.sortedMap()Creates a sortedTreeMultimapused to ensure a stable iteration order of item attribute modifiers.Methods in net.neoforged.neoforge.common.util with parameters of type HolderModifier and TypeMethodDescriptionvoidClockAdjustment.Absolute.apply(ServerClockManager clockManager, Holder<WorldClock> clock) voidClockAdjustment.apply(ServerClockManager clockManager, Holder<WorldClock> clock) voidClockAdjustment.Marker.apply(ServerClockManager clockManager, Holder<WorldClock> clock) voidClockAdjustment.Relative.apply(ServerClockManager clockManager, Holder<WorldClock> clock) Method parameters in net.neoforged.neoforge.common.util with type arguments of type HolderModifier and TypeMethodDescriptionstatic voidAttributeUtil.addPotionTooltip(List<com.mojang.datafixers.util.Pair<Holder<Attribute>, AttributeModifier>> list, Consumer<Component> tooltips) Adds tooltip lines for the attribute modifiers contained in aPotionContents.static voidAttributeUtil.applyTextFor(ItemStack stack, Consumer<Component> tooltip, Multimap<Holder<Attribute>, AttributeModifier> modifierMap, AttributeTooltipContext ctx) Applies the text for the provided attribute modifiers to the tooltip for a given item stack. -
Uses of Holder in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world with type parameters of type HolderModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Holder<BiomeModifier>> BiomeModifier.REFERENCE_CODECCodec for referring to biome modifiers by id in other datapack registry files.static final com.mojang.serialization.Codec<Holder<StructureModifier>> StructureModifier.REFERENCE_CODECCodec for referring to structure modifiers by id in other datapack registry files.Methods in net.neoforged.neoforge.common.world that return types with arguments of type HolderModifier and TypeMethodDescriptionBiomeGenerationSettingsBuilder.getCarvers()BiomeGenerationSettingsBuilder.getFeatures(GenerationStep.Decoration stage) Methods in net.neoforged.neoforge.common.world with parameters of type HolderModifier and TypeMethodDescriptionvoidModifiableStructureInfo.applyStructureModifiers(Holder<Structure> structure, List<StructureModifier> structureModifiers) Internal NeoForge method.voidBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) Modifies the information via the provided biome builder.voidBiomeModifiers.AddCarversBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.AddFeaturesBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.AddSpawnCostsBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.AddSpawnsBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.RemoveCarversBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.RemoveFeaturesBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.RemoveSpawnCostsBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidBiomeModifiers.RemoveSpawnsBiomeModifier.modify(Holder<Biome> biome, BiomeModifier.Phase phase, ModifiableBiomeInfo.BiomeInfo.Builder builder) voidNoneStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) voidStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) Modifies the information via the provided structure builder.voidStructureModifiers.AddSpawnsStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) voidStructureModifiers.ClearSpawnsStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) voidStructureModifiers.RemoveSpawnsStructureModifier.modify(Holder<Structure> structure, StructureModifier.Phase phase, ModifiableStructureInfo.StructureInfo.Builder builder) -
Uses of Holder in net.neoforged.neoforge.common.world.chunk
Fields in net.neoforged.neoforge.common.world.chunk declared as HolderModifier and TypeFieldDescriptionprivate final Holder<TicketType> ForcedChunkManager.TicketTracker.naturalSpawningTicketTypeprivate final Holder<TicketType> ForcedChunkManager.TicketTracker.ticketTypeMethods in net.neoforged.neoforge.common.world.chunk with parameters of type HolderModifier and TypeMethodDescriptionprivate voidForcedChunkManager.TicketTracker.inheritSources(@Nullable Holder<TicketType> ticketType, it.unimi.dsi.fastutil.longs.Long2ObjectMap<Set<ForcedChunkManager.TicketOwner<T>>> fromSource, it.unimi.dsi.fastutil.longs.Long2ObjectMap<Set<ForcedChunkManager.TicketOwner<T>>> toSource) Constructors in net.neoforged.neoforge.common.world.chunk with parameters of type HolderModifierConstructorDescriptionTicketTracker(TicketStorage ticketStorage, Holder<TicketType> ticketType, Holder<TicketType> naturalSpawningTicketType) -
Uses of Holder in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as HolderModifier and TypeFieldDescriptionItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.attrThe field for theattrrecord component.private Holder<SoundEvent> PlayLevelSoundEvent.soundVanillaGameEvent.vanillaEventMethods in net.neoforged.neoforge.event that return HolderModifier and TypeMethodDescriptionItemAttributeModifierEvent.ItemAttributeModifiersBuilder.Key.attr()Returns the value of theattrrecord component.PlayLevelSoundEvent.getSound()Returns the sound event to be played.VanillaGameEvent.getVanillaEvent()RegisterGameTestsEvent.registerEnvironment(Identifier name, TestEnvironmentDefinition<?> definition) RegisterGameTestsEvent.registerEnvironment(Identifier name, TestEnvironmentDefinition<?>... definitions) Methods in net.neoforged.neoforge.event with parameters of type HolderModifier and TypeMethodDescriptionbooleanItemAttributeModifierEvent.addModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Adds a new attribute modifier to the given stack.(package private) booleanItemAttributeModifierEvent.ItemAttributeModifiersBuilder.addModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Attempts to add a new modifier, refusing if one is already present with the same id.static BlockGrowFeatureEventEventHooks.fireBlockGrowFeature(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<Feature> holder) Fires theBlockGrowFeatureEventand returns the event object.static intEventHooks.getBlockLootEnchantmentLevel(ItemInstance tool, Holder<Enchantment> ench, int enchLevel, LootContext ctx) Called fromApplyBonusCountandBonusLevelTableConditionwhen blocks rely on enchantments for evaluating loot bonuses.static intEventHooks.getEnchantmentLevelSpecific(int level, ItemInstance stack, Holder<Enchantment> ench) FiresGetEnchantmentLevelEventand for a single enchantment, returning the (possibly event-modified) level.static intEventHooks.getEntityLootEnchantmentLevel(Holder<Enchantment> ench, int enchLevel, LootContext ctx) Called fromEnchantedCountIncreaseFunction,LootItemRandomChanceWithEnchantedBonusCondition, andEnchantmentEffectComponents.EQUIPMENT_DROPSwhen entity loot processing relies on enchantments for evaluating loot bonuses.static booleanEventHooks.onEffectRemoved(LivingEntity entity, Holder<MobEffect> effect) static PlayLevelSoundEvent.AtEntityEventHooks.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) booleanItemAttributeModifierEvent.removeAllModifiersFor(Holder<Attribute> attribute) Removes all modifiers for the given attribute.(package private) booleanItemAttributeModifierEvent.ItemAttributeModifiersBuilder.removeModifier(Holder<Attribute> attribute, Identifier id) Removes a modifier for the target attribute with the given id.booleanItemAttributeModifierEvent.removeModifier(Holder<Attribute> attribute, Identifier id) Removes an attribute modifier for the target attribute by id(package private) @Nullable ItemAttributeModifiers.EntryItemAttributeModifierEvent.ItemAttributeModifiersBuilder.replaceModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Adds a modifier to the list, replacing any existing modifiers with the same id.voidItemAttributeModifierEvent.replaceModifier(Holder<Attribute> attribute, AttributeModifier modifier, EquipmentSlotGroup slot) Adds a new attribute modifier to the given stack, optionally replacing any existing modifiers with the same id.voidPlayLevelSoundEvent.setSound(@Nullable Holder<SoundEvent> sound) Sets the sound event to be played.Method parameters in net.neoforged.neoforge.event with type arguments of type HolderModifier and TypeMethodDescriptionvoidRegisterGameTestsEvent.registerTest(Identifier name, Function<TestData<Holder<TestEnvironmentDefinition<?>>>, GameTestInstance> factory, TestData<Holder<TestEnvironmentDefinition<?>>> testData) voidRegisterGameTestsEvent.registerTest(Identifier name, Function<TestData<Holder<TestEnvironmentDefinition<?>>>, GameTestInstance> factory, TestData<Holder<TestEnvironmentDefinition<?>>> testData) Constructors in net.neoforged.neoforge.event with parameters of type HolderModifierConstructorDescriptionAtEntity(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) privateKey(Holder<Attribute> attr, Identifier id) Creates an instance of aKeyrecord class.PlayLevelSoundEvent(Level level, Holder<SoundEvent> sound, SoundSource source, float volume, float pitch) VanillaGameEvent(Level level, Holder<GameEvent> vanillaEvent, Vec3 position, GameEvent.Context context) -
Uses of Holder in net.neoforged.neoforge.event.enchanting
Fields in net.neoforged.neoforge.event.enchanting declared as HolderModifier and TypeFieldDescriptionprivate final Holder<Enchantment> EnchantedBlockLootEvent.enchantmentprivate final Holder<Enchantment> EnchantedEntityLootEvent.enchantmentprotected final @Nullable Holder<Enchantment> GetEnchantmentLevelEvent.targetEnchantMethods in net.neoforged.neoforge.event.enchanting that return HolderModifier and TypeMethodDescriptionEnchantedBlockLootEvent.getEnchantment()EnchantedEntityLootEvent.getEnchantment()GetEnchantmentLevelEvent.getTargetEnchant()This method returns the specific enchantment being queried fromItemInstanceExtension.getEnchantmentLevel(Holder).Methods in net.neoforged.neoforge.event.enchanting with parameters of type HolderModifier and TypeMethodDescriptionbooleanGetEnchantmentLevelEvent.isTargetting(Holder<Enchantment> ench) Helper method aroundGetEnchantmentLevelEvent.getTargetEnchant()that checks if the target is the specified enchantment, or if the target is null.Constructors in net.neoforged.neoforge.event.enchanting with parameters of type HolderModifierConstructorDescriptionEnchantedBlockLootEvent(ServerLevel level, BlockPos pos, BlockState state, ItemInstance tool, Holder<Enchantment> enchantment, int enchantmentLevel) EnchantedEntityLootEvent(LivingEntity entity, DamageSource damageSource, Holder<Enchantment> enchantment, int enchantmentLevel) GetEnchantmentLevelEvent(ItemInstance stack, ItemEnchantments.Mutable enchantments, @Nullable Holder<Enchantment> targetEnchant, HolderLookup.RegistryLookup<Enchantment> lookup) -
Uses of Holder in net.neoforged.neoforge.event.entity
Methods in net.neoforged.neoforge.event.entity with parameters of type HolderModifier and TypeMethodDescriptionvoidEntityAttributeModificationEvent.add(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) voidEntityAttributeModificationEvent.add(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute, double value) booleanEntityAttributeModificationEvent.has(EntityType<? extends LivingEntity> entityType, Holder<Attribute> attribute) -
Uses of Holder in net.neoforged.neoforge.event.entity.living
Fields in net.neoforged.neoforge.event.entity.living declared as HolderMethods in net.neoforged.neoforge.event.entity.living that return HolderConstructors in net.neoforged.neoforge.event.entity.living with parameters of type Holder -
Uses of Holder in net.neoforged.neoforge.event.level
Fields in net.neoforged.neoforge.event.level declared as HolderMethods in net.neoforged.neoforge.event.level that return HolderModifier and TypeMethodDescriptionBlockGrowFeatureEvent.getFeature()Returns the holder of the feature which will be placed, possibly null.Methods in net.neoforged.neoforge.event.level with parameters of type HolderModifier and TypeMethodDescriptionvoidBlockGrowFeatureEvent.setFeature(@Nullable Holder<Feature> feature) Changes the feature that will be grown.Constructors in net.neoforged.neoforge.event.level with parameters of type HolderModifierConstructorDescriptionBlockGrowFeatureEvent(LevelAccessor level, RandomSource rand, BlockPos pos, @Nullable Holder<Feature> feature) -
Uses of Holder in net.neoforged.neoforge.fluids
Fields in net.neoforged.neoforge.fluids declared as HolderModifier and TypeFieldDescriptionFluidStack.fluidFluidStackTemplate.fluidThe field for thefluidrecord component.Fields in net.neoforged.neoforge.fluids with type parameters of type HolderModifier and TypeFieldDescriptionFluidInstance.FLUID_HOLDER_CODECFluidInstance.FLUID_HOLDER_CODEC_WITH_BOUND_COMPONENTSstatic final StreamCodec<RegistryFriendlyByteBuf, Holder<Fluid>> FluidInstance.FLUID_HOLDER_STREAM_CODECMethods in net.neoforged.neoforge.fluids that return HolderModifier and TypeMethodDescriptionFluidStackTemplate.fluid()Returns the value of thefluidrecord component.SimpleFluidContent.getFluidHolder()FluidStack.typeHolder()FluidStackTemplate.typeHolder()Methods in net.neoforged.neoforge.fluids with parameters of type HolderMethod parameters in net.neoforged.neoforge.fluids with type arguments of type HolderModifier and TypeMethodDescriptionbooleanbooleanConstructors in net.neoforged.neoforge.fluids with parameters of type HolderModifierConstructorDescriptionFluidStack(Holder<Fluid> fluid, int amount) FluidStack(Holder<Fluid> fluid, int amount, DataComponentPatch patch) privateFluidStack(Holder<Fluid> fluid, int amount, PatchedDataComponentMap components) FluidStackTemplate(Holder<Fluid> fluid, int amount) FluidStackTemplate(Holder<Fluid> fluid, int amount, DataComponentPatch components) Creates an instance of aFluidStackTemplaterecord class. -
Uses of Holder in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting with type parameters of type HolderMethods in net.neoforged.neoforge.fluids.crafting that return types with arguments of type HolderModifier and TypeMethodDescriptionFluidIngredient.fluids()Returns a cached list of all Fluid holders that this ingredient accepts.CompoundFluidIngredient.generateFluids()CustomDisplayFluidIngredient.generateFluids()DataComponentFluidIngredient.generateFluids()DifferenceFluidIngredient.generateFluids()FluidIngredient.generateFluids()Returns a stream of fluids accepted by this ingredient.IntersectionFluidIngredient.generateFluids()SimpleFluidIngredient.generateFluids()Methods in net.neoforged.neoforge.fluids.crafting with parameters of type HolderModifier and TypeMethodDescriptionstatic SlotDisplayFluidIngredient.displayForSingleFluid(Holder<Fluid> holder) static FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, Holder<Fluid>... fluids) Creates a new ingredient matching any fluid from the list, containing the given components -
Uses of Holder in net.neoforged.neoforge.fluids.crafting.display
Fields in net.neoforged.neoforge.fluids.crafting.display declared as HolderModifier and TypeFieldDescriptionFluidSlotDisplay.fluidThe field for thefluidrecord component.Methods in net.neoforged.neoforge.fluids.crafting.display that return HolderModifier and TypeMethodDescriptionFluidSlotDisplay.fluid()Returns the value of thefluidrecord component.Methods in net.neoforged.neoforge.fluids.crafting.display with parameters of type HolderConstructors in net.neoforged.neoforge.fluids.crafting.display with parameters of type HolderModifierConstructorDescriptionFluidSlotDisplay(Holder<Fluid> fluid) Creates an instance of aFluidSlotDisplayrecord class. -
Uses of Holder in net.neoforged.neoforge.registries
Classes in net.neoforged.neoforge.registries that implement HolderModifier and TypeClassDescriptionclassDeferredBlock<T extends Block>classDeferredHolder<R, T extends R>A Deferred Holder is aHolderthat is constructed with only a ResourceKey.classDeferredItem<T extends Item>Fields in net.neoforged.neoforge.registries declared as HolderFields in net.neoforged.neoforge.registries with type parameters of type HolderModifier and TypeFieldDescription(package private) static final Map<BlockState, Holder<PoiType>> NeoForgeRegistryCallbacks.PoiTypeCallbacks.BLOCKSTATE_TO_POI_TYPE_MAPMethods in net.neoforged.neoforge.registries that return HolderMethods in net.neoforged.neoforge.registries that return types with arguments of type HolderModifier and TypeMethodDescriptionstatic Map<BlockState, Holder<PoiType>> GameData.getBlockStatePointOfInterestTypeMap()Methods in net.neoforged.neoforge.registries with parameters of type HolderModifier and TypeMethodDescriptionbooleanDeprecated.DeferredRegister.Items.registerSimpleBlockItem(Holder<Block> block) Adds a new simpleBlockItemfor the givenBlockto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.DeferredRegister.Items.registerSimpleBlockItem(Holder<Block> block, Supplier<Item.Properties> properties) Adds a new simpleBlockItemfor the givenBlockto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.DeferredRegister.Items.registerSimpleBlockItem(Holder<Block> block, UnaryOperator<Item.Properties> properties) Adds a new simpleBlockItemfor the givenBlockto the list of entries to be registered and returns aDeferredItemthat will be populated with the created item automatically.Method parameters in net.neoforged.neoforge.registries with type arguments of type Holder -
Uses of Holder in net.neoforged.neoforge.registries.holdersets
Fields in net.neoforged.neoforge.registries.holdersets with type parameters of type HolderModifier and TypeFieldDescriptionCompositeHolderSet.listNotHolderSet.listCompositeHolderSet.setMethods in net.neoforged.neoforge.registries.holdersets that return HolderModifier and TypeMethodDescriptionAnyHolderSet.get(int i) CompositeHolderSet.get(int i) NotHolderSet.get(int i) Methods in net.neoforged.neoforge.registries.holdersets that return types with arguments of type HolderModifier 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()Methods in net.neoforged.neoforge.registries.holdersets with parameters of type HolderModifier and TypeMethodDescriptionbooleanbooleanbooleanMethod parameters in net.neoforged.neoforge.registries.holdersets with type arguments of type HolderModifier and TypeMethodDescription<T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AndHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> AnyHolderSet.Type.makeCodec(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) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> NotHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) <T> com.mojang.serialization.MapCodec<? extends ICustomHolderSet<T>> OrHolderSet.Type.makeCodec(ResourceKey<? extends Registry<T>> registryKey, com.mojang.serialization.Codec<Holder<T>> holderCodec, boolean forceList) -
Uses of Holder in net.neoforged.neoforge.transfer.fluid
Methods in net.neoforged.neoforge.transfer.fluid that return HolderMethods in net.neoforged.neoforge.transfer.fluid with parameters of type HolderModifier and TypeMethodDescriptionstatic FluidResourceNote: This cannot be called before your fluid is registeredstatic FluidResourceFluidResource.of(Holder<Fluid> holder, DataComponentPatch patch) Note: This cannot be called before your fluid is registered -
Uses of Holder in net.neoforged.neoforge.transfer.item
Methods in net.neoforged.neoforge.transfer.item that return HolderMethods in net.neoforged.neoforge.transfer.item with parameters of type HolderModifier and TypeMethodDescriptionstatic ItemResourceNote: This cannot be called before your item is registeredstatic ItemResourceItemResource.of(Holder<Item> holder, DataComponentPatch patch) Note: This cannot be called before your item is registered -
Uses of Holder in net.neoforged.neoforge.transfer.resource
Method parameters in net.neoforged.neoforge.transfer.resource with type arguments of type Holder
EntityFluidInteraction.getCurrentAccumulatorFor(net.neoforged.neoforge.fluids.FluidType)instead