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 dpj
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 Ldpj;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 Ldpj;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 Ldpj;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 Ldpj;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 Ldpj;f:Lhd;
      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/registry/entry/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> Ldpj;<init>(Lhu;Ldpm$c;FILjava/util/Optional;IIILhd;)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/registry/entry/RegistryEntryList;)V
    • ConcentricRingsStructurePlacement

      public ConcentricRingsStructurePlacement(int distance, int spread, int structureCount, RegistryEntryList<Biome> preferredBiomes)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldpj;<init>(IIILhd;)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/registry/entry/RegistryEntryList;)V
  • Method Details

    • buildConcentricRingsCodec

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

      public int getDistance()
      Mappings:
      Namespace Name Mixin selector
      official a Ldpj;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 Ldpj;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 Ldpj;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 Ldpj;d()Lhd;
      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/registry/entry/RegistryEntryList;
    • isStartChunk

      protected boolean isStartChunk(StructurePlacementCalculator calculator, int chunkX, int chunkZ)
      Specified by:
      isStartChunk in class StructurePlacement
      Mappings:
      Namespace Name Mixin selector
      official a Ldpm;a(Ldar;II)Z
      intermediary method_40168 Lnet/minecraft/class_6874;method_40168(Lnet/minecraft/class_7869;II)Z
      named isStartChunk Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;isStartChunk(Lnet/minecraft/world/gen/chunk/placement/StructurePlacementCalculator;II)Z
    • getType

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