Class ConcentricRingsStructurePlacement
java.lang.Object
net.minecraft.world.gen.chunk.placement.StructurePlacement
net.minecraft.world.gen.chunk.placement.ConcentricRingsStructurePlacement
- Mappings:
Namespace Name official dsr
intermediary net/minecraft/class_6871
named net/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.chunk.placement.StructurePlacement
StructurePlacement.ExclusionZone, StructurePlacement.FrequencyReductionMethod, StructurePlacement.GenerationPredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ConcentricRingsStructurePlacement>
private final int
private final int
private final RegistryEntryList<Biome>
private final int
Fields inherited from class net.minecraft.world.gen.chunk.placement.StructurePlacement
TYPE_CODEC
-
Constructor Summary
ConstructorDescriptionConcentricRingsStructurePlacement
(int distance, int spread, int structureCount, RegistryEntryList<Biome> preferredBiomes) ConcentricRingsStructurePlacement
(Vec3i locateOffset, StructurePlacement.FrequencyReductionMethod generationPredicateType, float frequency, int salt, Optional<StructurePlacement.ExclusionZone> exclusionZone, int distance, int spread, int structureCount, RegistryEntryList<Biome> preferredBiomes) -
Method Summary
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, RegistryEntryList<Biome>> buildConcentricRingsCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<ConcentricRingsStructurePlacement> instance) int
getCount()
int
int
getType()
protected boolean
isStartChunk
(StructurePlacementCalculator calculator, int chunkX, int chunkZ) Methods inherited from class net.minecraft.world.gen.chunk.placement.StructurePlacement
buildCodec, getExclusionZone, getFrequency, getFrequencyReductionMethod, getLocateOffset, getLocatePos, getSalt, shouldGenerate
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldsr;a:Lcom/mojang/serialization/Codec;
intermediary field_36419
Lnet/minecraft/class_6871;field_36419:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;CODEC:Lcom/mojang/serialization/Codec;
-
distance
private final int distance- Mappings:
Namespace Name Mixin selector official c
Ldsr;c:I
intermediary field_37768
Lnet/minecraft/class_6871;field_37768:I
named distance
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;distance:I
-
spread
private final int spread- Mappings:
Namespace Name Mixin selector official d
Ldsr;d:I
intermediary field_37769
Lnet/minecraft/class_6871;field_37769:I
named spread
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;spread:I
-
count
private final int count- Mappings:
Namespace Name Mixin selector official e
Ldsr;e:I
intermediary field_37770
Lnet/minecraft/class_6871;field_37770:I
named count
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;count:I
-
preferredBiomes
- Mappings:
Namespace Name Mixin selector official f
Ldsr;f:Lhi;
intermediary field_37771
Lnet/minecraft/class_6871;field_37771:Lnet/minecraft/class_6885;
named preferredBiomes
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;preferredBiomes:Lnet/minecraft/registry/entry/RegistryEntryList;
-
-
Constructor Details
-
ConcentricRingsStructurePlacement
public ConcentricRingsStructurePlacement(Vec3i locateOffset, StructurePlacement.FrequencyReductionMethod generationPredicateType, float frequency, int salt, Optional<StructurePlacement.ExclusionZone> exclusionZone, int distance, int spread, int structureCount, RegistryEntryList<Biome> preferredBiomes) - Mappings:
Namespace Name Mixin selector official <init>
Ldsr;<init>(Lhz;Ldsu$c;FILjava/util/Optional;IIILhi;)V
intermediary <init>
Lnet/minecraft/class_6871;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_6874$class_7154;FILjava/util/Optional;IIILnet/minecraft/class_6885;)V
named <init>
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/world/gen/chunk/placement/StructurePlacement$FrequencyReductionMethod;FILjava/util/Optional;IIILnet/minecraft/registry/entry/RegistryEntryList;)V
-
ConcentricRingsStructurePlacement
public ConcentricRingsStructurePlacement(int distance, int spread, int structureCount, RegistryEntryList<Biome> preferredBiomes) - Mappings:
Namespace Name Mixin selector official <init>
Ldsr;<init>(IIILhi;)V
intermediary <init>
Lnet/minecraft/class_6871;<init>(IIILnet/minecraft/class_6885;)V
named <init>
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;<init>(IIILnet/minecraft/registry/entry/RegistryEntryList;)V
-
-
Method Details
-
buildConcentricRingsCodec
private static com.mojang.datafixers.Products.P9<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<ConcentricRingsStructurePlacement>,Vec3i, buildConcentricRingsCodecStructurePlacement.FrequencyReductionMethod, Float, Integer, Optional<StructurePlacement.ExclusionZone>, Integer, Integer, Integer, RegistryEntryList<Biome>> (com.mojang.serialization.codecs.RecordCodecBuilder.Instance<ConcentricRingsStructurePlacement> instance) - Mappings:
Namespace Name Mixin selector official b
Ldsr;b(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P9;
intermediary method_41629
Lnet/minecraft/class_6871;method_41629(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P9;
named buildConcentricRingsCodec
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;buildConcentricRingsCodec(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P9;
-
getDistance
public int getDistance()- Mappings:
Namespace Name Mixin selector official a
Ldsr;a()I
intermediary method_41627
Lnet/minecraft/class_6871;method_41627()I
named getDistance
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getDistance()I
-
getSpread
public int getSpread()- Mappings:
Namespace Name Mixin selector official b
Ldsr;b()I
intermediary method_41628
Lnet/minecraft/class_6871;method_41628()I
named getSpread
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getSpread()I
-
getCount
public int getCount()- Mappings:
Namespace Name Mixin selector official c
Ldsr;c()I
intermediary method_41630
Lnet/minecraft/class_6871;method_41630()I
named getCount
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getCount()I
-
getPreferredBiomes
- Mappings:
Namespace Name Mixin selector official d
Ldsr;d()Lhi;
intermediary method_41631
Lnet/minecraft/class_6871;method_41631()Lnet/minecraft/class_6885;
named getPreferredBiomes
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getPreferredBiomes()Lnet/minecraft/registry/entry/RegistryEntryList;
-
isStartChunk
- Specified by:
isStartChunk
in classStructurePlacement
- Mappings:
Namespace Name Mixin selector official a
Ldsu;a(Lddw;II)Z
intermediary method_40168
Lnet/minecraft/class_6874;method_40168(Lnet/minecraft/class_7869;II)Z
named isStartChunk
Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;isStartChunk(Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;II)Z
-
getType
- Specified by:
getType
in classStructurePlacement
- Mappings:
Namespace Name Mixin selector official e
Ldsu;e()Ldsv;
intermediary method_40166
Lnet/minecraft/class_6874;method_40166()Lnet/minecraft/class_6875;
named getType
Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;getType()Lnet/minecraft/world/gen/chunk/placement/StructurePlacementType;
-