Class RandomSpreadStructurePlacement

java.lang.Object
net.minecraft.world.gen.chunk.placement.StructurePlacement
net.minecraft.world.gen.chunk.placement.RandomSpreadStructurePlacement

public class RandomSpreadStructurePlacement extends StructurePlacement
Mappings:
Namespace Name
official dky
intermediary net/minecraft/class_6872
named net/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<RandomSpreadStructurePlacement> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldky;a:Lcom/mojang/serialization/Codec;
      intermediary field_36420 Lnet/minecraft/class_6872;field_36420:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;CODEC:Lcom/mojang/serialization/Codec;
    • field_37772

      private final int field_37772
      Mappings:
      Namespace Name Mixin selector
      official c Ldky;c:I
      intermediary field_37772 Lnet/minecraft/class_6872;field_37772:I
      named field_37772 Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;field_37772:I
    • field_37773

      private final int field_37773
      Mappings:
      Namespace Name Mixin selector
      official d Ldky;d:I
      intermediary field_37773 Lnet/minecraft/class_6872;field_37773:I
      named field_37773 Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;field_37773:I
    • field_37774

      private final SpreadType field_37774
      Mappings:
      Namespace Name Mixin selector
      official e Ldky;e:Ldkz;
      intermediary field_37774 Lnet/minecraft/class_6872;field_37774:Lnet/minecraft/class_6873;
      named field_37774 Lnet/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

      public RandomSpreadStructurePlacement(int spacing, int int2, SpreadType spreadType, int int3)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldky;<init>(IILdkz;I)V
      intermediary <init> Lnet/minecraft/class_6872;<init>(IILnet/minecraft/class_6873;I)V
      named <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 a Ldky;a()I
      intermediary method_41632 Lnet/minecraft/class_6872;method_41632()I
      named method_41632 Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;method_41632()I
    • method_41633

      public int method_41633()
      Mappings:
      Namespace Name Mixin selector
      official b Ldky;b()I
      intermediary method_41633 Lnet/minecraft/class_6872;method_41633()I
      named method_41633 Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;method_41633()I
    • method_41634

      public SpreadType method_41634()
      Mappings:
      Namespace Name Mixin selector
      official c Ldky;c()Ldkz;
      intermediary method_41634 Lnet/minecraft/class_6872;method_41634()Lnet/minecraft/class_6873;
      named method_41634 Lnet/minecraft/world/gen/chunk/placement/RandomSpreadStructurePlacement;method_41634()Lnet/minecraft/world/gen/chunk/placement/SpreadType;
    • getStartChunk

      public ChunkPos getStartChunk(long seed, int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldky;a(JII)Lcfh;
      intermediary method_40169 Lnet/minecraft/class_6872;method_40169(JII)Lnet/minecraft/class_1923;
      named getStartChunk Lnet/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:
      isStartChunk in class StructurePlacement
      Mappings:
      Namespace Name Mixin selector
      official a Ldla;a(Lcwn;Ldah;JII)Z
      intermediary method_40168 Lnet/minecraft/class_6874;method_40168(Lnet/minecraft/class_2794;Lnet/minecraft/class_7138;JII)Z
      named isStartChunk Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;isStartChunk(Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/world/gen/noise/NoiseConfig;JII)Z
    • getType

      public StructurePlacementType<?> getType()
      Specified by:
      getType in class StructurePlacement
      Mappings:
      Namespace Name Mixin selector
      official e Ldla;e()Ldlb;
      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;