Uses of Interface
net.minecraft.core.HolderSet
Packages that use HolderSet
Package
Description
-
Uses of HolderSet in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as HolderSetModifier and TypeFieldDescriptionItemPotionsPredicate.potions
The field for thepotions
record component.private final HolderSet
<EntityType<?>> EntityTypePredicate.types
The field for thetypes
record component.EntitySubPredicates.EntityHolderVariantPredicateType.Instance.variants
Fields in net.minecraft.advancements.critereon with type parameters of type HolderSetModifier and TypeFieldDescriptionItemAttributeModifiersPredicate.EntryPredicate.attribute
The field for theattribute
record component.LocationPredicate.biomes
The field for thebiomes
record component.LocationPredicate.Builder.biomes
BlockPredicate.blocks
The field for theblocks
record component.BlockPredicate.Builder.blocks
private final Optional
<HolderSet<Enchantment>> EnchantmentPredicate.enchantments
The field for theenchantments
record component.FluidPredicate.Builder.fluids
FluidPredicate.fluids
The field for thefluids
record component.ItemPredicate.Builder.items
ItemPredicate.items
The field for theitems
record component.private final Optional
<HolderSet<TrimMaterial>> ItemTrimPredicate.material
The field for thematerial
record component.private final Optional
<HolderSet<TrimPattern>> ItemTrimPredicate.pattern
The field for thepattern
record component.private final Optional
<HolderSet<JukeboxSong>> ItemJukeboxPlayablePredicate.song
The field for thesong
record component.LocationPredicate.Builder.structures
LocationPredicate.structures
The field for thestructures
record component.Methods in net.minecraft.advancements.critereon that return HolderSetModifier and TypeMethodDescriptionItemPotionsPredicate.potions()
Returns the value of thepotions
record component.HolderSet
<EntityType<?>> EntityTypePredicate.types()
Returns the value of thetypes
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type HolderSetModifier and TypeMethodDescriptionItemAttributeModifiersPredicate.EntryPredicate.attribute()
Returns the value of theattribute
record component.LocationPredicate.biomes()
Returns the value of thebiomes
record component.BlockPredicate.blocks()
Returns the value of theblocks
record component.EnchantmentPredicate.enchantments()
Returns the value of theenchantments
record component.FluidPredicate.fluids()
Returns the value of thefluids
record component.ItemPredicate.items()
Returns the value of theitems
record component.ItemTrimPredicate.material()
Returns the value of thematerial
record component.ItemTrimPredicate.pattern()
Returns the value of thepattern
record component.ItemJukeboxPlayablePredicate.song()
Returns the value of thesong
record component.LocationPredicate.structures()
Returns the value of thestructures
record component.Methods in net.minecraft.advancements.critereon with parameters of type HolderSetModifier and TypeMethodDescriptionEntitySubPredicates.EntityHolderVariantPredicateType.createPredicate
(HolderSet<V> p_335847_) static ItemSubPredicate
LocationPredicate.Builder.setStructures
(HolderSet<Structure> p_332189_) static EntitySubPredicate
EntitySubPredicates.wolfVariant
(HolderSet<WolfVariant> p_341342_) Constructors in net.minecraft.advancements.critereon with parameters of type HolderSetModifierConstructorDescriptionEnchantmentPredicate
(HolderSet<Enchantment> p_346051_, MinMaxBounds.Ints p_30472_) EntityTypePredicate
(HolderSet<EntityType<?>> types) Creates an instance of aEntityTypePredicate
record class.(package private)
ItemPotionsPredicate
(HolderSet<Potion> potions) Creates an instance of aItemPotionsPredicate
record class.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type HolderSetModifierConstructorDescriptionBlockPredicate
(Optional<HolderSet<Block>> blocks, Optional<StatePropertiesPredicate> properties, Optional<NbtPredicate> nbt) Creates an instance of aBlockPredicate
record class.EnchantmentPredicate
(Optional<HolderSet<Enchantment>> enchantments, MinMaxBounds.Ints level) Creates an instance of aEnchantmentPredicate
record class.EntryPredicate
(Optional<HolderSet<Attribute>> attribute, Optional<ResourceLocation> id, MinMaxBounds.Doubles amount, Optional<AttributeModifier.Operation> operation, Optional<EquipmentSlotGroup> slot) Creates an instance of aEntryPredicate
record class.FluidPredicate
(Optional<HolderSet<Fluid>> fluids, Optional<StatePropertiesPredicate> properties) Creates an instance of aFluidPredicate
record class.Creates an instance of aItemJukeboxPlayablePredicate
record class.ItemPredicate
(Optional<HolderSet<Item>> items, MinMaxBounds.Ints count, DataComponentPredicate components, Map<ItemSubPredicate.Type<?>, ItemSubPredicate> subPredicates) Creates an instance of aItemPredicate
record class.ItemTrimPredicate
(Optional<HolderSet<TrimMaterial>> material, Optional<HolderSet<TrimPattern>> pattern) Creates an instance of aItemTrimPredicate
record class. -
Uses of HolderSet in net.minecraft.commands.arguments.blocks
Fields in net.minecraft.commands.arguments.blocks declared as HolderSetModifier and TypeFieldDescriptionBlockPredicateArgument.TagPredicate.tag
BlockStateParser.tag
BlockStateParser.TagResult.tag
The field for thetag
record component.Methods in net.minecraft.commands.arguments.blocks that return HolderSetModifier and TypeMethodDescriptionBlockStateParser.TagResult.tag()
Returns the value of thetag
record component.Constructors in net.minecraft.commands.arguments.blocks with parameters of type HolderSetModifierConstructorDescription(package private)
TagPredicate
(HolderSet<Block> p_234637_, Map<String, String> p_234638_, CompoundTag p_234639_) Creates an instance of aTagResult
record class. -
Uses of HolderSet in net.minecraft.core
Classes in net.minecraft.core that implement HolderSetModifier and TypeClassDescriptionstatic final class
static class
static class
Methods in net.minecraft.core that return HolderSetMethods in net.minecraft.core that return types with arguments of type HolderSetModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206278_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206311_, boolean p_206312_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206280_, com.mojang.serialization.Codec<E> p_206281_) static <E> com.mojang.serialization.Codec
<HolderSet<E>> RegistryCodecs.homogeneousList
(ResourceKey<? extends Registry<E>> p_206288_, com.mojang.serialization.Codec<E> p_206289_, boolean p_206290_) -
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>> p_332137_) -
Uses of HolderSet in net.minecraft.resources
Methods in net.minecraft.resources that return types with arguments of type HolderSetModifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec
<HolderSet<E>> HolderSetCodec.create
(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) HolderSetCodec.decode
(com.mojang.serialization.DynamicOps<T> p_206696_, T p_206697_) HolderSetCodec.decodeWithoutRegistry
(com.mojang.serialization.DynamicOps<T> p_206671_, T p_206672_) private static <E> com.mojang.serialization.DataResult
<HolderSet<E>> HolderSetCodec.lookupTag
(HolderGetter<E> p_332757_, TagKey<E> p_332743_) Methods in net.minecraft.resources with parameters of type HolderSetModifier and TypeMethodDescription<T> com.mojang.serialization.DataResult
<T> HolderSetCodec.encode
(HolderSet<E> p_206674_, com.mojang.serialization.DynamicOps<T> p_206675_, T p_206676_) private <T> com.mojang.serialization.DataResult
<T> HolderSetCodec.encodeWithoutRegistry
(HolderSet<E> p_206690_, com.mojang.serialization.DynamicOps<T> p_206691_, T p_206692_) -
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>> p_203983_) 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>> p_203983_) -
Uses of HolderSet in net.minecraft.world.entity
Methods in net.minecraft.world.entity with parameters of type HolderSet -
Uses of HolderSet in net.minecraft.world.entity.animal
Fields in net.minecraft.world.entity.animal declared as HolderSetMethods in net.minecraft.world.entity.animal that return HolderSetMethods in net.minecraft.world.entity.animal with parameters of type HolderSetModifier and TypeMethodDescription(package private) static void
WolfVariants.register
(BootstrapContext<WolfVariant> p_333853_, ResourceKey<WolfVariant> p_333874_, String p_333924_, HolderSet<Biome> p_333998_) Constructors in net.minecraft.world.entity.animal with parameters of type HolderSetModifierConstructorDescriptionWolfVariant
(ResourceLocation p_332712_, ResourceLocation p_332714_, ResourceLocation p_332788_, HolderSet<Biome> p_332717_) -
Uses of HolderSet in net.minecraft.world.item
Methods in net.minecraft.world.item with parameters of type HolderSet -
Uses of HolderSet in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as HolderSetMethods in net.minecraft.world.item.component that return HolderSetModifier and TypeMethodDescriptionTool.Rule.blocks()
Returns the value of theblocks
record component.Constructors in net.minecraft.world.item.component with parameters of type HolderSet -
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.exclusiveSet
private final HolderSet
<Enchantment> Enchantment.exclusiveSet
The field for theexclusiveSet
record component.Enchantment.EnchantmentDefinition.supportedItems
The field for thesupportedItems
record component.Fields in net.minecraft.world.item.enchantment with type parameters of type HolderSetModifier and TypeFieldDescriptionEnchantment.EnchantmentDefinition.primaryItems
The field for theprimaryItems
record component.Methods in net.minecraft.world.item.enchantment that return HolderSetModifier and TypeMethodDescriptionEnchantment.exclusiveSet()
Returns the value of theexclusiveSet
record component.Enchantment.getSupportedItems()
Deprecated.private static <T> HolderSet
<T> ItemEnchantments.getTagOrEmpty
(HolderLookup.Provider p_341186_, ResourceKey<Registry<T>> p_341113_, TagKey<T> p_341409_) Enchantment.EnchantmentDefinition.supportedItems()
Returns the value of thesupportedItems
record component.Methods in net.minecraft.world.item.enchantment that return types with arguments of type HolderSetModifier and TypeMethodDescriptionEnchantment.EnchantmentDefinition.primaryItems()
Returns the value of theprimaryItems
record component.Methods in net.minecraft.world.item.enchantment with parameters of type HolderSetModifier and TypeMethodDescriptionEnchantment.definition
(HolderSet<Item> p_345097_, int p_335557_, int p_336051_, Enchantment.Cost p_336176_, Enchantment.Cost p_335380_, int p_335569_, EquipmentSlotGroup... p_345444_) Enchantment.definition
(HolderSet<Item> p_345738_, HolderSet<Item> p_345428_, int p_335506_, int p_335598_, Enchantment.Cost p_336185_, Enchantment.Cost p_335768_, int p_335409_, EquipmentSlotGroup... p_344907_) Enchantment.Builder.exclusiveWith
(HolderSet<Enchantment> p_346264_) Method parameters in net.minecraft.world.item.enchantment with type arguments of type HolderSetModifier and TypeMethodDescriptionstatic ItemStack
EnchantmentHelper.enchantItem
(RandomSource p_346328_, ItemStack p_346267_, int p_345272_, RegistryAccess p_345660_, Optional<? extends HolderSet<Enchantment>> p_345161_) 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 aEnchantment
record 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 aEnchantmentDefinition
record 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 aEnchantmentDefinition
record 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.entityTypes
The field for theentityTypes
record component.ApplyMobEffect.toApply
The field for thetoApply
record component.Fields in net.minecraft.world.item.enchantment.effects with type parameters of type HolderSetModifier and TypeFieldDescriptionExplodeEffect.immuneBlocks
The field for theimmuneBlocks
record component.Methods in net.minecraft.world.item.enchantment.effects that return HolderSetModifier and TypeMethodDescriptionHolderSet
<EntityType<?>> SummonEntityEffect.entityTypes()
Returns the value of theentityTypes
record component.ApplyMobEffect.toApply()
Returns the value of thetoApply
record component.Methods in net.minecraft.world.item.enchantment.effects that return types with arguments of type HolderSetModifier and TypeMethodDescriptionExplodeEffect.immuneBlocks()
Returns the value of theimmuneBlocks
record 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 aApplyMobEffect
record class.SummonEntityEffect
(HolderSet<EntityType<?>> entityTypes, boolean joinTeam) Creates an instance of aSummonEntityEffect
record 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.enchantments
The field for theenchantments
record component.private final HolderSet
<Enchantment> EnchantmentsByCostWithDifficulty.enchantments
The field for theenchantments
record component.Methods in net.minecraft.world.item.enchantment.providers that return HolderSetModifier and TypeMethodDescriptionEnchantmentsByCost.enchantments()
Returns the value of theenchantments
record component.EnchantmentsByCostWithDifficulty.enchantments()
Returns the value of theenchantments
record component.Constructors in net.minecraft.world.item.enchantment.providers with parameters of type HolderSetModifierConstructorDescriptionEnchantmentsByCost
(HolderSet<Enchantment> enchantments, IntProvider cost) Creates an instance of aEnchantmentsByCost
record class.EnchantmentsByCostWithDifficulty
(HolderSet<Enchantment> enchantments, int minCost, int maxCostSpan) Creates an instance of aEnchantmentsByCostWithDifficulty
record 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.getStructureWithPieceAt
(BlockPos p_331369_, HolderSet<Structure> p_330290_) -
Uses of HolderSet in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome declared as HolderSetFields in net.minecraft.world.level.biome with type parameters of type HolderSetModifier and TypeFieldDescriptionprivate final Map
<GenerationStep.Carving, HolderSet<ConfiguredWorldCarver<?>>> BiomeGenerationSettings.carvers
private final List
<HolderSet<PlacedFeature>> BiomeGenerationSettings.features
Biome.LIST_CODEC
Methods 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> p_220604_, Function<T, List<HolderSet<PlacedFeature>>> p_220605_, boolean p_220606_) Constructors in net.minecraft.world.level.biome with parameters of type HolderSetModifierConstructorDescriptionCheckerboardColumnBiomeSource
(HolderSet<Biome> p_204243_, int p_204244_) Constructor parameters in net.minecraft.world.level.biome with type arguments of type HolderSetModifierConstructorDescriptionBiomeGenerationSettings
(Map<GenerationStep.Carving, HolderSet<ConfiguredWorldCarver<?>>> p_186650_, List<HolderSet<PlacedFeature>> p_186651_) BiomeGenerationSettings
(Map<GenerationStep.Carving, HolderSet<ConfiguredWorldCarver<?>>> p_186650_, List<HolderSet<PlacedFeature>> p_186651_) -
Uses of HolderSet in net.minecraft.world.level.block.state
Methods in net.minecraft.world.level.block.state with parameters of type HolderSet -
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 p_223038_, HolderSet<Structure> p_223039_, BlockPos p_223040_, int p_223041_, boolean p_223042_) -
Uses of HolderSet in net.minecraft.world.level.levelgen.blockpredicates
Fields in net.minecraft.world.level.levelgen.blockpredicates declared as HolderSetConstructors in net.minecraft.world.level.levelgen.blockpredicates with parameters of type HolderSetModifierConstructorDescriptionMatchingBlocksPredicate
(Vec3i p_204690_, HolderSet<Block> p_204691_) MatchingFluidsPredicate
(Vec3i p_204695_, HolderSet<Fluid> p_204696_) -
Uses of HolderSet in net.minecraft.world.level.levelgen.carver
Fields in net.minecraft.world.level.levelgen.carver declared as HolderSetFields in net.minecraft.world.level.levelgen.carver with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<HolderSet<ConfiguredWorldCarver<?>>> ConfiguredWorldCarver.LIST_CODEC
Constructors in net.minecraft.world.level.levelgen.carver with parameters of type HolderSetModifierConstructorDescriptionCanyonCarverConfiguration
(float p_224788_, HeightProvider p_224789_, FloatProvider p_224790_, VerticalAnchor p_224791_, CarverDebugSettings p_224792_, HolderSet<Block> p_224793_, FloatProvider p_224794_, CanyonCarverConfiguration.CanyonShapeConfiguration p_224795_) CarverConfiguration
(float p_224832_, HeightProvider p_224833_, FloatProvider p_224834_, VerticalAnchor p_224835_, CarverDebugSettings p_224836_, HolderSet<Block> p_224837_) CaveCarverConfiguration
(float p_224863_, HeightProvider p_224864_, FloatProvider p_224865_, VerticalAnchor p_224866_, HolderSet<Block> p_224867_, FloatProvider p_224868_, FloatProvider p_224869_, FloatProvider p_224870_) CaveCarverConfiguration
(float p_224853_, HeightProvider p_224854_, FloatProvider p_224855_, VerticalAnchor p_224856_, CarverDebugSettings p_224857_, HolderSet<Block> p_224858_, FloatProvider p_224859_, FloatProvider p_224860_, FloatProvider p_224861_) -
Uses of HolderSet in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature with type parameters of type HolderSetModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<HolderSet<ConfiguredFeature<?, ?>>> ConfiguredFeature.LIST_CODEC
-
Uses of HolderSet in net.minecraft.world.level.levelgen.feature.configurations
Fields in net.minecraft.world.level.levelgen.feature.configurations declared as HolderSetModifier and TypeFieldDescriptionMultifaceGrowthConfiguration.canBePlacedOn
final HolderSet
<PlacedFeature> SimpleRandomFeatureConfiguration.features
SpringConfiguration.validBlocks
Constructors in net.minecraft.world.level.levelgen.feature.configurations with parameters of type HolderSetModifierConstructorDescriptionMultifaceGrowthConfiguration
(MultifaceBlock p_225392_, int p_225393_, boolean p_225394_, boolean p_225395_, boolean p_225396_, float p_225397_, HolderSet<Block> p_225398_) SimpleRandomFeatureConfiguration
(HolderSet<PlacedFeature> p_204842_) SpringConfiguration
(FluidState p_204848_, boolean p_204849_, int p_204850_, int p_204851_, HolderSet<Block> p_204852_) -
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.canGrowThrough
The field for thecanGrowThrough
record component.MangroveRootPlacement.muddyRootsIn
The field for themuddyRootsIn
record component.Methods in net.minecraft.world.level.levelgen.feature.rootplacers that return HolderSetModifier and TypeMethodDescriptionMangroveRootPlacement.canGrowThrough()
Returns the value of thecanGrowThrough
record component.MangroveRootPlacement.muddyRootsIn()
Returns the value of themuddyRootsIn
record component.Constructors in net.minecraft.world.level.levelgen.feature.rootplacers with parameters of type HolderSetModifierConstructorDescriptionMangroveRootPlacement
(HolderSet<Block> canGrowThrough, HolderSet<Block> muddyRootsIn, BlockStateProvider muddyRootsProvider, int maxRootWidth, int maxRootLength, float randomSkewChance) Creates an instance of aMangroveRootPlacement
record 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 p_226201_, int p_226202_, int p_226203_, IntProvider p_226204_, float p_226205_, IntProvider p_226206_, HolderSet<Block> p_226207_) -
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.structureOverrides
Methods 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> p_256587_, Optional<HolderSet<StructureSet>> p_256500_, Holder<Biome> p_256598_) Constructor parameters in net.minecraft.world.level.levelgen.flat with type arguments of type HolderSetModifierConstructorDescriptionprivate
FlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_256456_, List<FlatLayerInfo> p_255826_, boolean p_255740_, boolean p_255726_, Optional<Holder<Biome>> p_256292_, Holder.Reference<Biome> p_255964_, Holder<PlacedFeature> p_256419_, Holder<PlacedFeature> p_255710_) FlatLevelGeneratorSettings
(Optional<HolderSet<StructureSet>> p_256029_, Holder<Biome> p_256190_, List<Holder<PlacedFeature>> p_255960_) -
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_CODEC
static 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.biomes
The field for thebiomes
record component.Structure.StructureSettings.Builder.biomes
Methods in net.minecraft.world.level.levelgen.structure that return HolderSetModifier and TypeMethodDescriptionStructure.biomes()
Structure.StructureSettings.biomes()
Returns the value of thebiomes
record component.Constructors in net.minecraft.world.level.levelgen.structure with parameters of type HolderSetModifierConstructorDescriptionStructureSettings
(HolderSet<Biome> p_352235_) StructureSettings
(HolderSet<Biome> biomes, Map<MobCategory, StructureSpawnOverride> spawnOverrides, GenerationStep.Decoration step, TerrainAdjustment terrainAdaptation) Creates an instance of aStructureSettings
record 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, StructurePlacement.FrequencyReductionMethod, Float, Integer, Optional<StructurePlacement.ExclusionZone>, Integer, Integer, Integer, HolderSet<Biome>> ConcentricRingsStructurePlacement.codec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<ConcentricRingsStructurePlacement> p_226997_) Constructors in net.minecraft.world.level.levelgen.structure.placement with parameters of type HolderSetModifierConstructorDescriptionConcentricRingsStructurePlacement
(int p_226976_, int p_226977_, int p_226978_, HolderSet<Biome> p_226979_) ConcentricRingsStructurePlacement
(Vec3i p_226981_, StructurePlacement.FrequencyReductionMethod p_226982_, float p_226983_, int p_226984_, Optional<StructurePlacement.ExclusionZone> p_226985_, int p_226986_, int p_226987_, int p_226988_, HolderSet<Biome> p_226989_) -
Uses of HolderSet in net.minecraft.world.level.levelgen.structure.templatesystem
Fields in net.minecraft.world.level.levelgen.structure.templatesystem with type parameters of type HolderSetConstructors in net.minecraft.world.level.levelgen.structure.templatesystem with parameters of type HolderSetConstructor parameters in net.minecraft.world.level.levelgen.structure.templatesystem with type arguments of type HolderSetModifierConstructorDescriptionprivate
BlockRotProcessor
(Optional<HolderSet<Block>> p_230284_, float p_230285_) -
Uses of HolderSet in net.minecraft.world.level.material
Methods in net.minecraft.world.level.material with parameters of type HolderSet -
Uses of HolderSet in net.minecraft.world.level.storage.loot.functions
Fields in net.minecraft.world.level.storage.loot.functions with type parameters of type HolderSetModifier and TypeFieldDescriptionprivate Optional
<HolderSet<Enchantment>> EnchantRandomlyFunction.Builder.options
private final Optional
<HolderSet<Enchantment>> EnchantRandomlyFunction.options
private Optional
<HolderSet<Enchantment>> EnchantWithLevelsFunction.Builder.options
private final Optional
<HolderSet<Enchantment>> EnchantWithLevelsFunction.options
Methods in net.minecraft.world.level.storage.loot.functions with parameters of type HolderSetModifier and TypeMethodDescriptionEnchantWithLevelsFunction.Builder.fromOptions
(HolderSet<Enchantment> p_345342_) EnchantRandomlyFunction.Builder.withOneOf
(HolderSet<Enchantment> p_345384_) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type HolderSetModifierConstructorDescription(package private)
EnchantRandomlyFunction
(List<LootItemCondition> p_299014_, Optional<HolderSet<Enchantment>> p_298965_, boolean p_344945_) (package private)
EnchantWithLevelsFunction
(List<LootItemCondition> p_298580_, NumberProvider p_165194_, Optional<HolderSet<Enchantment>> p_345769_) -
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 HolderSetMethods in net.neoforged.neoforge.common.crafting with parameters of type HolderSetModifier and TypeMethodDescriptionstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentMap map, HolderSet<Item> items) Creates a new ingredient matching any item from the list, containing the given componentsstatic Ingredient
DataComponentIngredient.of
(boolean strict, DataComponentPredicate 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, DataComponentPredicate components, boolean strict) -
Uses of HolderSet in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world declared as HolderSetModifier and TypeFieldDescriptionBiomeModifiers.AddCarversBiomeModifier.biomes
The field for thebiomes
record component.BiomeModifiers.AddFeaturesBiomeModifier.biomes
The field for thebiomes
record component.BiomeModifiers.AddSpawnCostsBiomeModifier.biomes
The field for thebiomes
record component.BiomeModifiers.AddSpawnsBiomeModifier.biomes
The field for thebiomes
record component.BiomeModifiers.RemoveCarversBiomeModifier.biomes
The field for thebiomes
record component.BiomeModifiers.RemoveFeaturesBiomeModifier.biomes
The field for thebiomes
record component.BiomeModifiers.RemoveSpawnCostsBiomeModifier.biomes
The field for thebiomes
record component.BiomeModifiers.RemoveSpawnsBiomeModifier.biomes
The field for thebiomes
record component.StructureSettingsBuilder.biomes
private final HolderSet
<ConfiguredWorldCarver<?>> BiomeModifiers.AddCarversBiomeModifier.carvers
The field for thecarvers
record component.private final HolderSet
<ConfiguredWorldCarver<?>> BiomeModifiers.RemoveCarversBiomeModifier.carvers
The field for thecarvers
record component.private final HolderSet
<EntityType<?>> BiomeModifiers.AddSpawnCostsBiomeModifier.entityTypes
The field for theentityTypes
record component.private final HolderSet
<EntityType<?>> BiomeModifiers.RemoveSpawnCostsBiomeModifier.entityTypes
The field for theentityTypes
record component.private final HolderSet
<EntityType<?>> BiomeModifiers.RemoveSpawnsBiomeModifier.entityTypes
The field for theentityTypes
record component.private final HolderSet
<EntityType<?>> StructureModifiers.RemoveSpawnsStructureModifier.entityTypes
The field for theentityTypes
record component.private final HolderSet
<PlacedFeature> BiomeModifiers.AddFeaturesBiomeModifier.features
The field for thefeatures
record component.private final HolderSet
<PlacedFeature> BiomeModifiers.RemoveFeaturesBiomeModifier.features
The field for thefeatures
record component.StructureModifiers.AddSpawnsStructureModifier.structures
The field for thestructures
record component.StructureModifiers.ClearSpawnsStructureModifier.structures
The field for thestructures
record component.StructureModifiers.RemoveSpawnsStructureModifier.structures
The field for thestructures
record 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_CODEC
Codec for referring to biome modifiers by id, list of id, or tags.static final com.mojang.serialization.Codec
<HolderSet<StructureModifier>> StructureModifier.LIST_CODEC
Codec 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 thebiomes
record component.BiomeModifiers.AddFeaturesBiomeModifier.biomes()
Returns the value of thebiomes
record component.BiomeModifiers.AddSpawnCostsBiomeModifier.biomes()
Returns the value of thebiomes
record component.BiomeModifiers.AddSpawnsBiomeModifier.biomes()
Returns the value of thebiomes
record component.BiomeModifiers.RemoveCarversBiomeModifier.biomes()
Returns the value of thebiomes
record component.BiomeModifiers.RemoveFeaturesBiomeModifier.biomes()
Returns the value of thebiomes
record component.BiomeModifiers.RemoveSpawnCostsBiomeModifier.biomes()
Returns the value of thebiomes
record component.BiomeModifiers.RemoveSpawnsBiomeModifier.biomes()
Returns the value of thebiomes
record component.BiomeModifiers.AddCarversBiomeModifier.carvers()
Returns the value of thecarvers
record component.BiomeModifiers.RemoveCarversBiomeModifier.carvers()
Returns the value of thecarvers
record component.HolderSet
<EntityType<?>> BiomeModifiers.AddSpawnCostsBiomeModifier.entityTypes()
Returns the value of theentityTypes
record component.HolderSet
<EntityType<?>> BiomeModifiers.RemoveSpawnCostsBiomeModifier.entityTypes()
Returns the value of theentityTypes
record component.HolderSet
<EntityType<?>> BiomeModifiers.RemoveSpawnsBiomeModifier.entityTypes()
Returns the value of theentityTypes
record component.HolderSet
<EntityType<?>> StructureModifiers.RemoveSpawnsStructureModifier.entityTypes()
Returns the value of theentityTypes
record component.BiomeModifiers.AddFeaturesBiomeModifier.features()
Returns the value of thefeatures
record component.BiomeModifiers.RemoveFeaturesBiomeModifier.features()
Returns the value of thefeatures
record component.StructureSettingsBuilder.getBiomes()
StructureModifiers.AddSpawnsStructureModifier.structures()
Returns the value of thestructures
record component.StructureModifiers.ClearSpawnsStructureModifier.structures()
Returns the value of thestructures
record component.StructureModifiers.RemoveSpawnsStructureModifier.structures()
Returns the value of thestructures
record component.Methods in net.neoforged.neoforge.common.world with parameters of type HolderSetModifier and TypeMethodDescriptionBiomeModifiers.RemoveCarversBiomeModifier.allSteps
(HolderSet<Biome> biomes, HolderSet<ConfiguredWorldCarver<?>> carvers) Creates a modifier that removes the given features from all decoration steps in the given biomes.BiomeModifiers.RemoveFeaturesBiomeModifier.allSteps
(HolderSet<Biome> biomes, HolderSet<PlacedFeature> features) Creates a modifier that removes the given features from all decoration steps in the given biomes.void
BiomeModifiers.AddSpawnsBiomeModifier.singleSpawn
(HolderSet<Biome> biomes, MobSpawnSettings.SpawnerData spawner) Convenience method for using a single MobSpawnSettings.SpawnerDatas.StructureModifiers.AddSpawnsStructureModifier.singleSpawn
(HolderSet<Structure> structures, 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<ConfiguredWorldCarver<?>> carvers, GenerationStep.Carving step) Creates an instance of aAddCarversBiomeModifier
record class.AddFeaturesBiomeModifier
(HolderSet<Biome> biomes, HolderSet<PlacedFeature> features, GenerationStep.Decoration step) Creates an instance of aAddFeaturesBiomeModifier
record class.AddSpawnCostsBiomeModifier
(HolderSet<Biome> biomes, HolderSet<EntityType<?>> entityTypes, MobSpawnSettings.MobSpawnCost spawnCost) Creates an instance of aAddSpawnCostsBiomeModifier
record class.AddSpawnsBiomeModifier
(HolderSet<Biome> biomes, List<MobSpawnSettings.SpawnerData> spawners) Creates an instance of aAddSpawnsBiomeModifier
record class.AddSpawnsStructureModifier
(HolderSet<Structure> structures, List<MobSpawnSettings.SpawnerData> spawners) Creates an instance of aAddSpawnsStructureModifier
record class.ClearSpawnsStructureModifier
(HolderSet<Structure> structures, Set<MobCategory> categories) Creates an instance of aClearSpawnsStructureModifier
record class.RemoveCarversBiomeModifier
(HolderSet<Biome> biomes, HolderSet<ConfiguredWorldCarver<?>> carvers, Set<GenerationStep.Carving> steps) Creates an instance of aRemoveCarversBiomeModifier
record class.RemoveFeaturesBiomeModifier
(HolderSet<Biome> biomes, HolderSet<PlacedFeature> features, Set<GenerationStep.Decoration> steps) Creates an instance of aRemoveFeaturesBiomeModifier
record class.RemoveSpawnCostsBiomeModifier
(HolderSet<Biome> biomes, HolderSet<EntityType<?>> entityTypes) Creates an instance of aRemoveSpawnCostsBiomeModifier
record class.RemoveSpawnsBiomeModifier
(HolderSet<Biome> biomes, HolderSet<EntityType<?>> entityTypes) Creates an instance of aRemoveSpawnsBiomeModifier
record class.RemoveSpawnsStructureModifier
(HolderSet<Structure> structures, HolderSet<EntityType<?>> entityTypes) Creates an instance of aRemoveSpawnsStructureModifier
record class.private
StructureSettingsBuilder
(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 HolderSetMethods in net.neoforged.neoforge.fluids.crafting that return HolderSetMethods in net.neoforged.neoforge.fluids.crafting with parameters of type HolderSetModifier and TypeMethodDescriptionstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentMap map, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsstatic FluidIngredient
DataComponentFluidIngredient.of
(boolean strict, DataComponentPredicate predicate, HolderSet<Fluid> fluids) Creates a new ingredient matching any fluid from the list, containing the given componentsConstructors in net.neoforged.neoforge.fluids.crafting with parameters of type HolderSetModifierConstructorDescriptionDataComponentFluidIngredient
(HolderSet<Fluid> fluids, DataComponentPredicate components, boolean strict) -
Uses of HolderSet in net.neoforged.neoforge.registries.holdersets
Subinterfaces of HolderSet in net.neoforged.neoforge.registries.holdersetsModifier and TypeInterfaceDescriptioninterface
Interface for mods' custom holderset typesClasses in net.neoforged.neoforge.registries.holdersets that implement HolderSetModifier and TypeClassDescriptionclass
AndHolderSet<T>
Holderset that represents an intersection of other holdersets.final record
AnyHolderSet<T>
Holderset that represents all elements of a registry.class
Composite holdersets have component holdersets and possibly owner holdersets (which have this holderset as a component).class
NotHolderSet<T>
Holderset that represents all elements of a registry not present in another holderset.class
OrHolderSet<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)