Class ConcentricRingsStructurePlacement
java.lang.Object
net.minecraft.world.gen.chunk.placement.StructurePlacement
net.minecraft.world.gen.chunk.placement.ConcentricRingsStructurePlacement
- Mappings:
Namespace Name named net/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement
intermediary net/minecraft/class_6871
official ekl
-
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.MapCodec
<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
applyExclusionZone, applyFrequencyReduction, buildCodec, getExclusionZone, getFrequency, getFrequencyReductionMethod, getLocateOffset, getLocatePos, getSalt, shouldGenerate
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_36419
Lnet/minecraft/class_6871;field_36419:Lcom/mojang/serialization/MapCodec;
official a
Lekl;a:Lcom/mojang/serialization/MapCodec;
-
distance
private final int distance- Mappings:
Namespace Name Mixin selector named distance
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;distance:I
intermediary field_37768
Lnet/minecraft/class_6871;field_37768:I
official c
Lekl;c:I
-
spread
private final int spread- Mappings:
Namespace Name Mixin selector named spread
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;spread:I
intermediary field_37769
Lnet/minecraft/class_6871;field_37769:I
official d
Lekl;d:I
-
count
private final int count- Mappings:
Namespace Name Mixin selector named count
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;count:I
intermediary field_37770
Lnet/minecraft/class_6871;field_37770:I
official e
Lekl;e:I
-
preferredBiomes
- Mappings:
Namespace Name Mixin selector named preferredBiomes
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;preferredBiomes:Lnet/minecraft/registry/entry/RegistryEntryList;
intermediary field_37771
Lnet/minecraft/class_6871;field_37771:Lnet/minecraft/class_6885;
official f
Lekl;f:Ljq;
-
-
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 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
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
official <init>
Lekl;<init>(Lkh;Leko$c;FILjava/util/Optional;IIILjq;)V
-
ConcentricRingsStructurePlacement
public ConcentricRingsStructurePlacement(int distance, int spread, int structureCount, RegistryEntryList<Biome> preferredBiomes) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;<init>(IIILnet/minecraft/registry/entry/RegistryEntryList;)V
intermediary <init>
Lnet/minecraft/class_6871;<init>(IIILnet/minecraft/class_6885;)V
official <init>
Lekl;<init>(IIILjq;)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 named buildConcentricRingsCodec
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;buildConcentricRingsCodec(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;
official b
Lekl;b(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P9;
-
getDistance
public int getDistance()- Mappings:
Namespace Name Mixin selector named getDistance
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getDistance()I
intermediary method_41627
Lnet/minecraft/class_6871;method_41627()I
official a
Lekl;a()I
-
getSpread
public int getSpread()- Mappings:
Namespace Name Mixin selector named getSpread
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getSpread()I
intermediary method_41628
Lnet/minecraft/class_6871;method_41628()I
official b
Lekl;b()I
-
getCount
public int getCount()- Mappings:
Namespace Name Mixin selector named getCount
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getCount()I
intermediary method_41630
Lnet/minecraft/class_6871;method_41630()I
official c
Lekl;c()I
-
getPreferredBiomes
- Mappings:
Namespace Name Mixin selector named getPreferredBiomes
Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getPreferredBiomes()Lnet/minecraft/registry/entry/RegistryEntryList;
intermediary method_41631
Lnet/minecraft/class_6871;method_41631()Lnet/minecraft/class_6885;
official d
Lekl;d()Ljq;
-
isStartChunk
- Specified by:
isStartChunk
in classStructurePlacement
- Mappings:
Namespace Name Mixin selector named isStartChunk
Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;isStartChunk(Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;II)Z
intermediary method_40168
Lnet/minecraft/class_6874;method_40168(Lnet/minecraft/class_7869;II)Z
official a
Leko;a(Ldva;II)Z
-
getType
- Specified by:
getType
in classStructurePlacement
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;getType()Lnet/minecraft/world/gen/chunk/placement/StructurePlacementType;
intermediary method_40166
Lnet/minecraft/class_6874;method_40166()Lnet/minecraft/class_6875;
official e
Leko;e()Lekp;
-