Uses of Interface
net.minecraft.core.HolderSet
Packages that use HolderSet
Package
Description
-
Uses of HolderSet in net.minecraft.advancements
Fields in net.minecraft.advancements declared as HolderSetModifier and TypeFieldDescriptionAdvancementRewards.lootThe field for thelootrecord component.Methods in net.minecraft.advancements that return HolderSetModifier and TypeMethodDescriptionAdvancementRewards.loot()Returns the value of thelootrecord component.Constructors in net.minecraft.advancements with parameters of type HolderSetModifierConstructorDescriptionAdvancementRewards(int experience, HolderSet<LootTable> loot, List<ResourceKey<Recipe<?>>> recipes, Optional<CacheableFunction> function) Creates an instance of aAdvancementRewardsrecord class. -
Uses of HolderSet in net.minecraft.advancements.predicates
Fields in net.minecraft.advancements.predicates declared as HolderSetFields in net.minecraft.advancements.predicates with type parameters of type HolderSetModifier and TypeFieldDescriptionLocationPredicate.biomesThe field for thebiomesrecord component.LocationPredicate.Builder.biomesBlockPredicate.blocksThe field for theblocksrecord component.BlockPredicate.Builder.blocksprivate final Optional<HolderSet<Enchantment>> EnchantmentPredicate.enchantmentsThe field for theenchantmentsrecord component.FluidPredicate.Builder.fluidsFluidPredicate.fluidsThe field for thefluidsrecord component.ItemPredicate.Builder.itemsItemPredicate.itemsThe field for theitemsrecord component.LocationPredicate.Builder.structuresLocationPredicate.structuresThe field for thestructuresrecord component.Methods in net.minecraft.advancements.predicates that return HolderSetModifier and TypeMethodDescriptionTagPredicate.tag()Returns the value of thetagrecord component.Methods in net.minecraft.advancements.predicates that return types with arguments of type HolderSetModifier and TypeMethodDescriptionLocationPredicate.biomes()Returns the value of thebiomesrecord component.BlockPredicate.blocks()Returns the value of theblocksrecord component.EnchantmentPredicate.enchantments()Returns the value of theenchantmentsrecord component.FluidPredicate.fluids()Returns the value of thefluidsrecord component.ItemPredicate.items()Returns the value of theitemsrecord component.LocationPredicate.structures()Returns the value of thestructuresrecord component.Methods in net.minecraft.advancements.predicates with parameters of type HolderSetModifier and TypeMethodDescriptionstatic <T> TagPredicate<T> static <T> TagPredicate<T> LocationPredicate.Builder.setStructures(HolderSet<Structure> structures) Constructors in net.minecraft.advancements.predicates with parameters of type HolderSetModifierConstructorDescriptionEnchantmentPredicate(HolderSet<Enchantment> enchantments, MinMaxBounds.Ints level) TagPredicate(HolderSet<T> tag, boolean expected) Creates an instance of aTagPredicaterecord class.Constructor parameters in net.minecraft.advancements.predicates with type arguments of type HolderSetModifierConstructorDescriptionBlockPredicate(Optional<HolderSet<Block>> blocks, Optional<StatePropertiesPredicate> properties, Optional<NbtPredicate> nbt, DataComponentMatchers components) Creates an instance of aBlockPredicaterecord class.EnchantmentPredicate(Optional<HolderSet<Enchantment>> enchantments, MinMaxBounds.Ints level) Creates an instance of aEnchantmentPredicaterecord class.FluidPredicate(Optional<HolderSet<Fluid>> fluids, Optional<StatePropertiesPredicate> properties) Creates an instance of aFluidPredicaterecord class.ItemPredicate(Optional<HolderSet<Item>> items, MinMaxBounds.Ints count, DataComponentMatchers components) Creates an instance of aItemPredicaterecord class. -
Uses of HolderSet in net.minecraft.advancements.predicates.entity
Fields in net.minecraft.advancements.predicates.entity declared as HolderSetModifier and TypeFieldDescriptionprivate final HolderSet<EntityType<?>> EntityTypePredicate.typesThe field for thetypesrecord component.Methods in net.minecraft.advancements.predicates.entity that return HolderSetModifier and TypeMethodDescriptionHolderSet<EntityType<?>> EntityTypePredicate.types()Returns the value of thetypesrecord component.Constructors in net.minecraft.advancements.predicates.entity with parameters of type HolderSetModifierConstructorDescriptionEntityTypePredicate(HolderSet<EntityType<?>> types) Creates an instance of aEntityTypePredicaterecord class. -
Uses of HolderSet in net.minecraft.advancements.triggers
Fields in net.minecraft.advancements.triggers declared as HolderSetModifier and TypeFieldDescriptionLootTableTrigger.TriggerInstance.lootTableThe field for thelootTablerecord component.RecipeCraftedTrigger.TriggerInstance.recipesThe field for therecipesrecord component.RecipeUnlockedTrigger.TriggerInstance.recipesThe field for therecipesrecord component.Fields in net.minecraft.advancements.triggers with type parameters of type HolderSetModifier and TypeFieldDescriptionBeeNestDestroyedTrigger.TriggerInstance.blockThe field for theblockrecord component.EnterBlockTrigger.TriggerInstance.blockThe field for theblockrecord component.SlideDownBlockTrigger.TriggerInstance.blockThe field for theblockrecord component.Methods in net.minecraft.advancements.triggers that return HolderSetModifier and TypeMethodDescriptionLootTableTrigger.TriggerInstance.lootTable()Returns the value of thelootTablerecord component.RecipeCraftedTrigger.TriggerInstance.recipes()Returns the value of therecipesrecord component.RecipeUnlockedTrigger.TriggerInstance.recipes()Returns the value of therecipesrecord component.Methods in net.minecraft.advancements.triggers that return types with arguments of type HolderSetModifier and TypeMethodDescriptionBeeNestDestroyedTrigger.TriggerInstance.block()Returns the value of theblockrecord component.EnterBlockTrigger.TriggerInstance.block()Returns the value of theblockrecord component.SlideDownBlockTrigger.TriggerInstance.block()Returns the value of theblockrecord component.Methods in net.minecraft.advancements.triggers with parameters of type HolderSetModifier and TypeMethodDescriptionRecipeCraftedTrigger.TriggerInstance.craftedItem(HolderSet<Recipe<?>> recipeId) RecipeCraftedTrigger.TriggerInstance.craftedItem(HolderSet<Recipe<?>> recipeId, List<ItemPredicate.Builder> predicates) RecipeCraftedTrigger.TriggerInstance.crafterCraftedItem(HolderSet<Recipe<?>> recipeId) BeeNestDestroyedTrigger.TriggerInstance.destroyedBeeNest(HolderSet<Block> block, ItemPredicate.Builder itemPredicate, MinMaxBounds.Ints numBeesInside) EnterBlockTrigger.TriggerInstance.entersBlock(HolderSet<Block> block) LootTableTrigger.TriggerInstance.lootTableUsed(HolderSet<LootTable> lootTable) SlideDownBlockTrigger.TriggerInstance.slidesDownBlock(HolderSet<Block> block) Constructors in net.minecraft.advancements.triggers with parameters of type HolderSetModifierConstructorDescriptionTriggerInstance(Optional<Holder<LootItemCondition>> player, HolderSet<LootTable> lootTable) 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. -
Uses of HolderSet in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks declared as HolderSetModifier and TypeFieldDescriptionBlockPredicateArgument.TagPredicate.tagBlockStateParser.tagBlockStateParser.TagResult.tagThe field for thetagrecord component.Methods in net.minecraft.commands.arguments.blocks that return HolderSetModifier and TypeMethodDescriptionBlockStateParser.TagResult.tag()Returns the value of thetagrecord component.Constructors in net.minecraft.commands.arguments.blocks with parameters of type HolderSet -
Uses of HolderSet in net.minecraft.core
Classes in net.minecraft.core that implement HolderSetModifier and TypeClassDescriptionstatic final classstatic classstatic classMethods in net.minecraft.core that return HolderSetMethods in net.minecraft.core with parameters of type HolderSet -
Uses of HolderSet in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final DataComponentType<HolderSet<BannerPattern>> DataComponents.PROVIDES_BANNER_PATTERNS -
Uses of HolderSet in net.minecraft.core.component.predicates
Fields in net.minecraft.core.component.predicates declared as HolderSetModifier and TypeFieldDescriptionprivate final HolderSet<VillagerType> VillagerTypePredicate.villagerTypesThe field for thevillagerTypesrecord component.Fields in net.minecraft.core.component.predicates with type parameters of type HolderSetModifier and TypeFieldDescriptionAttributeModifiersPredicate.EntryPredicate.attributeThe field for theattributerecord component.private final Optional<HolderSet<TrimMaterial>> TrimPredicate.materialThe field for thematerialrecord component.private final Optional<HolderSet<TrimPattern>> TrimPredicate.patternThe field for thepatternrecord component.PotionsPredicate.potionsThe field for thepotionsrecord component.private final Optional<HolderSet<JukeboxSong>> JukeboxPlayablePredicate.songThe field for thesongrecord component.Methods in net.minecraft.core.component.predicates that return HolderSetModifier and TypeMethodDescriptionVillagerTypePredicate.villagerTypes()Returns the value of thevillagerTypesrecord component.Methods in net.minecraft.core.component.predicates that return types with arguments of type HolderSetModifier and TypeMethodDescriptionAttributeModifiersPredicate.EntryPredicate.attribute()Returns the value of theattributerecord component.TrimPredicate.material()Returns the value of thematerialrecord component.TrimPredicate.pattern()Returns the value of thepatternrecord component.PotionsPredicate.potions()Returns the value of thepotionsrecord component.JukeboxPlayablePredicate.song()Returns the value of thesongrecord component.Methods in net.minecraft.core.component.predicates with parameters of type HolderSetModifier and TypeMethodDescriptionstatic PotionsPredicatestatic VillagerTypePredicateVillagerTypePredicate.villagerTypes(HolderSet<VillagerType> villagerTypes) Constructors in net.minecraft.core.component.predicates with parameters of type HolderSetModifierConstructorDescriptionVillagerTypePredicate(HolderSet<VillagerType> villagerTypes) Creates an instance of aVillagerTypePredicaterecord class.Constructor parameters in net.minecraft.core.component.predicates with type arguments of type HolderSetModifierConstructorDescriptionEntryPredicate(Optional<HolderSet<Attribute>> attribute, Optional<Identifier> id, MinMaxBounds.Doubles amount, Optional<AttributeModifier.Operation> operation, Optional<EquipmentSlotGroup> slot) Creates an instance of aEntryPredicaterecord class.Creates an instance of aJukeboxPlayablePredicaterecord class.PotionsPredicate(Optional<HolderSet<Potion>> potions, Optional<CollectionPredicate<MobEffectInstance, MobEffectsPredicate>> effects) Creates an instance of aPotionsPredicaterecord class.TrimPredicate(Optional<HolderSet<TrimMaterial>> material, Optional<HolderSet<TrimPattern>> pattern) Creates an instance of aTrimPredicaterecord class. -
Uses of HolderSet in net.minecraft.core.registries.codec
Classes in net.minecraft.core.registries.codec that implement interfaces with type arguments of type HolderSetMethods in net.minecraft.core.registries.codec that return types with arguments of type HolderSetModifier 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.decode(com.mojang.serialization.DynamicOps<T> ops, T input) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.holderSet(ResourceKey<? extends Registry<E>> registryKey) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.holderSet(ResourceKey<? extends Registry<E>> registryKey, boolean alwaysUseList) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.holderSet(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec) static <E> com.mojang.serialization.Codec<HolderSet<E>> RegistryCodecs.holderSet(ResourceKey<? extends Registry<E>> registryKey, com.mojang.serialization.Codec<E> elementCodec, boolean alwaysUseList) private static <E> com.mojang.serialization.DataResult<HolderSet<E>> HolderSetCodec.lookupTag(HolderGetter<E> registry, TagKey<E> key) Methods in net.minecraft.core.registries.codec with parameters of type HolderSet -
Uses of HolderSet in net.minecraft.data.advancements.packs
Methods in net.minecraft.data.advancements.packs that return HolderSet -
Uses of HolderSet in net.minecraft.network.codec
Methods in net.minecraft.network.codec that return types with arguments of type HolderSetModifier and TypeMethodDescriptionstatic <T> StreamCodec<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet(ResourceKey<? extends Registry<T>> registryKey) -
Uses of HolderSet in net.minecraft.server.dialog
Fields in net.minecraft.server.dialog declared as HolderSetModifier and TypeFieldDescriptionDialogListDialog.dialogsThe field for thedialogsrecord component.Fields in net.minecraft.server.dialog with type parameters of type HolderSetMethods in net.minecraft.server.dialog that return HolderSetModifier and TypeMethodDescriptionDialogListDialog.dialogs()Returns the value of thedialogsrecord component.Constructors in net.minecraft.server.dialog with parameters of type HolderSetModifierConstructorDescriptionDialogListDialog(CommonDialogData common, HolderSet<Dialog> dialogs, Optional<ActionButton> exitAction, int columns, int buttonWidth) Creates an instance of aDialogListDialogrecord class. -
Uses of HolderSet in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type HolderSet -
Uses of HolderSet in net.minecraft.util
Methods in net.minecraft.util that return types with arguments of type HolderSetModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<HolderSet<T>> ExtraCodecs.nonEmptyHolderSet(com.mojang.serialization.Codec<HolderSet<T>> listCodec) Method parameters in net.minecraft.util with type arguments of type HolderSetModifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<HolderSet<T>> ExtraCodecs.nonEmptyHolderSet(com.mojang.serialization.Codec<HolderSet<T>> listCodec) -
Uses of HolderSet in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as HolderSetModifier and TypeFieldDescriptionSulfurCubeArchetype.itemsThe field for theitemsrecord component.Methods in net.minecraft.world.entity that return HolderSetModifier and TypeMethodDescriptionSulfurCubeArchetype.items()Returns the value of theitemsrecord component.Constructors in net.minecraft.world.entity with parameters of type HolderSetModifierConstructorDescriptionSulfurCubeArchetype(HolderSet<Item> items, List<SulfurCubeArchetype.AttributeEntry> attributeModifiers, boolean buoyant, Optional<SulfurCubeArchetype.ExplosionData> explosion, Optional<SulfurCubeArchetype.ContactDamage> contactDamage, SulfurCubeArchetype.KnockbackModifiers knockbackModifiers, SulfurCubeArchetype.SoundSettings soundSettings) Creates an instance of aSulfurCubeArchetyperecord class. -
Uses of HolderSet in net.minecraft.world.entity.animal.wolf
Methods in net.minecraft.world.entity.animal.wolf with parameters of type HolderSetModifier and TypeMethodDescriptionprivate static SpawnPrioritySelectorsWolfVariants.highPrioBiome(HolderSet<Biome> biomes) -
Uses of HolderSet in net.minecraft.world.entity.npc.villager
Methods in net.minecraft.world.entity.npc.villager with parameters of type HolderSetModifier and TypeMethodDescription(package private) static voidAbstractVillager.addOffersFromItemListings(LootContext lootContext, MerchantOffers merchantOffers, HolderSet<VillagerTrade> potentialOffers, int numberOfOffers) private static voidAbstractVillager.addOffersFromItemListingsWithoutDuplicates(LootContext lootContext, MerchantOffers merchantOffers, HolderSet<VillagerTrade> potentialOffers, int numberOfOffers) -
Uses of HolderSet in net.minecraft.world.entity.variant
Fields in net.minecraft.world.entity.variant declared as HolderSetModifier and TypeFieldDescriptionBiomeCheck.requiredBiomesThe field for therequiredBiomesrecord component.StructureCheck.requiredStructuresThe field for therequiredStructuresrecord component.Methods in net.minecraft.world.entity.variant that return HolderSetModifier and TypeMethodDescriptionBiomeCheck.requiredBiomes()Returns the value of therequiredBiomesrecord component.StructureCheck.requiredStructures()Returns the value of therequiredStructuresrecord component.Constructors in net.minecraft.world.entity.variant with parameters of type HolderSetModifierConstructorDescriptionBiomeCheck(HolderSet<Biome> requiredBiomes) Creates an instance of aBiomeCheckrecord class.StructureCheck(HolderSet<Structure> requiredStructures) Creates an instance of aStructureCheckrecord class. -
Uses of HolderSet in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as HolderSetModifier and TypeFieldDescriptionTool.Rule.blocksThe field for theblocksrecord component.private final HolderSet<EntityType<?>> MobVisibility.targetingEntityTypesThe field for thetargetingEntityTypesrecord component.private final HolderSet<DamageType> DamageResistant.typesThe field for thetypesrecord component.Fields in net.minecraft.world.item.component with type parameters of type HolderSetModifier and TypeFieldDescriptionprivate final Optional<HolderSet<DamageType>> BlocksAttacks.bypassedByThe field for thebypassedByrecord component.private final Optional<HolderSet<DamageType>> BlocksAttacks.DamageReduction.typeThe field for thetyperecord component.Methods in net.minecraft.world.item.component that return HolderSetModifier and TypeMethodDescriptionTool.Rule.blocks()Returns the value of theblocksrecord component.HolderSet<EntityType<?>> MobVisibility.targetingEntityTypes()Returns the value of thetargetingEntityTypesrecord component.DamageResistant.types()Returns the value of thetypesrecord component.Methods in net.minecraft.world.item.component that return types with arguments of type HolderSetModifier and TypeMethodDescriptionBlocksAttacks.bypassedBy()Returns the value of thebypassedByrecord component.BlocksAttacks.DamageReduction.type()Returns the value of thetyperecord component.Methods in net.minecraft.world.item.component with parameters of type HolderSetModifier and TypeMethodDescriptionstatic Tool.RuleTool.Rule.deniesDrops(HolderSet<Block> blocks) static Tool.RuleTool.Rule.minesAndDrops(HolderSet<Block> blocks, float speed) static Tool.RuleTool.Rule.overrideSpeed(HolderSet<Block> blocks, float speed) Constructors in net.minecraft.world.item.component with parameters of type HolderSetModifierConstructorDescriptionDamageResistant(HolderSet<DamageType> types) Creates an instance of aDamageResistantrecord class.MobVisibility(HolderSet<EntityType<?>> targetingEntityTypes, float visibility) Creates an instance of aMobVisibilityrecord class.Creates an instance of aRulerecord class.Constructor parameters in net.minecraft.world.item.component with type arguments of type HolderSetModifierConstructorDescriptionBlocksAttacks(float blockDelaySeconds, float disableCooldownScale, List<BlocksAttacks.DamageReduction> damageReductions, BlocksAttacks.ItemDamageFunction itemDamage, Optional<HolderSet<DamageType>> bypassedBy, Optional<Holder<SoundEvent>> blockSound, Optional<Holder<SoundEvent>> disableSound) Creates an instance of aBlocksAttacksrecord class.DamageReduction(float horizontalBlockingAngle, Optional<HolderSet<DamageType>> type, float base, float factor) Creates an instance of aDamageReductionrecord class. -
Uses of HolderSet in net.minecraft.world.item.consume_effects
Fields in net.minecraft.world.item.consume_effects declared as HolderSetModifier and TypeFieldDescriptionRemoveStatusEffectsConsumeEffect.effectsThe field for theeffectsrecord component.Methods in net.minecraft.world.item.consume_effects that return HolderSetModifier and TypeMethodDescriptionRemoveStatusEffectsConsumeEffect.effects()Returns the value of theeffectsrecord component.Constructors in net.minecraft.world.item.consume_effects with parameters of type HolderSetModifierConstructorDescriptionCreates an instance of aRemoveStatusEffectsConsumeEffectrecord class. -
Uses of HolderSet in net.minecraft.world.item.crafting
Fields in net.minecraft.world.item.crafting declared as HolderSetFields in net.minecraft.world.item.crafting with type parameters of type HolderSetMethods in net.minecraft.world.item.crafting that return HolderSetModifier and TypeMethodDescriptionIngredient.getValues()Retrieves the underlying values of this ingredient.Ingredient.getValuesForSync()Retrieves the holder set to use for syncing simple ingredientsMethods in net.minecraft.world.item.crafting with parameters of type HolderSetConstructors in net.minecraft.world.item.crafting with parameters of type HolderSet -
Uses of HolderSet in net.minecraft.world.item.crafting.display
Fields in net.minecraft.world.item.crafting.display declared as HolderSetModifier and TypeFieldDescriptionSlotDisplay.TagSlotDisplay.tagThe field for thetagrecord component.Methods in net.minecraft.world.item.crafting.display that return HolderSetModifier and TypeMethodDescriptionSlotDisplay.TagSlotDisplay.tag()Returns the value of thetagrecord component.Constructors in net.minecraft.world.item.crafting.display with parameters of type HolderSetModifierConstructorDescriptionTagSlotDisplay(HolderSet<Item> tag) Creates an instance of aTagSlotDisplayrecord class. -
Uses of HolderSet in net.minecraft.world.item.enchantment
Fields in net.minecraft.world.item.enchantment declared as HolderSetModifier and TypeFieldDescriptionprivate HolderSet<Enchantment> Enchantment.Builder.exclusiveSetprivate final HolderSet<Enchantment> Enchantment.exclusiveSetThe field for theexclusiveSetrecord component.Repairable.itemsThe field for theitemsrecord component.Enchantment.EnchantmentDefinition.supportedItemsThe field for thesupportedItemsrecord component.Fields in net.minecraft.world.item.enchantment with type parameters of type HolderSetModifier and TypeFieldDescriptionEnchantment.EnchantmentDefinition.primaryItemsThe field for theprimaryItemsrecord component.Methods in net.minecraft.world.item.enchantment that return HolderSetModifier and TypeMethodDescriptionEnchantment.exclusiveSet()Returns the value of theexclusiveSetrecord component.Enchantment.getSupportedItems()Deprecated.private static <T> HolderSet<T> ItemEnchantments.getTagOrEmpty(@Nullable HolderLookup.Provider registries, ResourceKey<Registry<T>> registry, TagKey<T> tag) Repairable.items()Returns the value of theitemsrecord component.Enchantment.EnchantmentDefinition.supportedItems()Returns the value of thesupportedItemsrecord component.Methods in net.minecraft.world.item.enchantment that return types with arguments of type HolderSetModifier and TypeMethodDescriptionEnchantment.EnchantmentDefinition.primaryItems()Returns the value of theprimaryItemsrecord component.Methods in net.minecraft.world.item.enchantment with parameters of type HolderSetModifier and TypeMethodDescriptionEnchantment.definition(HolderSet<Item> supportedItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, EquipmentSlotGroup... slots) Enchantment.definition(HolderSet<Item> supportedItems, HolderSet<Item> primaryItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, EquipmentSlotGroup... slots) Enchantment.Builder.exclusiveWith(HolderSet<Enchantment> set) Method parameters in net.minecraft.world.item.enchantment with type arguments of type HolderSetModifier and TypeMethodDescriptionstatic ItemStackEnchantmentHelper.enchantItem(RandomSource random, ItemStack itemStack, int enchantmentCost, RegistryAccess registryAccess, Optional<? extends HolderSet<Enchantment>> set) Constructors in net.minecraft.world.item.enchantment with parameters of type HolderSetModifierConstructorDescriptionEnchantment(Component description, Enchantment.EnchantmentDefinition definition, HolderSet<Enchantment> exclusiveSet, DataComponentMap effects) Creates an instance of aEnchantmentrecord class.EnchantmentDefinition(HolderSet<Item> supportedItems, Optional<HolderSet<Item>> primaryItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, List<EquipmentSlotGroup> slots) Creates an instance of aEnchantmentDefinitionrecord class.Repairable(HolderSet<Item> items) Creates an instance of aRepairablerecord class.Constructor parameters in net.minecraft.world.item.enchantment with type arguments of type HolderSetModifierConstructorDescriptionEnchantmentDefinition(HolderSet<Item> supportedItems, Optional<HolderSet<Item>> primaryItems, int weight, int maxLevel, Enchantment.Cost minCost, Enchantment.Cost maxCost, int anvilCost, List<EquipmentSlotGroup> slots) Creates an instance of aEnchantmentDefinitionrecord class. -
Uses of HolderSet in net.minecraft.world.item.enchantment.effects
Fields in net.minecraft.world.item.enchantment.effects declared as HolderSetModifier and TypeFieldDescriptionprivate final HolderSet<EntityType<?>> SummonEntityEffect.entityTypesThe field for theentityTypesrecord component.ApplyMobEffect.toApplyThe field for thetoApplyrecord component.Fields in net.minecraft.world.item.enchantment.effects with type parameters of type HolderSetModifier and TypeFieldDescriptionExplodeEffect.immuneBlocksThe field for theimmuneBlocksrecord component.Methods in net.minecraft.world.item.enchantment.effects that return HolderSetModifier and TypeMethodDescriptionHolderSet<EntityType<?>> SummonEntityEffect.entityTypes()Returns the value of theentityTypesrecord component.ApplyMobEffect.toApply()Returns the value of thetoApplyrecord component.Methods in net.minecraft.world.item.enchantment.effects that return types with arguments of type HolderSetModifier and TypeMethodDescriptionExplodeEffect.immuneBlocks()Returns the value of theimmuneBlocksrecord component.Constructors in net.minecraft.world.item.enchantment.effects with parameters of type HolderSetModifierConstructorDescriptionApplyMobEffect(HolderSet<MobEffect> toApply, LevelBasedValue minDuration, LevelBasedValue maxDuration, LevelBasedValue minAmplifier, LevelBasedValue maxAmplifier) Creates an instance of aApplyMobEffectrecord class.SummonEntityEffect(HolderSet<EntityType<?>> entityTypes, boolean joinTeam) Creates an instance of aSummonEntityEffectrecord class. -
Uses of HolderSet in net.minecraft.world.item.enchantment.providers
Fields in net.minecraft.world.item.enchantment.providers declared as HolderSetModifier and TypeFieldDescriptionprivate final HolderSet<Enchantment> EnchantmentsByCost.enchantmentsThe field for theenchantmentsrecord component.private final HolderSet<Enchantment> EnchantmentsByCostWithDifficulty.enchantmentsThe field for theenchantmentsrecord component.Methods in net.minecraft.world.item.enchantment.providers that return HolderSetModifier and TypeMethodDescriptionEnchantmentsByCost.enchantments()Returns the value of theenchantmentsrecord component.EnchantmentsByCostWithDifficulty.enchantments()Returns the value of theenchantmentsrecord component.Constructors in net.minecraft.world.item.enchantment.providers with parameters of type HolderSetModifierConstructorDescriptionEnchantmentsByCost(HolderSet<Enchantment> enchantments, IntProvider cost) Creates an instance of aEnchantmentsByCostrecord class.EnchantmentsByCostWithDifficulty(HolderSet<Enchantment> enchantments, int minCost, int maxCostSpan) Creates an instance of aEnchantmentsByCostWithDifficultyrecord class. -
Uses of HolderSet in net.minecraft.world.item.equipment
Fields in net.minecraft.world.item.equipment with type parameters of type HolderSetModifier and TypeFieldDescriptionprivate final Optional<HolderSet<EntityType<?>>> Equippable.allowedEntitiesThe field for theallowedEntitiesrecord component.private Optional<HolderSet<EntityType<?>>> Equippable.Builder.allowedEntitiesMethods in net.minecraft.world.item.equipment that return HolderSetModifier and TypeMethodDescriptionHolderSet<EntityType<?>> AllowedEntitiesProvider.get(HolderGetter<EntityType<?>> entityGetter) Methods in net.minecraft.world.item.equipment that return types with arguments of type HolderSetModifier and TypeMethodDescriptionOptional<HolderSet<EntityType<?>>> Equippable.allowedEntities()Returns the value of theallowedEntitiesrecord component.Methods in net.minecraft.world.item.equipment with parameters of type HolderSetModifier and TypeMethodDescriptionEquippable.Builder.setAllowedEntities(HolderSet<EntityType<?>> allowedEntities) -
Uses of HolderSet in net.minecraft.world.item.slot
Fields in net.minecraft.world.item.slot declared as HolderSetFields in net.minecraft.world.item.slot with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HolderSet<SlotSource>> SlotSources.LIST_CODECMethods in net.minecraft.world.item.slot with parameters of type HolderSetModifier and TypeMethodDescriptionprivate static Function<LootContext, SlotCollection> CompositeSlotSource.group(HolderSet<SlotSource> terms) Method parameters in net.minecraft.world.item.slot with type arguments of type HolderSetModifier and TypeMethodDescriptionprotected static <T extends CompositeSlotSource>
com.mojang.serialization.MapCodec<T> CompositeSlotSource.createCodec(Function<HolderSet<SlotSource>, T> factory) protected static <T extends CompositeSlotSource>
com.mojang.serialization.Codec<T> CompositeSlotSource.createInlineCodec(Function<HolderSet<SlotSource>, T> factory) Constructors in net.minecraft.world.item.slot with parameters of type HolderSetModifierConstructorDescriptionprotectedCompositeSlotSource(HolderSet<SlotSource> terms) privateGroupSlotSource(HolderSet<SlotSource> terms) -
Uses of HolderSet in net.minecraft.world.item.trading
Fields in net.minecraft.world.item.trading declared as HolderSetModifier and TypeFieldDescriptionprivate final HolderSet<VillagerTrade> TradeSet.tradesThe field for thetradesrecord component.Fields in net.minecraft.world.item.trading with type parameters of type HolderSetModifier and TypeFieldDescriptionprivate Optional<HolderSet<Enchantment>> VillagerTrade.Builder.doubleTradePriceEnchantmentsprivate final Optional<HolderSet<Enchantment>> VillagerTrade.doubleTradePriceEnchantmentsMethods in net.minecraft.world.item.trading that return HolderSetModifier and TypeMethodDescriptionTradeSet.trades()Returns the value of thetradesrecord component.static HolderSet<VillagerType> VillagerTrades.villagerTypeHolderSet(HolderGetter<VillagerType> villagerVariants, List<ResourceKey<VillagerType>> resourceKeys) static HolderSet<VillagerType> VillagerTrades.villagerTypeHolderSet(HolderGetter<VillagerType> villagerVariants, ResourceKey<VillagerType> resourceKey) Methods in net.minecraft.world.item.trading with parameters of type HolderSetModifier and TypeMethodDescriptionprivate static VillagerTradeTradeRebalanceVillagerTrades.createLibrarianLevel1EnchantmentTrade(HolderGetter<Item> items, HolderSet<Enchantment> doubleTradePrice, HolderSet<VillagerType> villagerTypes, HolderSet<Enchantment> enchantments) private static VillagerTradeTradeRebalanceVillagerTrades.createLibrarianLevel2EnchantmentTrade(HolderGetter<Item> items, HolderSet<Enchantment> doubleTradePrice, HolderSet<VillagerType> villagerTypes, HolderSet<Enchantment> enchantments) private static VillagerTradeTradeRebalanceVillagerTrades.createLibrarianLevel3EnchantmentTrade(HolderGetter<Item> items, HolderSet<Enchantment> doubleTradePrice, HolderSet<VillagerType> villagerTypes, HolderSet<Enchantment> enchantments) 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) VillagerTrade.Builder.doubleTradePriceEnchantments(HolderSet<Enchantment> doubleTradePriceEnchantments) static List<Holder<LootItemFunction>> VillagerTrades.enchantedBook(HolderGetter<Item> items, HolderSet<Enchantment> options) static List<Holder<LootItemFunction>> VillagerTrades.enchantedItem(HolderGetter<Item> items, HolderSet<Enchantment> options, Item expectedItem) static Holder<LootItemCondition> VillagerTrades.villagerTypeRestriction(HolderSet<VillagerType> villagerTypes) Constructors in net.minecraft.world.item.trading with parameters of type HolderSetModifierConstructorDescriptionTradeSet(HolderSet<VillagerTrade> trades, Holder<ContextIntProvider> amount, boolean allowDuplicates, Optional<Identifier> randomSequence) Creates an instance of aTradeSetrecord class. -
Uses of HolderSet in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type HolderSetMethods in net.minecraft.world.level with parameters of type HolderSetModifier and TypeMethodDescriptionStructureManager.getStructureAt(BlockPos blockPos, HolderSet<Structure> structures) StructureManager.getStructureWithPieceAt(BlockPos blockPos, HolderSet<Structure> structures) -
Uses of HolderSet in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as HolderSetModifier and TypeFieldDescriptionCheckerboardColumnBiomeSource.allowedBiomesprivate final HolderSet<WorldCarver> BiomeGenerationSettings.carversFields in net.minecraft.world.level.biome with type parameters of type HolderSetModifier and TypeFieldDescriptionprivate final List<HolderSet<PlacedFeature>> BiomeGenerationSettings.featuresBiome.LIST_CODECMethods in net.minecraft.world.level.biome that return types with arguments of type HolderSetMethod parameters in net.minecraft.world.level.biome with type arguments of type HolderSetModifier and TypeMethodDescriptionstatic <T> List<FeatureSorter.StepFeatureData> FeatureSorter.buildFeaturesPerStep(List<T> featureSources, Function<T, List<HolderSet<PlacedFeature>>> featureGetter, boolean tryReducingError) Constructors in net.minecraft.world.level.biome with parameters of type HolderSetModifierConstructorDescriptionBiomeGenerationSettings(HolderSet<WorldCarver> carvers, List<HolderSet<PlacedFeature>> features) CheckerboardColumnBiomeSource(HolderSet<Biome> allowedBiomes, int size) Constructor parameters in net.minecraft.world.level.biome with type arguments of type HolderSetModifierConstructorDescriptionBiomeGenerationSettings(HolderSet<WorldCarver> carvers, List<HolderSet<PlacedFeature>> features) -
Uses of HolderSet in net.minecraft.world.level.chunk
Methods in net.minecraft.world.level.chunk with parameters of type HolderSetModifier and TypeMethodDescriptionChunkGenerator.findNearestMapStructure(ServerLevel level, HolderSet<Structure> wantedStructures, BlockPos pos, int maxSearchRadius, boolean createReference) -
Uses of HolderSet in net.minecraft.world.level.dimension
Fields in net.minecraft.world.level.dimension declared as HolderSetModifier and TypeFieldDescriptionDimensionType.infiniburnThe field for theinfiniburnrecord component.DimensionType.timelinesThe field for thetimelinesrecord component.Methods in net.minecraft.world.level.dimension that return HolderSetModifier and TypeMethodDescriptionDimensionType.infiniburn()Returns the value of theinfiniburnrecord component.DimensionType.timelines()Returns the value of thetimelinesrecord component.Constructors in net.minecraft.world.level.dimension with parameters of type HolderSetModifierConstructorDescriptionDimensionType(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 HolderSet in net.minecraft.world.level.levelgen
Fields in net.minecraft.world.level.levelgen declared as HolderSetModifier and TypeFieldDescriptionGeodeBlockSettings.cannotReplaceThe field for thecannotReplacerecord component.GeodeBlockSettings.invalidBlocksThe field for theinvalidBlocksrecord component.Methods in net.minecraft.world.level.levelgen that return HolderSetModifier and TypeMethodDescriptionGeodeBlockSettings.cannotReplace()Returns the value of thecannotReplacerecord component.GeodeBlockSettings.invalidBlocks()Returns the value of theinvalidBlocksrecord component.Constructors in net.minecraft.world.level.levelgen with parameters of type HolderSetModifierConstructorDescriptionGeodeBlockSettings(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. -
Uses of HolderSet in net.minecraft.world.level.levelgen.blockpredicates
Fields in net.minecraft.world.level.levelgen.blockpredicates declared as HolderSetModifier and TypeFieldDescriptionMatchingBiomesPredicate.biomesMatchingBlocksPredicate.blocksMatchingFluidsPredicate.fluidsConstructors in net.minecraft.world.level.levelgen.blockpredicates with parameters of type HolderSetModifierConstructorDescriptionMatchingBiomesPredicate(HolderSet<Biome> biomes) MatchingBlocksPredicate(Vec3i offset, HolderSet<Block> blocks) MatchingFluidsPredicate(Vec3i offset, HolderSet<Fluid> fluids) -
Uses of HolderSet in net.minecraft.world.level.levelgen.carver
Fields in net.minecraft.world.level.levelgen.carver with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HolderSet<WorldCarver>> WorldCarver.LIST_CODEC -
Uses of HolderSet in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as HolderSetModifier and TypeFieldDescriptionRandomNeighborSpreadFeature.acceptedNeighborsThe field for theacceptedNeighborsrecord component.MultifaceGrowthFeature.canBePlacedOnThe field for thecanBePlacedOnrecord component.SteppedColumnClusterFeature.cannotPlaceOnThe field for thecannotPlaceOnrecord component.private final HolderSet<PlacedFeature> OverlayFeature.featuresThe field for thefeaturesrecord component.private final HolderSet<PlacedFeature> SequenceFeature.featuresThe field for thefeaturesrecord component.private final HolderSet<PlacedFeature> SimpleRandomSelectorFeature.featuresThe field for thefeaturesrecord component.VegetationPatchFeature.replaceableLargeDripstoneFeature.replaceableBlocksThe field for thereplaceableBlocksrecord component.SpeleothemClusterFeature.replaceableBlocksThe field for thereplaceableBlocksrecord component.SpeleothemFeature.replaceableBlocksThe field for thereplaceableBlocksrecord component.RootSystemFeature.rootReplaceableThe field for therootReplaceablerecord component.SpringFeature.validBlocksThe field for thevalidBlocksrecord component.Fields in net.minecraft.world.level.levelgen.feature with type parameters of type HolderSetMethods in net.minecraft.world.level.levelgen.feature that return HolderSetModifier and TypeMethodDescriptionRandomNeighborSpreadFeature.acceptedNeighbors()Returns the value of theacceptedNeighborsrecord component.MultifaceGrowthFeature.canBePlacedOn()Returns the value of thecanBePlacedOnrecord component.SteppedColumnClusterFeature.cannotPlaceOn()Returns the value of thecannotPlaceOnrecord component.OverlayFeature.features()Returns the value of thefeaturesrecord component.SequenceFeature.features()Returns the value of thefeaturesrecord component.SimpleRandomSelectorFeature.features()Returns the value of thefeaturesrecord component.LargeDripstoneFeature.replaceableBlocks()Returns the value of thereplaceableBlocksrecord component.SpeleothemClusterFeature.replaceableBlocks()Returns the value of thereplaceableBlocksrecord component.SpeleothemFeature.replaceableBlocks()Returns the value of thereplaceableBlocksrecord component.RootSystemFeature.rootReplaceable()Returns the value of therootReplaceablerecord component.SpringFeature.validBlocks()Returns the value of thevalidBlocksrecord component.Methods in net.minecraft.world.level.levelgen.feature with parameters of type HolderSetModifier and TypeMethodDescriptionprotected static voidSpeleothemUtils.growSpeleothem(LevelAccessor level, BlockPos startPos, Direction tipDirection, int height, boolean mergedTip, Block baseBlock, Block pointedBlock, HolderSet<Block> replaceableBlocks) static booleanSpeleothemUtils.isBase(BlockState state, Block baseBlock, HolderSet<Block> replaceableBlocks) static booleanSpeleothemUtils.isBaseOrLava(BlockState state, Block baseBlock, HolderSet<Block> replaceableBlocks) protected static booleanSpeleothemUtils.placeBaseBlockIfPossible(LevelAccessor level, BlockPos pos, Block baseBlock, HolderSet<Block> replaceableBlocks) Method parameters in net.minecraft.world.level.levelgen.feature with type arguments of type HolderSetModifier 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) Constructors in net.minecraft.world.level.levelgen.feature with parameters of type HolderSetModifierConstructorDescriptionLargeDripstoneFeature(HolderSet<Block> replaceableBlocks, int floorToCeilingSearchRange, IntProvider columnRadius, FloatProvider heightScale, float maxColumnRadiusToCaveHeightRatio, FloatProvider stalactiteBluntness, FloatProvider stalagmiteBluntness, FloatProvider windSpeed, int minRadiusForWind, float minBluntnessForWind) Creates an instance of aLargeDripstoneFeaturerecord class.MultifaceGrowthFeature(Block placeBlock, int searchRange, boolean canPlaceOnFloor, boolean canPlaceOnCeiling, boolean canPlaceOnWall, float chanceOfSpreading, HolderSet<Block> canBePlacedOn) Creates an instance of aMultifaceGrowthFeaturerecord class.OverlayFeature(HolderSet<PlacedFeature> features) Creates an instance of aOverlayFeaturerecord class.RandomNeighborSpreadFeature(Holder<BlockStateProvider> block, HolderSet<Block> acceptedNeighbors, BlockPredicate canReplace, IntProvider attempts, IntProvider xzOffset, IntProvider yOffset) Creates an instance of aRandomNeighborSpreadFeaturerecord 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.SequenceFeature(HolderSet<PlacedFeature> features) Creates an instance of aSequenceFeaturerecord class.SimpleRandomSelectorFeature(HolderSet<PlacedFeature> features) Creates an instance of aSimpleRandomSelectorFeaturerecord class.SpeleothemClusterFeature(BlockState baseBlock, BlockState pointedBlock, HolderSet<Block> replaceableBlocks, int floorToCeilingSearchRange, IntProvider height, IntProvider radius, int maxStalagmiteStalactiteHeightDiff, int heightDeviation, IntProvider speleothemBlockLayerThickness, FloatProvider density, FloatProvider wetness, float chanceOfSpeleothemAtMaxDistanceFromCenter, int maxDistanceFromEdgeAffectingChanceOfSpeleothem, int maxDistanceFromCenterAffectingHeightBias) Creates an instance of aSpeleothemClusterFeaturerecord class.SpeleothemFeature(BlockState baseBlock, BlockState pointedBlock, HolderSet<Block> replaceableBlocks, float chanceOfTallerGeneration, float chanceOfDirectionalSpread, float chanceOfSpreadRadius2, float chanceOfSpreadRadius3) Creates an instance of aSpeleothemFeaturerecord class.SpringFeature(FluidState state, boolean requiresBlockBelow, int rockCount, int holeCount, HolderSet<Block> validBlocks) Creates an instance of aSpringFeaturerecord 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.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) -
Uses of HolderSet in net.minecraft.world.level.levelgen.feature.rootplacers
Fields in net.minecraft.world.level.levelgen.feature.rootplacers declared as HolderSetModifier and TypeFieldDescriptionMangroveRootPlacement.canGrowThroughThe field for thecanGrowThroughrecord component.MangroveRootPlacement.muddyRootsInThe field for themuddyRootsInrecord component.Methods in net.minecraft.world.level.levelgen.feature.rootplacers that return HolderSetModifier and TypeMethodDescriptionMangroveRootPlacement.canGrowThrough()Returns the value of thecanGrowThroughrecord component.MangroveRootPlacement.muddyRootsIn()Returns the value of themuddyRootsInrecord component.Constructors in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type HolderSetModifierConstructorDescriptionMangroveRootPlacement(HolderSet<Block> canGrowThrough, HolderSet<Block> muddyRootsIn, Holder<BlockStateProvider> muddyRootsProvider, int maxRootWidth, int maxRootLength, float randomSkewChance) Creates an instance of aMangroveRootPlacementrecord class. -
Uses of HolderSet in net.minecraft.world.level.levelgen.feature.stateproviders
Fields in net.minecraft.world.level.levelgen.feature.stateproviders declared as HolderSetModifier and TypeFieldDescriptionRandomBlockProvider.blocksThe field for theblocksrecord component.Methods in net.minecraft.world.level.levelgen.feature.stateproviders that return HolderSetModifier and TypeMethodDescriptionRandomBlockProvider.blocks()Returns the value of theblocksrecord component.Constructors in net.minecraft.world.level.levelgen.feature.stateproviders with parameters of type HolderSetModifierConstructorDescriptionRandomBlockProvider(HolderSet<Block> blocks) Creates an instance of aRandomBlockProviderrecord class. -
Uses of HolderSet in net.minecraft.world.level.levelgen.feature.trunkplacers
Fields in net.minecraft.world.level.levelgen.feature.trunkplacers declared as HolderSetConstructors in net.minecraft.world.level.levelgen.feature.trunkplacers with parameters of type HolderSetModifierConstructorDescriptionUpwardsBranchingTrunkPlacer(int baseHeight, int heightRandA, int heightRandB, IntProvider extraBranchSteps, float placeBranchPerLogProbability, IntProvider extraBranchLength, HolderSet<Block> canGrowThrough) -
Uses of HolderSet in net.minecraft.world.level.levelgen.flat
Fields in net.minecraft.world.level.levelgen.flat with type parameters of type HolderSetModifier and TypeFieldDescriptionprivate final Optional<HolderSet<StructureSet>> FlatLevelGeneratorSettings.structureOverridesMethods in net.minecraft.world.level.levelgen.flat that return types with arguments of type HolderSetMethod parameters in net.minecraft.world.level.levelgen.flat with type arguments of type HolderSetModifier and TypeMethodDescriptionFlatLevelGeneratorSettings.withBiomeAndLayers(List<FlatLayerInfo> layers, Optional<HolderSet<StructureSet>> structureOverrides, Holder<Biome> biome) Constructor parameters in net.minecraft.world.level.levelgen.flat with type arguments of type HolderSetModifierConstructorDescriptionprivateFlatLevelGeneratorSettings(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) -
Uses of HolderSet in net.minecraft.world.level.levelgen.material.condition
Fields in net.minecraft.world.level.levelgen.material.condition declared as HolderSetModifier and TypeFieldDescriptionBiomeCondition.biomesThe field for thebiomesrecord component.Methods in net.minecraft.world.level.levelgen.material.condition that return HolderSetModifier and TypeMethodDescriptionBiomeCondition.biomes()Returns the value of thebiomesrecord component.Constructors in net.minecraft.world.level.levelgen.material.condition with parameters of type HolderSetModifierConstructorDescriptionBiomeCondition(HolderSet<Biome> biomes) Creates an instance of aBiomeConditionrecord class. -
Uses of HolderSet in net.minecraft.world.level.levelgen.placement
Fields in net.minecraft.world.level.levelgen.placement with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HolderSet<PlacedFeature>> PlacedFeature.LIST_CODECstatic final com.mojang.serialization.Codec<List<HolderSet<PlacedFeature>>> PlacedFeature.LIST_OF_LISTS_CODEC -
Uses of HolderSet in net.minecraft.world.level.levelgen.structure
Fields in net.minecraft.world.level.levelgen.structure declared as HolderSetModifier and TypeFieldDescriptionStructure.StructureSettings.biomesThe field for thebiomesrecord component.Structure.StructureSettings.Builder.biomesMethods in net.minecraft.world.level.levelgen.structure that return HolderSetModifier and TypeMethodDescriptionStructure.biomes()Structure.StructureSettings.biomes()Returns the value of thebiomesrecord component.Constructors in net.minecraft.world.level.levelgen.structure with parameters of type HolderSetModifierConstructorDescriptionStructureSettings(HolderSet<Biome> biomes) StructureSettings(HolderSet<Biome> biomes, Map<MobCategory, StructureSpawnOverride> spawnOverrides, GenerationStep.Decoration step, TerrainAdjustment terrainAdaptation) Creates an instance of aStructureSettingsrecord class. -
Uses of HolderSet in net.minecraft.world.level.levelgen.structure.placement
Fields in net.minecraft.world.level.levelgen.structure.placement declared as HolderSetMethods in net.minecraft.world.level.levelgen.structure.placement that return HolderSetMethods in net.minecraft.world.level.levelgen.structure.placement that return types with arguments of type HolderSetModifier and TypeMethodDescriptionprivate static com.mojang.datafixers.Products.P9<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<ConcentricRingsStructurePlacement>, Vec3i, AbstractSpreadingStructurePlacement.FrequencyReductionMethod, Float, Integer, Optional<AbstractSpreadingStructurePlacement.ExclusionZone>, Integer, Integer, Integer, HolderSet<Biome>> ConcentricRingsStructurePlacement.codec(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<ConcentricRingsStructurePlacement> i) Constructors in net.minecraft.world.level.levelgen.structure.placement with parameters of type HolderSetModifierConstructorDescriptionConcentricRingsStructurePlacement(int distance, int spread, int count, HolderSet<Biome> preferredBiomes) ConcentricRingsStructurePlacement(Vec3i locateOffset, AbstractSpreadingStructurePlacement.FrequencyReductionMethod frequencyReductionMethod, float frequency, int salt, Optional<AbstractSpreadingStructurePlacement.ExclusionZone> exclusionZone, int distance, int spread, int count, HolderSet<Biome> preferredBiomes) -
Uses of HolderSet in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem declared as HolderSetModifier and TypeFieldDescriptionProtectedBlockProcessor.cannotReplaceThe field for thecannotReplacerecord component.Fields in net.minecraft.world.level.levelgen.structure.templatesystem with type parameters of type HolderSetMethods in net.minecraft.world.level.levelgen.structure.templatesystem that return HolderSetModifier and TypeMethodDescriptionProtectedBlockProcessor.cannotReplace()Returns the value of thecannotReplacerecord component.Constructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type HolderSetModifierConstructorDescriptionBlockRotProcessor(HolderSet<Block> tag, float integrity) ProtectedBlockProcessor(HolderSet<Block> cannotReplace) Creates an instance of aProtectedBlockProcessorrecord class.Constructor parameters in net.minecraft.world.level.levelgen.structure.templatesystem with type arguments of type HolderSetModifierConstructorDescriptionprivateBlockRotProcessor(Optional<HolderSet<Block>> blockTagKey, float integrity) -
Uses of HolderSet in net.minecraft.world.level.storage.loot
Fields in net.minecraft.world.level.storage.loot with type parameters of type HolderSetMethods in net.minecraft.world.level.storage.loot with parameters of type HolderSetModifier and TypeMethodDescriptionstatic voidValidatable.validateHolderSet(ValidationContext context, String name, HolderSet<? extends Validatable> holderSet) static voidValidatable.validateHolderSet(ValidationContext context, String name, HolderSet<? extends Validatable> holderSet, int minSize) private static voidValidatable.validateHolderSet(ValidationContext context, HolderSet<? extends Validatable> holderSet) -
Uses of HolderSet in net.minecraft.world.level.storage.loot.entries
Fields in net.minecraft.world.level.storage.loot.entries declared as HolderSetMethods in net.minecraft.world.level.storage.loot.entries with parameters of type HolderSetModifier and TypeMethodDescriptionstatic UniformContainerBase.Builder<?> static UniformContainerBase.Builder<?> static UniformContainerBase.Builder<?> TagEntry.tagContents(HolderSet<Item> tag) Constructors in net.minecraft.world.level.storage.loot.entries with parameters of type HolderSetModifierConstructorDescriptionprivateNestedLootTable(HolderSet<LootTable> value, boolean expand, 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) -
Uses of HolderSet in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions declared as HolderSetModifier and TypeFieldDescriptionExplorationMapFunction.Builder.destinationExplorationMapFunction.destinationprivate final HolderSet<LootItemFunction> SequenceFunction.functionsprivate final HolderSet<Instrument> SetInstrumentFunction.optionsFields in net.minecraft.world.level.storage.loot.functions with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HolderSet<LootItemFunction>> LootItemFunctions.LIST_CODECprivate Optional<HolderSet<Enchantment>> EnchantRandomlyFunction.Builder.optionsprivate final Optional<HolderSet<Enchantment>> EnchantRandomlyFunction.optionsprivate Optional<HolderSet<Enchantment>> EnchantWithLevelsFunction.Builder.optionsprivate final Optional<HolderSet<Enchantment>> EnchantWithLevelsFunction.optionsSetRandomPotionFunction.optionsMethods in net.minecraft.world.level.storage.loot.functions with parameters of type HolderSetModifier and TypeMethodDescriptionprivate static BiFunction<ItemStack, LootContext, ItemStack> SequenceFunction.compose(HolderSet<LootItemFunction> functions) static LootItemConditionalFunction.Builder<?> SetRandomPotionFunction.fromTagKey(HolderSet<Potion> tagKey) ExplorationMapFunction.makeExplorationMap(HolderSet<Structure> destination) static LootItemConditionalFunction.Builder<?> SetInstrumentFunction.setInstrumentOptions(HolderSet<Instrument> options) EnchantRandomlyFunction.Builder.withOneOf(HolderSet<Enchantment> enchantments) EnchantRandomlyFunction.Builder.withOptions(HolderSet<Enchantment> enchantments) EnchantWithLevelsFunction.Builder.withOptions(HolderSet<Enchantment> tag) Method parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type HolderSetModifier and TypeMethodDescriptionEnchantWithLevelsFunction.Builder.withOptions(Optional<HolderSet<Enchantment>> options) Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type HolderSetModifierConstructorDescriptionprivateExplorationMapFunction(Optional<Holder<LootItemCondition>> condition, HolderSet<Structure> destination, Holder<MapDecorationType> mapDecoration, byte zoom, int searchRadius, boolean skipKnownStructures) SequenceFunction(Optional<Holder<LootItemCondition>> condition, HolderSet<LootItemFunction> functions) SequenceFunction(HolderSet<LootItemFunction> functions) privateSetInstrumentFunction(Optional<Holder<LootItemCondition>> condition, HolderSet<Instrument> options) -
Uses of HolderSet in net.minecraft.world.level.storage.loot.predicates
Fields in net.minecraft.world.level.storage.loot.predicates declared as HolderSetModifier and TypeFieldDescriptionprotected final HolderSet<LootItemCondition> CompositeLootItemCondition.termsFields in net.minecraft.world.level.storage.loot.predicates with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HolderSet<LootItemCondition>> LootItemCondition.LIST_CODECMethods in net.minecraft.world.level.storage.loot.predicates with parameters of type HolderSetModifier and TypeMethodDescriptionstatic AllOfConditionAllOfCondition.allOf(HolderSet<LootItemCondition> terms) private static Predicate<LootContext> AllOfCondition.combine(HolderSet<LootItemCondition> terms) private static Predicate<LootContext> AnyOfCondition.combine(HolderSet<LootItemCondition> terms) protected LootItemConditionAllOfCondition.Builder.create(HolderSet<LootItemCondition> terms) protected LootItemConditionAnyOfCondition.Builder.create(HolderSet<LootItemCondition> terms) protected abstract LootItemConditionCompositeLootItemCondition.Builder.create(HolderSet<LootItemCondition> terms) protected static List<Predicate<LootContext>> CompositeLootItemCondition.holdersToLazyPredicates(HolderSet<LootItemCondition> terms) Method parameters in net.minecraft.world.level.storage.loot.predicates with type arguments of type HolderSetModifier and TypeMethodDescriptionprotected static <T extends CompositeLootItemCondition>
com.mojang.serialization.MapCodec<T> CompositeLootItemCondition.createCodec(Function<HolderSet<LootItemCondition>, T> factory) Constructors in net.minecraft.world.level.storage.loot.predicates with parameters of type HolderSetModifierConstructorDescriptionprivateAllOfCondition(HolderSet<LootItemCondition> terms) privateAnyOfCondition(HolderSet<LootItemCondition> terms) protectedCompositeLootItemCondition(HolderSet<LootItemCondition> terms, Predicate<LootContext> composedPredicate) -
Uses of HolderSet in net.minecraft.world.level.storage.loot.providers.number
Methods in net.minecraft.world.level.storage.loot.providers.number that return HolderSetMethods in net.minecraft.world.level.storage.loot.providers.number with parameters of type HolderSetMethod parameters in net.minecraft.world.level.storage.loot.providers.number with type arguments of type HolderSetModifier and TypeMethodDescriptionstatic <Value extends Validatable, Self extends AggregateProvider<Value>>
com.mojang.serialization.MapCodec<Self> AggregateProvider.mapCodec(com.mojang.serialization.Codec<HolderSet<Value>> valueCodec, AggregateProvider.Factory<Value, Self> factory) -
Uses of HolderSet in net.minecraft.world.level.storage.loot.providers.number.floats
Fields in net.minecraft.world.level.storage.loot.providers.number.floats declared as HolderSetModifier and TypeFieldDescriptionprivate final HolderSet<ContextFloatProvider> Average.inputsThe field for theinputsrecord component.private final HolderSet<ContextFloatProvider> Length.inputsThe field for theinputsrecord component.private final HolderSet<ContextFloatProvider> Maximum.inputsThe field for theinputsrecord component.private final HolderSet<ContextFloatProvider> Minimum.inputsThe field for theinputsrecord component.private final HolderSet<ContextFloatProvider> Product.inputsThe field for theinputsrecord component.private final HolderSet<ContextFloatProvider> Sum.inputsThe field for theinputsrecord component.Fields in net.minecraft.world.level.storage.loot.providers.number.floats with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HolderSet<ContextFloatProvider>> ContextFloatProviders.LIST_CODECMethods in net.minecraft.world.level.storage.loot.providers.number.floats that return HolderSetModifier and TypeMethodDescriptionAverage.inputs()Returns the value of theinputsrecord component.Length.inputs()Returns the value of theinputsrecord component.Maximum.inputs()Returns the value of theinputsrecord component.Minimum.inputs()Returns the value of theinputsrecord component.Product.inputs()Returns the value of theinputsrecord component.Sum.inputs()Returns the value of theinputsrecord component.Constructors in net.minecraft.world.level.storage.loot.providers.number.floats with parameters of type HolderSetModifierConstructorDescriptionAverage(HolderSet<ContextFloatProvider> inputs) Creates an instance of aAveragerecord class.Length(HolderSet<ContextFloatProvider> inputs) Creates an instance of aLengthrecord class.Maximum(HolderSet<ContextFloatProvider> inputs) Creates an instance of aMaximumrecord class.Minimum(HolderSet<ContextFloatProvider> inputs) Creates an instance of aMinimumrecord class.Product(HolderSet<ContextFloatProvider> inputs) Creates an instance of aProductrecord class.Sum(HolderSet<ContextFloatProvider> inputs) Creates an instance of aSumrecord class. -
Uses of HolderSet in net.minecraft.world.level.storage.loot.providers.number.ints
Fields in net.minecraft.world.level.storage.loot.providers.number.ints declared as HolderSetModifier and TypeFieldDescriptionprivate final HolderSet<ContextIntProvider> Average.inputsThe field for theinputsrecord component.private final HolderSet<ContextIntProvider> Maximum.inputsThe field for theinputsrecord component.private final HolderSet<ContextIntProvider> Minimum.inputsThe field for theinputsrecord component.private final HolderSet<ContextIntProvider> Product.inputsThe field for theinputsrecord component.private final HolderSet<ContextIntProvider> Sum.inputsThe field for theinputsrecord component.Fields in net.minecraft.world.level.storage.loot.providers.number.ints with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HolderSet<ContextIntProvider>> ContextIntProviders.LIST_CODECMethods in net.minecraft.world.level.storage.loot.providers.number.ints that return HolderSetModifier and TypeMethodDescriptionAverage.inputs()Returns the value of theinputsrecord component.Maximum.inputs()Returns the value of theinputsrecord component.Minimum.inputs()Returns the value of theinputsrecord component.Product.inputs()Returns the value of theinputsrecord component.Sum.inputs()Returns the value of theinputsrecord component.Constructors in net.minecraft.world.level.storage.loot.providers.number.ints with parameters of type HolderSetModifierConstructorDescriptionAverage(HolderSet<ContextIntProvider> inputs) Creates an instance of aAveragerecord class.Maximum(HolderSet<ContextIntProvider> inputs) Creates an instance of aMaximumrecord class.Minimum(HolderSet<ContextIntProvider> inputs) Creates an instance of aMinimumrecord class.Product(HolderSet<ContextIntProvider> inputs) Creates an instance of aProductrecord class.Sum(HolderSet<ContextIntProvider> inputs) Creates an instance of aSumrecord class. -
Uses of HolderSet in net.neoforged.neoforge.common.crafting
Fields in net.neoforged.neoforge.common.crafting declared as HolderSetMethods in net.neoforged.neoforge.common.crafting that return HolderSetModifier and TypeMethodDescriptionBlockTagIngredient.dissolve()DataComponentIngredient.itemSet()Methods in net.neoforged.neoforge.common.crafting with parameters of type HolderSetModifier and TypeMethodDescriptionstatic IngredientDataComponentIngredient.of(boolean exhaustive, DataComponentMap map, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic IngredientDataComponentIngredient.of(boolean exhaustive, DataComponentPatch predicate, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsConstructors in net.neoforged.neoforge.common.crafting with parameters of type HolderSetModifierConstructorDescriptionDataComponentIngredient(HolderSet<Item> items, DataComponentPatch components, boolean exhaustive) -
Uses of HolderSet in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world declared as HolderSetModifier and TypeFieldDescriptionBiomeModifiers.AddCarversBiomeModifier.biomesThe field for thebiomesrecord component.BiomeModifiers.AddFeaturesBiomeModifier.biomesThe field for thebiomesrecord component.BiomeModifiers.AddSpawnCostsBiomeModifier.biomesThe field for thebiomesrecord component.BiomeModifiers.AddSpawnsBiomeModifier.biomesThe field for thebiomesrecord component.BiomeModifiers.RemoveCarversBiomeModifier.biomesThe field for thebiomesrecord component.BiomeModifiers.RemoveFeaturesBiomeModifier.biomesThe field for thebiomesrecord component.BiomeModifiers.RemoveSpawnCostsBiomeModifier.biomesThe field for thebiomesrecord component.BiomeModifiers.RemoveSpawnsBiomeModifier.biomesThe field for thebiomesrecord component.StructureSettingsBuilder.biomesprivate final HolderSet<WorldCarver> BiomeModifiers.AddCarversBiomeModifier.carversThe field for thecarversrecord component.private final HolderSet<WorldCarver> BiomeModifiers.RemoveCarversBiomeModifier.carversThe field for thecarversrecord component.private final HolderSet<EntityType<?>> BiomeModifiers.AddSpawnCostsBiomeModifier.entityTypesThe field for theentityTypesrecord component.private final HolderSet<EntityType<?>> BiomeModifiers.RemoveSpawnCostsBiomeModifier.entityTypesThe field for theentityTypesrecord component.private final HolderSet<EntityType<?>> BiomeModifiers.RemoveSpawnsBiomeModifier.entityTypesThe field for theentityTypesrecord component.private final HolderSet<EntityType<?>> StructureModifiers.RemoveSpawnsStructureModifier.entityTypesThe field for theentityTypesrecord component.private final HolderSet<PlacedFeature> BiomeModifiers.AddFeaturesBiomeModifier.featuresThe field for thefeaturesrecord component.private final HolderSet<PlacedFeature> BiomeModifiers.RemoveFeaturesBiomeModifier.featuresThe field for thefeaturesrecord component.StructureModifiers.AddSpawnsStructureModifier.structuresThe field for thestructuresrecord component.StructureModifiers.ClearSpawnsStructureModifier.structuresThe field for thestructuresrecord component.StructureModifiers.RemoveSpawnsStructureModifier.structuresThe field for thestructuresrecord component.Fields in net.neoforged.neoforge.common.world with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<HolderSet<BiomeModifier>> BiomeModifier.LIST_CODECCodec for referring to biome modifiers by id, list of id, or tags.static final com.mojang.serialization.Codec<HolderSet<StructureModifier>> StructureModifier.LIST_CODECCodec for referring to structure modifiers by id, list of id, or tags.Methods in net.neoforged.neoforge.common.world that return HolderSetModifier and TypeMethodDescriptionBiomeModifiers.AddCarversBiomeModifier.biomes()Returns the value of thebiomesrecord component.BiomeModifiers.AddFeaturesBiomeModifier.biomes()Returns the value of thebiomesrecord component.BiomeModifiers.AddSpawnCostsBiomeModifier.biomes()Returns the value of thebiomesrecord component.BiomeModifiers.AddSpawnsBiomeModifier.biomes()Returns the value of thebiomesrecord component.BiomeModifiers.RemoveCarversBiomeModifier.biomes()Returns the value of thebiomesrecord component.BiomeModifiers.RemoveFeaturesBiomeModifier.biomes()Returns the value of thebiomesrecord component.BiomeModifiers.RemoveSpawnCostsBiomeModifier.biomes()Returns the value of thebiomesrecord component.BiomeModifiers.RemoveSpawnsBiomeModifier.biomes()Returns the value of thebiomesrecord component.BiomeModifiers.AddCarversBiomeModifier.carvers()Returns the value of thecarversrecord component.BiomeModifiers.RemoveCarversBiomeModifier.carvers()Returns the value of thecarversrecord component.HolderSet<EntityType<?>> BiomeModifiers.AddSpawnCostsBiomeModifier.entityTypes()Returns the value of theentityTypesrecord component.HolderSet<EntityType<?>> BiomeModifiers.RemoveSpawnCostsBiomeModifier.entityTypes()Returns the value of theentityTypesrecord component.HolderSet<EntityType<?>> BiomeModifiers.RemoveSpawnsBiomeModifier.entityTypes()Returns the value of theentityTypesrecord component.HolderSet<EntityType<?>> StructureModifiers.RemoveSpawnsStructureModifier.entityTypes()Returns the value of theentityTypesrecord component.BiomeModifiers.AddFeaturesBiomeModifier.features()Returns the value of thefeaturesrecord component.BiomeModifiers.RemoveFeaturesBiomeModifier.features()Returns the value of thefeaturesrecord component.StructureSettingsBuilder.getBiomes()StructureModifiers.AddSpawnsStructureModifier.structures()Returns the value of thestructuresrecord component.StructureModifiers.ClearSpawnsStructureModifier.structures()Returns the value of thestructuresrecord component.StructureModifiers.RemoveSpawnsStructureModifier.structures()Returns the value of thestructuresrecord component.Methods in net.neoforged.neoforge.common.world with parameters of type HolderSetModifier and TypeMethodDescriptionBiomeModifiers.RemoveFeaturesBiomeModifier.allSteps(HolderSet<Biome> biomes, HolderSet<PlacedFeature> features) Creates a modifier that removes the given features from all decoration steps in the given biomes.voidBiomeModifiers.AddSpawnsBiomeModifier.singleSpawn(HolderSet<Biome> biomes, Weighted<MobSpawnSettings.SpawnerData> spawner) Convenience method for using a single MobSpawnSettings.SpawnerDatas.StructureModifiers.AddSpawnsStructureModifier.singleSpawn(HolderSet<Structure> structures, Weighted<MobSpawnSettings.SpawnerData> spawner) Convenience method for using a singleMobSpawnSettings.SpawnerData.Constructors in net.neoforged.neoforge.common.world with parameters of type HolderSetModifierConstructorDescriptionAddCarversBiomeModifier(HolderSet<Biome> biomes, HolderSet<WorldCarver> carvers) Creates an instance of aAddCarversBiomeModifierrecord class.AddFeaturesBiomeModifier(HolderSet<Biome> biomes, HolderSet<PlacedFeature> features, GenerationStep.Decoration step) Creates an instance of aAddFeaturesBiomeModifierrecord class.AddSpawnCostsBiomeModifier(HolderSet<Biome> biomes, HolderSet<EntityType<?>> entityTypes, MobSpawnSettings.MobSpawnCost spawnCost) Creates an instance of aAddSpawnCostsBiomeModifierrecord class.AddSpawnsBiomeModifier(HolderSet<Biome> biomes, WeightedList<MobSpawnSettings.SpawnerData> spawners) Creates an instance of aAddSpawnsBiomeModifierrecord class.AddSpawnsStructureModifier(HolderSet<Structure> structures, WeightedList<MobSpawnSettings.SpawnerData> spawners) Creates an instance of aAddSpawnsStructureModifierrecord class.ClearSpawnsStructureModifier(HolderSet<Structure> structures, Set<MobCategory> categories) Creates an instance of aClearSpawnsStructureModifierrecord class.RemoveCarversBiomeModifier(HolderSet<Biome> biomes, HolderSet<WorldCarver> carvers) Creates an instance of aRemoveCarversBiomeModifierrecord class.RemoveFeaturesBiomeModifier(HolderSet<Biome> biomes, HolderSet<PlacedFeature> features, Set<GenerationStep.Decoration> steps) Creates an instance of aRemoveFeaturesBiomeModifierrecord class.RemoveSpawnCostsBiomeModifier(HolderSet<Biome> biomes, HolderSet<EntityType<?>> entityTypes) Creates an instance of aRemoveSpawnCostsBiomeModifierrecord class.RemoveSpawnsBiomeModifier(HolderSet<Biome> biomes, HolderSet<EntityType<?>> entityTypes) Creates an instance of aRemoveSpawnsBiomeModifierrecord class.RemoveSpawnsStructureModifier(HolderSet<Structure> structures, HolderSet<EntityType<?>> entityTypes) Creates an instance of aRemoveSpawnsStructureModifierrecord class.privateStructureSettingsBuilder(HolderSet<Biome> biomes, Map<MobCategory, StructureSpawnOverride> spawnOverrides, GenerationStep.Decoration step, TerrainAdjustment terrainAdaptation) -
Uses of HolderSet in net.neoforged.neoforge.fluids
Methods in net.neoforged.neoforge.fluids with parameters of type HolderSet -
Uses of HolderSet in net.neoforged.neoforge.fluids.crafting
Fields in net.neoforged.neoforge.fluids.crafting declared as HolderSetModifier and TypeFieldDescriptionDataComponentFluidIngredient.fluidsSimpleFluidIngredient.valuesFields in net.neoforged.neoforge.fluids.crafting with type parameters of type HolderSetMethods in net.neoforged.neoforge.fluids.crafting that return HolderSetModifier and TypeMethodDescriptionDataComponentFluidIngredient.fluidSet()SimpleFluidIngredient.fluidSet()Methods in net.neoforged.neoforge.fluids.crafting with parameters of type HolderSetModifier and TypeMethodDescriptionstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentExactPredicate predicate, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientDataComponentFluidIngredient.of(boolean strict, DataComponentMap map, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredientConstructors in net.neoforged.neoforge.fluids.crafting with parameters of type HolderSetModifierConstructorDescriptionDataComponentFluidIngredient(HolderSet<Fluid> fluids, DataComponentExactPredicate components, boolean strict) SimpleFluidIngredient(HolderSet<Fluid> values) -
Uses of HolderSet in net.neoforged.neoforge.registries.holdersets
Subinterfaces of HolderSet in net.neoforged.neoforge.registries.holdersetsModifier and TypeInterfaceDescriptioninterfaceInterface for mods' custom holderset typesClasses in net.neoforged.neoforge.registries.holdersets that implement HolderSetModifier and TypeClassDescriptionclassAndHolderSet<T>Holderset that represents an intersection of other holdersets.final recordAnyHolderSet<T>Holderset that represents all elements of a registry.classComposite holdersets have component holdersets and possibly owner holdersets (which have this holderset as a component).classNotHolderSet<T>Holderset that represents all elements of a registry not present in another holderset. neoforge:exclusion is preferable when the number of allowed elements is small relative to the size of the registry.classOrHolderSet<T>Holderset that represents a union of other holdersets.Fields in net.neoforged.neoforge.registries.holdersets declared as HolderSetFields in net.neoforged.neoforge.registries.holdersets with type parameters of type HolderSetMethods in net.neoforged.neoforge.registries.holdersets that return HolderSetMethods in net.neoforged.neoforge.registries.holdersets that return types with arguments of type HolderSetModifier and TypeMethodDescriptionCompositeHolderSet.getComponents()CompositeHolderSet.homogenize()Maps the sub-holdersets of this composite such that, if the list contains more than one element, and is non-homogenous, each element of the list will serialize as an object.Constructors in net.neoforged.neoforge.registries.holdersets with parameters of type HolderSetModifierConstructorDescriptionAndHolderSet(HolderSet<T>... values) NotHolderSet(HolderLookup.RegistryLookup<T> registryLookup, HolderSet<T> value) OrHolderSet(HolderSet<T>... values) Constructor parameters in net.neoforged.neoforge.registries.holdersets with type arguments of type HolderSetModifierConstructorDescriptionAndHolderSet(List<HolderSet<T>> values) CompositeHolderSet(List<HolderSet<T>> components) OrHolderSet(List<HolderSet<T>> values)
IItemStackExtension.supportsEnchantment(Holder)