Class RandomSpreadStructurePlacement
java.lang.Object
net.minecraft.world.gen.chunk.placement.StructurePlacement
net.minecraft.world.gen.chunk.placement.RandomSpreadStructurePlacement
- Mappings:
- Namespace - Name - named - net/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement- intermediary - net/minecraft/class_6872- official - eoi
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.world.gen.chunk.placement.StructurePlacementStructurePlacement.ExclusionZone, StructurePlacement.FrequencyReductionMethod, StructurePlacement.GenerationPredicate
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<RandomSpreadStructurePlacement> private final intprivate final intprivate final SpreadTypeFields inherited from class net.minecraft.world.gen.chunk.placement.StructurePlacementTYPE_CODEC
- 
Constructor SummaryConstructorsConstructorDescriptionRandomSpreadStructurePlacement(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 SummaryModifier 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.StructurePlacementapplyExclusionZone, 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/RandomSpreadStructurePlacement;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_36420- Lnet/minecraft/class_6872;field_36420:Lcom/mojang/serialization/MapCodec;- official - a- Leoi;a:Lcom/mojang/serialization/MapCodec;
 
- 
spacingprivate final int spacing- Mappings:
- Namespace - Name - Mixin selector - named - spacing- Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;spacing:I- intermediary - field_37772- Lnet/minecraft/class_6872;field_37772:I- official - c- Leoi;c:I
 
- 
separationprivate final int separation- Mappings:
- Namespace - Name - Mixin selector - named - separation- Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;separation:I- intermediary - field_37773- Lnet/minecraft/class_6872;field_37773:I- official - d- Leoi;d:I
 
- 
spreadType- Mappings:
- Namespace - Name - Mixin selector - named - spreadType- Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;spreadType:Lnet/minecraft/world/gen/chunk/placement/SpreadType;- intermediary - field_37774- Lnet/minecraft/class_6872;field_37774:Lnet/minecraft/class_6873;- official - e- Leoi;e:Leoj;
 
 
- 
- 
Constructor Details- 
RandomSpreadStructurePlacementpublic 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 - named - <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- intermediary - <init>- Lnet/minecraft/class_6872;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_6874$class_7154;FILjava/util/Optional;IILnet/minecraft/class_6873;)V- official - <init>- Leoi;<init>(Lkm;Leok$c;FILjava/util/Optional;IILeoj;)V
 
- 
RandomSpreadStructurePlacement- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;<init>(IILnet/minecraft/world/gen/chunk/placement/SpreadType;I)V- intermediary - <init>- Lnet/minecraft/class_6872;<init>(IILnet/minecraft/class_6873;I)V- official - <init>- Leoi;<init>(IILeoj;I)V
 
 
- 
- 
Method Details- 
validateprivate static com.mojang.serialization.DataResult<RandomSpreadStructurePlacement> validate(RandomSpreadStructurePlacement structurePlacement) - Mappings:
- Namespace - Name - Mixin selector - named - validate- Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;validate(Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;)Lcom/mojang/serialization/DataResult;- intermediary - method_51720- Lnet/minecraft/class_6872;method_51720(Lnet/minecraft/class_6872;)Lcom/mojang/serialization/DataResult;- official - a- Leoi;a(Leoi;)Lcom/mojang/serialization/DataResult;
 
- 
getSpacingpublic int getSpacing()- Mappings:
- Namespace - Name - Mixin selector - named - getSpacing- Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;getSpacing()I- intermediary - method_41632- Lnet/minecraft/class_6872;method_41632()I- official - a- Leoi;a()I
 
- 
getSeparationpublic int getSeparation()- Mappings:
- Namespace - Name - Mixin selector - named - getSeparation- Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;getSeparation()I- intermediary - method_41633- Lnet/minecraft/class_6872;method_41633()I- official - b- Leoi;b()I
 
- 
getSpreadType- Mappings:
- Namespace - Name - Mixin selector - named - getSpreadType- Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;getSpreadType()Lnet/minecraft/world/gen/chunk/placement/SpreadType;- intermediary - method_41634- Lnet/minecraft/class_6872;method_41634()Lnet/minecraft/class_6873;- official - c- Leoi;c()Leoj;
 
- 
getStartChunk- Mappings:
- Namespace - Name - Mixin selector - named - getStartChunk- Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;getStartChunk(JII)Lnet/minecraft/util/math/ChunkPos;- intermediary - method_40169- Lnet/minecraft/class_6872;method_40169(JII)Lnet/minecraft/class_1923;- official - a- Leoi;a(JII)Ldfp;
 
- 
isStartChunk- Specified by:
- isStartChunkin class- StructurePlacement
- 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- Leok;a(Ldyv;II)Z
 
- 
getType- Specified by:
- getTypein class- StructurePlacement
- 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- Leok;e()Leol;
 
 
-