Uses of Interface
net.minecraft.core.HolderSet
Package
Description
-
Uses of HolderSet in net.minecraft.advancements.critereon
Modifier 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
Modifier 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.Modifier and TypeMethodDescriptionItemPotionsPredicate.potions()
Returns the value of thepotions
record component.HolderSet
<EntityType<?>> EntityTypePredicate.types()
Returns the value of thetypes
record component.Modifier 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.Modifier 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_) ModifierConstructorDescriptionEnchantmentPredicate
(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.ModifierConstructorDescriptionBlockPredicate
(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
Modifier and TypeFieldDescriptionBlockPredicateArgument.TagPredicate.tag
BlockStateParser.tag
BlockStateParser.TagResult.tag
The field for thetag
record component.Modifier and TypeMethodDescriptionBlockStateParser.TagResult.tag()
Returns the value of thetag
record component.ModifierConstructorDescription(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
Modifier and TypeClassDescriptionstatic final class
static class
static class
Modifier 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
Modifier and TypeMethodDescriptionstatic <T> StreamCodec
<RegistryFriendlyByteBuf, HolderSet<T>> ByteBufCodecs.holderSet
(ResourceKey<? extends Registry<T>> p_332137_) -
Uses of HolderSet in net.minecraft.resources
Modifier and TypeMethodDescriptionstatic <E> com.mojang.serialization.Codec
<HolderSet<E>> HolderSetCodec.create
(ResourceKey<? extends Registry<E>> p_206686_, com.mojang.serialization.Codec<Holder<E>> p_206687_, boolean p_206688_) HolderSetCodec.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_) Modifier 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
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec
<HolderSet<T>> ExtraCodecs.nonEmptyHolderSet
(com.mojang.serialization.Codec<HolderSet<T>> p_203983_) Modifier 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
-
Uses of HolderSet in net.minecraft.world.entity.animal
Modifier and TypeMethodDescription(package private) static void
WolfVariants.register
(BootstrapContext<WolfVariant> p_333853_, ResourceKey<WolfVariant> p_333874_, String p_333924_, HolderSet<Biome> p_333998_) ModifierConstructorDescriptionWolfVariant
(ResourceLocation p_332712_, ResourceLocation p_332714_, ResourceLocation p_332788_, HolderSet<Biome> p_332717_) -
Uses of HolderSet in net.minecraft.world.item
-
Uses of HolderSet in net.minecraft.world.item.component
Modifier and TypeMethodDescriptionTool.Rule.blocks()
Returns the value of theblocks
record component. -
Uses of HolderSet in net.minecraft.world.item.enchantment
Modifier 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.Modifier and TypeFieldDescriptionEnchantment.EnchantmentDefinition.primaryItems
The field for theprimaryItems
record component.Modifier and TypeMethodDescriptionEnchantment.exclusiveSet()
Returns the value of theexclusiveSet
record component.Enchantment.getSupportedItems()
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.Modifier and TypeMethodDescriptionEnchantment.EnchantmentDefinition.primaryItems()
Returns the value of theprimaryItems
record component.Modifier 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_) Modifier and TypeMethodDescriptionstatic ItemStack
EnchantmentHelper.enchantItem
(RandomSource p_346328_, ItemStack p_346267_, int p_345272_, RegistryAccess p_345660_, Optional<? extends HolderSet<Enchantment>> p_345161_) ModifierConstructorDescriptionEnchantment
(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.ModifierConstructorDescriptionEnchantmentDefinition
(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
Modifier and TypeFieldDescriptionprivate final HolderSet
<EntityType<?>> SummonEntityEffect.entityTypes
The field for theentityTypes
record component.ApplyMobEffect.toApply
The field for thetoApply
record component.Modifier and TypeFieldDescriptionExplodeEffect.immuneBlocks
The field for theimmuneBlocks
record component.Modifier and TypeMethodDescriptionHolderSet
<EntityType<?>> SummonEntityEffect.entityTypes()
Returns the value of theentityTypes
record component.ApplyMobEffect.toApply()
Returns the value of thetoApply
record component.Modifier and TypeMethodDescriptionExplodeEffect.immuneBlocks()
Returns the value of theimmuneBlocks
record component.ModifierConstructorDescriptionApplyMobEffect
(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
Modifier 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.Modifier and TypeMethodDescriptionEnchantmentsByCost.enchantments()
Returns the value of theenchantments
record component.EnchantmentsByCostWithDifficulty.enchantments()
Returns the value of theenchantments
record component.ModifierConstructorDescriptionEnchantmentsByCost
(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
Modifier and TypeMethodDescriptionStructureManager.getStructureWithPieceAt
(BlockPos p_331369_, HolderSet<Structure> p_330290_) -
Uses of HolderSet in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionprivate final Map
<GenerationStep.Carving, HolderSet<ConfiguredWorldCarver<?>>> BiomeGenerationSettings.carvers
private final List
<HolderSet<PlacedFeature>> BiomeGenerationSettings.features
Biome.LIST_CODEC
Modifier and TypeMethodDescriptionstatic <T> List
<FeatureSorter.StepFeatureData> FeatureSorter.buildFeaturesPerStep
(List<T> p_220604_, Function<T, List<HolderSet<PlacedFeature>>> p_220605_, boolean p_220606_) ModifierConstructorDescriptionCheckerboardColumnBiomeSource
(HolderSet<Biome> p_204243_, int p_204244_) ModifierConstructorDescription(package private)
BiomeGenerationSettings
(Map<GenerationStep.Carving, HolderSet<ConfiguredWorldCarver<?>>> p_186650_, List<HolderSet<PlacedFeature>> p_186651_) (package private)
BiomeGenerationSettings
(Map<GenerationStep.Carving, HolderSet<ConfiguredWorldCarver<?>>> p_186650_, List<HolderSet<PlacedFeature>> p_186651_) -
Uses of HolderSet in net.minecraft.world.level.block.state
-
Uses of HolderSet in net.minecraft.world.level.chunk
Modifier 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
ModifierConstructorDescriptionMatchingBlocksPredicate
(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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<HolderSet<ConfiguredWorldCarver<?>>> ConfiguredWorldCarver.LIST_CODEC
ModifierConstructorDescriptionCanyonCarverConfiguration
(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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<HolderSet<ConfiguredFeature<?, ?>>> ConfiguredFeature.LIST_CODEC
-
Uses of HolderSet in net.minecraft.world.level.levelgen.feature.configurations
Modifier and TypeFieldDescriptionMultifaceGrowthConfiguration.canBePlacedOn
final HolderSet
<PlacedFeature> SimpleRandomFeatureConfiguration.features
SpringConfiguration.validBlocks
ModifierConstructorDescriptionMultifaceGrowthConfiguration
(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
Modifier and TypeFieldDescriptionMangroveRootPlacement.canGrowThrough
The field for thecanGrowThrough
record component.MangroveRootPlacement.muddyRootsIn
The field for themuddyRootsIn
record component.Modifier and TypeMethodDescriptionMangroveRootPlacement.canGrowThrough()
Returns the value of thecanGrowThrough
record component.MangroveRootPlacement.muddyRootsIn()
Returns the value of themuddyRootsIn
record component.ModifierConstructorDescriptionMangroveRootPlacement
(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
ModifierConstructorDescriptionUpwardsBranchingTrunkPlacer
(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
Modifier and TypeFieldDescriptionprivate final Optional
<HolderSet<StructureSet>> FlatLevelGeneratorSettings.structureOverrides
Modifier and TypeMethodDescriptionFlatLevelGeneratorSettings.withBiomeAndLayers
(List<FlatLayerInfo> p_256587_, Optional<HolderSet<StructureSet>> p_256500_, Holder<Biome> p_256598_) ModifierConstructorDescriptionprivate
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
Modifier 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
Modifier and TypeFieldDescriptionStructure.StructureSettings.biomes
The field for thebiomes
record component.Structure.StructureSettings.Builder.biomes
Modifier and TypeMethodDescriptionStructure.biomes()
Structure.StructureSettings.biomes()
Returns the value of thebiomes
record component.ModifierConstructorDescriptionStructureSettings
(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
Modifier 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_) ModifierConstructorDescriptionConcentricRingsStructurePlacement
(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
ModifierConstructorDescriptionprivate
BlockRotProcessor
(Optional<HolderSet<Block>> p_230284_, float p_230285_) -
Uses of HolderSet in net.minecraft.world.level.material
-
Uses of HolderSet in net.minecraft.world.level.storage.loot.functions
Modifier 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
Modifier and TypeMethodDescriptionEnchantWithLevelsFunction.Builder.fromOptions
(HolderSet<Enchantment> p_345342_) EnchantRandomlyFunction.Builder.withOneOf
(HolderSet<Enchantment> p_345384_) ModifierConstructorDescription(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
Modifier 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 componentsModifierConstructorDescriptionDataComponentIngredient
(HolderSet<Item> items, DataComponentPredicate components, boolean strict) -
Uses of HolderSet in net.neoforged.neoforge.common.world
Modifier 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.Modifier 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.Modifier 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.Modifier 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
.ModifierConstructorDescriptionAddCarversBiomeModifier
(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
-
Uses of HolderSet in net.neoforged.neoforge.fluids.crafting
Modifier 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 componentsModifierConstructorDescriptionDataComponentFluidIngredient
(HolderSet<Fluid> fluids, DataComponentPredicate components, boolean strict) -
Uses of HolderSet in net.neoforged.neoforge.oldtest.world
Modifier and TypeFieldDescriptionBiomeModifierTest.TestModifier.biomes
The field for thebiomes
record component.StructureModifierTest.TestModifier.structures
The field for thestructures
record component.Modifier and TypeMethodDescriptionBiomeModifierTest.TestModifier.biomes()
Returns the value of thebiomes
record component.StructureModifierTest.TestModifier.structures()
Returns the value of thestructures
record component.ModifierConstructorDescriptionTestModifier
(HolderSet<Biome> biomes, Biome.Precipitation precipitation, int waterColor) Creates an instance of aTestModifier
record class.TestModifier
(HolderSet<Structure> structures, MobCategory category, MobSpawnSettings.SpawnerData spawn) Creates an instance of aTestModifier
record class. -
Uses of HolderSet in net.neoforged.neoforge.registries.holdersets
Modifier and TypeInterfaceDescriptioninterface
Interface for mods' custom holderset typesModifier 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.Modifier 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.ModifierConstructorDescriptionNotHolderSet
(HolderLookup.RegistryLookup<T> registryLookup, HolderSet<T> value) ModifierConstructorDescriptionAndHolderSet
(List<HolderSet<T>> values) CompositeHolderSet
(List<HolderSet<T>> components) OrHolderSet
(List<HolderSet<T>> values)