Uses of Interface
net.minecraft.core.HolderSet
Package
Description
-
Uses of HolderSet in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionprivate final HolderSet<EntityType<?>>
EntityTypePredicate.types
The field for thetypes
record component.Modifier and TypeFieldDescriptionBlockPredicate.blocks
The field for theblocks
record component.BlockPredicate.Builder.blocks
BlockPredicate.BLOCKS_CODEC
ItemPredicate.Builder.items
ItemPredicate.items
The field for theitems
record component.ItemPredicate.ITEMS_CODEC
Modifier and TypeMethodDescriptionHolderSet<EntityType<?>>
EntityTypePredicate.types()
Returns the value of thetypes
record component.Modifier and TypeMethodDescriptionBlockPredicate.blocks()
Returns the value of theblocks
record component.ItemPredicate.items()
Returns the value of theitems
record component.ModifierConstructorDescriptionEntityTypePredicate
(HolderSet<EntityType<?>> types) Creates an instance of aEntityTypePredicate
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.commands.arguments.item
Modifier and TypeFieldDescriptionItemParser.TagResult.tag
The field for thetag
record component.Modifier and TypeMethodDescriptionItemParser.TagResult.tag()
Returns the value of thetag
record component.ModifierConstructorDescriptionTagResult
(HolderSet<Item> tag, CompoundTag nbt) Creates an instance of aTagResult
record class. -
Uses of HolderSet in net.minecraft.core
Modifier and TypeClassDescriptionstatic 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.data.worldgen
Modifier and TypeMethodDescriptionstatic Structure.StructureSettings
Structures.structure
(HolderSet<Biome> p_256015_, Map<MobCategory, StructureSpawnOverride> p_256297_, GenerationStep.Decoration p_255729_, TerrainAdjustment p_255865_) private static Structure.StructureSettings
Structures.structure
(HolderSet<Biome> p_255731_, GenerationStep.Decoration p_256551_, TerrainAdjustment p_256463_) private static Structure.StructureSettings
Structures.structure
(HolderSet<Biome> p_256501_, TerrainAdjustment p_255704_) -
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_) 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.item
-
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.Modifier and TypeMethodDescriptionStructure.biomes()
Structure.StructureSettings.biomes()
Returns the value of thebiomes
record component.ModifierConstructorDescriptionStructureSettings
(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 static final com.mojang.serialization.Codec<HolderSet<Enchantment>>
EnchantRandomlyFunction.ENCHANTMENT_SET_CODEC
private final Optional<HolderSet<Enchantment>>
EnchantRandomlyFunction.enchantments
ModifierConstructorDescription(package private)
EnchantRandomlyFunction
(List<LootItemCondition> p_298352_, Optional<HolderSet<Enchantment>> p_297532_) -
Uses of HolderSet in net.minecraftforge.common.world
Modifier and TypeFieldDescriptionForgeBiomeModifiers.AddFeaturesBiomeModifier.biomes
The field for thebiomes
record component.ForgeBiomeModifiers.AddSpawnsBiomeModifier.biomes
The field for thebiomes
record component.ForgeBiomeModifiers.RemoveFeaturesBiomeModifier.biomes
The field for thebiomes
record component.ForgeBiomeModifiers.RemoveSpawnsBiomeModifier.biomes
The field for thebiomes
record component.StructureSettingsBuilder.biomes
private final HolderSet<EntityType<?>>
ForgeBiomeModifiers.RemoveSpawnsBiomeModifier.entityTypes
The field for theentityTypes
record component.private final HolderSet<PlacedFeature>
ForgeBiomeModifiers.AddFeaturesBiomeModifier.features
The field for thefeatures
record component.private final HolderSet<PlacedFeature>
ForgeBiomeModifiers.RemoveFeaturesBiomeModifier.features
The field for thefeatures
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 TypeMethodDescriptionForgeBiomeModifiers.AddFeaturesBiomeModifier.biomes()
Returns the value of thebiomes
record component.ForgeBiomeModifiers.AddSpawnsBiomeModifier.biomes()
Returns the value of thebiomes
record component.ForgeBiomeModifiers.RemoveFeaturesBiomeModifier.biomes()
Returns the value of thebiomes
record component.ForgeBiomeModifiers.RemoveSpawnsBiomeModifier.biomes()
Returns the value of thebiomes
record component.HolderSet<EntityType<?>>
ForgeBiomeModifiers.RemoveSpawnsBiomeModifier.entityTypes()
Returns the value of theentityTypes
record component.ForgeBiomeModifiers.AddFeaturesBiomeModifier.features()
Returns the value of thefeatures
record component.ForgeBiomeModifiers.RemoveFeaturesBiomeModifier.features()
Returns the value of thefeatures
record component.StructureSettingsBuilder.getBiomes()
Modifier and TypeMethodDescriptionForgeBiomeModifiers.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
ForgeBiomeModifiers.AddSpawnsBiomeModifier.singleSpawn
(HolderSet<Biome> biomes, MobSpawnSettings.SpawnerData spawner) Convenience method for using a single spawn data.ModifierConstructorDescriptionAddFeaturesBiomeModifier
(HolderSet<Biome> biomes, HolderSet<PlacedFeature> features, GenerationStep.Decoration step) Creates an instance of aAddFeaturesBiomeModifier
record class.AddSpawnsBiomeModifier
(HolderSet<Biome> biomes, List<MobSpawnSettings.SpawnerData> spawners) Creates an instance of aAddSpawnsBiomeModifier
record class.RemoveFeaturesBiomeModifier
(HolderSet<Biome> biomes, HolderSet<PlacedFeature> features, Set<GenerationStep.Decoration> steps) Creates an instance of aRemoveFeaturesBiomeModifier
record class.RemoveSpawnsBiomeModifier
(HolderSet<Biome> biomes, HolderSet<EntityType<?>> entityTypes) Creates an instance of aRemoveSpawnsBiomeModifier
record class.private
StructureSettingsBuilder
(HolderSet<Biome> biomes, Map<MobCategory, StructureSpawnOverride> spawnOverrides, GenerationStep.Decoration step, TerrainAdjustment terrainAdaptation) -
Uses of HolderSet in net.minecraftforge.registries
-
Uses of HolderSet in net.minecraftforge.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)