Class ConcentricRingsStructurePlacement

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

public class ConcentricRingsStructurePlacement extends StructurePlacement
Mappings:
Namespace Name
official dkx
intermediary net/minecraft/class_6871
named net/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<ConcentricRingsStructurePlacement> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldkx;a:Lcom/mojang/serialization/Codec;
      intermediary field_36419 Lnet/minecraft/class_6871;field_36419:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;CODEC:Lcom/mojang/serialization/Codec;
    • distance

      private final int distance
      Mappings:
      Namespace Name Mixin selector
      official c Ldkx;c:I
      intermediary field_37768 Lnet/minecraft/class_6871;field_37768:I
      named distance Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;distance:I
    • spread

      private final int spread
      Mappings:
      Namespace Name Mixin selector
      official d Ldkx;d:I
      intermediary field_37769 Lnet/minecraft/class_6871;field_37769:I
      named spread Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;spread:I
    • count

      private final int count
      Mappings:
      Namespace Name Mixin selector
      official e Ldkx;e:I
      intermediary field_37770 Lnet/minecraft/class_6871;field_37770:I
      named count Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;count:I
    • preferredBiomes

      private final RegistryEntryList<Biome> preferredBiomes
      Mappings:
      Namespace Name Mixin selector
      official f Ldkx;f:Lhe;
      intermediary field_37771 Lnet/minecraft/class_6871;field_37771:Lnet/minecraft/class_6885;
      named preferredBiomes Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;preferredBiomes:Lnet/minecraft/util/registry/RegistryEntryList;
  • 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
      official <init> Ldkx;<init>(Lhs;Ldla$c;FILjava/util/Optional;IIILhe;)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
      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/util/registry/RegistryEntryList;)V
    • ConcentricRingsStructurePlacement

      public ConcentricRingsStructurePlacement(int distance, int spread, int structureCount, RegistryEntryList<Biome> preferredBiomes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldkx;<init>(IIILhe;)V
      intermediary <init> Lnet/minecraft/class_6871;<init>(IIILnet/minecraft/class_6885;)V
      named <init> Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;<init>(IIILnet/minecraft/util/registry/RegistryEntryList;)V
  • Method Details

    • method_41629

      private 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>> method_41629(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<ConcentricRingsStructurePlacement> instance)
      Mappings:
      Namespace Name Mixin selector
      official b Ldkx;b(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;
      named method_41629 Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;method_41629(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P9;
    • getDistance

      public int getDistance()
      Mappings:
      Namespace Name Mixin selector
      official a Ldkx;a()I
      intermediary method_41627 Lnet/minecraft/class_6871;method_41627()I
      named getDistance Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getDistance()I
    • getSpread

      public int getSpread()
      Mappings:
      Namespace Name Mixin selector
      official b Ldkx;b()I
      intermediary method_41628 Lnet/minecraft/class_6871;method_41628()I
      named getSpread Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getSpread()I
    • getCount

      public int getCount()
      Mappings:
      Namespace Name Mixin selector
      official c Ldkx;c()I
      intermediary method_41630 Lnet/minecraft/class_6871;method_41630()I
      named getCount Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getCount()I
    • getPreferredBiomes

      public RegistryEntryList<Biome> getPreferredBiomes()
      Mappings:
      Namespace Name Mixin selector
      official d Ldkx;d()Lhe;
      intermediary method_41631 Lnet/minecraft/class_6871;method_41631()Lnet/minecraft/class_6885;
      named getPreferredBiomes Lnet/minecraft/world/gen/chunk/placement/ConcentricRingsStructurePlacement;getPreferredBiomes()Lnet/minecraft/util/registry/RegistryEntryList;
    • 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;