Class RandomSpreadStructurePlacement
java.lang.Object
net.minecraft.world.gen.chunk.placement.StructurePlacement
net.minecraft.world.gen.chunk.placement.RandomSpreadStructurePlacement
- Mappings:
 Namespace Name official dsvintermediary net/minecraft/class_6872named net/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement
- 
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.chunk.placement.StructurePlacement
StructurePlacement.ExclusionZone, StructurePlacement.FrequencyReductionMethod, StructurePlacement.GenerationPredicate - 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<RandomSpreadStructurePlacement>private final intprivate final intprivate final SpreadTypeFields inherited from class net.minecraft.world.gen.chunk.placement.StructurePlacement
TYPE_CODEC - 
Constructor Summary
ConstructorsConstructorDescriptionRandomSpreadStructurePlacement(int spacing, int separation, SpreadType spreadType, int salt) RandomSpreadStructurePlacement(Vec3i locateOffset, StructurePlacement.FrequencyReductionMethod frequencyReductionMethod, float frequency, int salt, Optional<StructurePlacement.ExclusionZone> exclusionZone, int spacing, int separation, SpreadType spreadType)  - 
Method Summary
Modifier and TypeMethodDescriptionintintgetStartChunk(long seed, int chunkX, int chunkZ) getType()protected booleanisStartChunk(StructurePlacementCalculator calculator, int chunkX, int chunkZ) private static com.mojang.serialization.DataResult<RandomSpreadStructurePlacement>validate(RandomSpreadStructurePlacement structurePlacement) 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 aLdsv;a:Lcom/mojang/serialization/Codec;intermediary field_36420Lnet/minecraft/class_6872;field_36420:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;CODEC:Lcom/mojang/serialization/Codec;
 - 
spacing
private final int spacing- Mappings:
 Namespace Name Mixin selector official cLdsv;c:Iintermediary field_37772Lnet/minecraft/class_6872;field_37772:Inamed spacingLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;spacing:I
 - 
separation
private final int separation- Mappings:
 Namespace Name Mixin selector official dLdsv;d:Iintermediary field_37773Lnet/minecraft/class_6872;field_37773:Inamed separationLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;separation:I
 - 
spreadType
- Mappings:
 Namespace Name Mixin selector official eLdsv;e:Ldsw;intermediary field_37774Lnet/minecraft/class_6872;field_37774:Lnet/minecraft/class_6873;named spreadTypeLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;spreadType:Lnet/minecraft/world/gen/chunk/placement/SpreadType;
 
 - 
 - 
Constructor Details
- 
RandomSpreadStructurePlacement
public RandomSpreadStructurePlacement(Vec3i locateOffset, StructurePlacement.FrequencyReductionMethod frequencyReductionMethod, float frequency, int salt, Optional<StructurePlacement.ExclusionZone> exclusionZone, int spacing, int separation, SpreadType spreadType) - Mappings:
 Namespace Name Mixin selector official <init>Ldsv;<init>(Lhz;Ldsx$c;FILjava/util/Optional;IILdsw;)Vintermediary <init>Lnet/minecraft/class_6872;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_6874$class_7154;FILjava/util/Optional;IILnet/minecraft/class_6873;)Vnamed <init>Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/world/gen/chunk/placement/StructurePlacement$FrequencyReductionMethod;FILjava/util/Optional;IILnet/minecraft/world/gen/chunk/placement/SpreadType;)V
 - 
RandomSpreadStructurePlacement
- Mappings:
 Namespace Name Mixin selector official <init>Ldsv;<init>(IILdsw;I)Vintermediary <init>Lnet/minecraft/class_6872;<init>(IILnet/minecraft/class_6873;I)Vnamed <init>Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;<init>(IILnet/minecraft/world/gen/chunk/placement/SpreadType;I)V
 
 - 
 - 
Method Details
- 
validate
private static com.mojang.serialization.DataResult<RandomSpreadStructurePlacement> validate(RandomSpreadStructurePlacement structurePlacement) - Mappings:
 Namespace Name Mixin selector official aLdsv;a(Ldsv;)Lcom/mojang/serialization/DataResult;intermediary method_51720Lnet/minecraft/class_6872;method_51720(Lnet/minecraft/class_6872;)Lcom/mojang/serialization/DataResult;named validateLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;validate(Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;)Lcom/mojang/serialization/DataResult;
 - 
getSpacing
public int getSpacing()- Mappings:
 Namespace Name Mixin selector official aLdsv;a()Iintermediary method_41632Lnet/minecraft/class_6872;method_41632()Inamed getSpacingLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;getSpacing()I
 - 
getSeparation
public int getSeparation()- Mappings:
 Namespace Name Mixin selector official bLdsv;b()Iintermediary method_41633Lnet/minecraft/class_6872;method_41633()Inamed getSeparationLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;getSeparation()I
 - 
getSpreadType
- Mappings:
 Namespace Name Mixin selector official cLdsv;c()Ldsw;intermediary method_41634Lnet/minecraft/class_6872;method_41634()Lnet/minecraft/class_6873;named getSpreadTypeLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;getSpreadType()Lnet/minecraft/world/gen/chunk/placement/SpreadType;
 - 
getStartChunk
- Mappings:
 Namespace Name Mixin selector official aLdsv;a(JII)Lclt;intermediary method_40169Lnet/minecraft/class_6872;method_40169(JII)Lnet/minecraft/class_1923;named getStartChunkLnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;getStartChunk(JII)Lnet/minecraft/util/math/ChunkPos;
 - 
isStartChunk
- Specified by:
 isStartChunkin classStructurePlacement- Mappings:
 Namespace Name Mixin selector official aLdsx;a(Lddz;II)Zintermediary method_40168Lnet/minecraft/class_6874;method_40168(Lnet/minecraft/class_7869;II)Znamed isStartChunkLnet/minecraft/world/gen/chunk/placement/StructurePlacement;isStartChunk(Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;II)Z
 - 
getType
- Specified by:
 getTypein classStructurePlacement- Mappings:
 Namespace Name Mixin selector official eLdsx;e()Ldsy;intermediary method_40166Lnet/minecraft/class_6874;method_40166()Lnet/minecraft/class_6875;named getTypeLnet/minecraft/world/gen/chunk/placement/StructurePlacement;getType()Lnet/minecraft/world/gen/chunk/placement/StructurePlacementType;
 
 -