Class RandomSpreadStructurePlacement
java.lang.Object
net.minecraft.world.gen.chunk.placement.StructurePlacement
net.minecraft.world.gen.chunk.placement.RandomSpreadStructurePlacement
- Mappings:
Namespace Name official dkzintermediary 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 int2, SpreadType spreadType, int int3) RandomSpreadStructurePlacement(Vec3i vec3i, StructurePlacement.FrequencyReductionMethod frequencyReductionMethod, float float2, int int2, Optional<StructurePlacement.ExclusionZone> optional, int int3, int int4, SpreadType spreadType) -
Method Summary
Modifier and TypeMethodDescriptiongetStartChunk(long seed, int x, int z) getType()protected booleanisStartChunk(ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, long seed, int x, int z) intintMethods inherited from class net.minecraft.world.gen.chunk.placement.StructurePlacement
getExclusionZone, getFrequency, getFrequencyReductionMethod, getLocateOffset, getLocatePos, getSalt, method_41637, shouldGenerate
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official aLdkz;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;
-
field_37772
private final int field_37772- Mappings:
Namespace Name Mixin selector official cLdkz;c:Iintermediary field_37772Lnet/minecraft/class_6872;field_37772:Inamed field_37772Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;field_37772:I
-
field_37773
private final int field_37773- Mappings:
Namespace Name Mixin selector official dLdkz;d:Iintermediary field_37773Lnet/minecraft/class_6872;field_37773:Inamed field_37773Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;field_37773:I
-
field_37774
- Mappings:
Namespace Name Mixin selector official eLdkz;e:Ldla;intermediary field_37774Lnet/minecraft/class_6872;field_37774:Lnet/minecraft/class_6873;named field_37774Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;field_37774:Lnet/minecraft/world/gen/chunk/placement/SpreadType;
-
-
Constructor Details
-
RandomSpreadStructurePlacement
public RandomSpreadStructurePlacement(Vec3i vec3i, StructurePlacement.FrequencyReductionMethod frequencyReductionMethod, float float2, int int2, Optional<StructurePlacement.ExclusionZone> optional, int int3, int int4, SpreadType spreadType) -
RandomSpreadStructurePlacement
- Mappings:
Namespace Name Mixin selector official <init>Ldkz;<init>(IILdla;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
-
method_41632
public int method_41632()- Mappings:
Namespace Name Mixin selector official aLdkz;a()Iintermediary method_41632Lnet/minecraft/class_6872;method_41632()Inamed method_41632Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;method_41632()I
-
method_41633
public int method_41633()- Mappings:
Namespace Name Mixin selector official bLdkz;b()Iintermediary method_41633Lnet/minecraft/class_6872;method_41633()Inamed method_41633Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;method_41633()I
-
method_41634
- Mappings:
Namespace Name Mixin selector official cLdkz;c()Ldla;intermediary method_41634Lnet/minecraft/class_6872;method_41634()Lnet/minecraft/class_6873;named method_41634Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;method_41634()Lnet/minecraft/world/gen/chunk/placement/SpreadType;
-
getStartChunk
- Mappings:
Namespace Name Mixin selector official aLdkz;a(JII)Lcfh;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
protected boolean isStartChunk(ChunkGenerator chunkGenerator, NoiseConfig noiseConfig, long seed, int x, int z) - Specified by:
isStartChunkin classStructurePlacement- Mappings:
Namespace Name Mixin selector official aLdlb;a(Lcwn;Ldai;JII)Zintermediary method_40168Lnet/minecraft/class_6874;method_40168(Lnet/minecraft/class_2794;Lnet/minecraft/class_7138;JII)Znamed isStartChunkLnet/minecraft/world/gen/chunk/placement/StructurePlacement;isStartChunk(Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/world/gen/noise/NoiseConfig;JII)Z
-
getType
- Specified by:
getTypein classStructurePlacement- Mappings:
Namespace Name Mixin selector official eLdlb;e()Ldlc;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;
-