Class StructurePlacement

java.lang.Object
net.minecraft.world.gen.chunk.placement.StructurePlacement
Direct Known Subclasses:
ConcentricRingsStructurePlacement, RandomSpreadStructurePlacement

public abstract class StructurePlacement extends Object
Mappings:
Namespace Name
official dgs
intermediary net/minecraft/class_6874
named net/minecraft/world/gen/chunk/placement/StructurePlacement
  • Field Details

    • TYPE_CODEC

      public static final com.mojang.serialization.Codec<StructurePlacement> TYPE_CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Ldgs;b:Lcom/mojang/serialization/Codec;
      intermediary field_36428 Lnet/minecraft/class_6874;field_36428:Lcom/mojang/serialization/Codec;
      named TYPE_CODEC Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;TYPE_CODEC:Lcom/mojang/serialization/Codec;
    • field_37775

      private static final int field_37775
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Ldgs;a:I
      intermediary field_37775 Lnet/minecraft/class_6874;field_37775:I
      named field_37775 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;field_37775:I
    • field_37776

      private final Vec3i field_37776
      Mappings:
      Namespace Name Mixin selector
      official c Ldgs;c:Lhj;
      intermediary field_37776 Lnet/minecraft/class_6874;field_37776:Lnet/minecraft/class_2382;
      named field_37776 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;field_37776:Lnet/minecraft/util/math/Vec3i;
    • field_37777

      private final StructurePlacement.class_7154 field_37777
      Mappings:
      Namespace Name Mixin selector
      official d Ldgs;d:Ldgs$c;
      intermediary field_37777 Lnet/minecraft/class_6874;field_37777:Lnet/minecraft/class_6874$class_7154;
      named field_37777 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;field_37777:Lnet/minecraft/world/gen/chunk/placement/StructurePlacement$class_7154;
    • field_37778

      private final float field_37778
      Mappings:
      Namespace Name Mixin selector
      official e Ldgs;e:F
      intermediary field_37778 Lnet/minecraft/class_6874;field_37778:F
      named field_37778 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;field_37778:F
    • field_37779

      private final int field_37779
      Mappings:
      Namespace Name Mixin selector
      official f Ldgs;f:I
      intermediary field_37779 Lnet/minecraft/class_6874;field_37779:I
      named field_37779 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;field_37779:I
    • field_37780

      private final Optional<StructurePlacement.class_7152> field_37780
      Mappings:
      Namespace Name Mixin selector
      official g Ldgs;g:Ljava/util/Optional;
      intermediary field_37780 Lnet/minecraft/class_6874;field_37780:Ljava/util/Optional;
      named field_37780 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;field_37780:Ljava/util/Optional;
  • Constructor Details

  • Method Details

    • method_41637

      protected static <S extends StructurePlacement> com.mojang.datafixers.Products.P5<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<S>,Vec3i,StructurePlacement.class_7154,Float,Integer,Optional<StructurePlacement.class_7152>> method_41637(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<S> instance)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgs;a(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P5;
      intermediary method_41637 Lnet/minecraft/class_6874;method_41637(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P5;
      named method_41637 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41637(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P5;
    • method_41642

      protected Vec3i method_41642()
      Mappings:
      Namespace Name Mixin selector
      official f Ldgs;f()Lhj;
      intermediary method_41642 Lnet/minecraft/class_6874;method_41642()Lnet/minecraft/class_2382;
      named method_41642 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41642()Lnet/minecraft/util/math/Vec3i;
    • method_41643

      protected StructurePlacement.class_7154 method_41643()
      Mappings:
      Namespace Name Mixin selector
      official g Ldgs;g()Ldgs$c;
      intermediary method_41643 Lnet/minecraft/class_6874;method_41643()Lnet/minecraft/class_6874$class_7154;
      named method_41643 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41643()Lnet/minecraft/world/gen/chunk/placement/StructurePlacement$class_7154;
    • method_41644

      protected float method_41644()
      Mappings:
      Namespace Name Mixin selector
      official h Ldgs;h()F
      intermediary method_41644 Lnet/minecraft/class_6874;method_41644()F
      named method_41644 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41644()F
    • method_41645

      protected int method_41645()
      Mappings:
      Namespace Name Mixin selector
      official i Ldgs;i()I
      intermediary method_41645 Lnet/minecraft/class_6874;method_41645()I
      named method_41645 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41645()I
    • method_41646

      protected Optional<StructurePlacement.class_7152> method_41646()
      Mappings:
      Namespace Name Mixin selector
      official j Ldgs;j()Ljava/util/Optional;
      intermediary method_41646 Lnet/minecraft/class_6874;method_41646()Ljava/util/Optional;
      named method_41646 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41646()Ljava/util/Optional;
    • method_41639

      public boolean method_41639(ChunkGenerator chunkGenerator, class_7138 class_7138, long long2, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official b Ldgs;b(Lcsi;Lcwf;JII)Z
      intermediary method_41639 Lnet/minecraft/class_6874;method_41639(Lnet/minecraft/class_2794;Lnet/minecraft/class_7138;JII)Z
      named method_41639 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41639(Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/class_7138;JII)Z
    • isStartChunk

      protected abstract boolean isStartChunk(ChunkGenerator chunkGenerator, class_7138 class_7138, long long2, int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgs;a(Lcsi;Lcwf;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/class_7138;JII)Z
    • method_41636

      public BlockPos method_41636(ChunkPos chunkPos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgs;a(Lcbg;)Lgk;
      intermediary method_41636 Lnet/minecraft/class_6874;method_41636(Lnet/minecraft/class_1923;)Lnet/minecraft/class_2338;
      named method_41636 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41636(Lnet/minecraft/util/math/ChunkPos;)Lnet/minecraft/util/math/BlockPos;
    • getType

      public abstract StructurePlacementType<?> getType()
      Mappings:
      Namespace Name Mixin selector
      official e Ldgs;e()Ldgt;
      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;
    • method_41635

      private static boolean method_41635(long long2, int int2, int int3, int int4, float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgs;a(JIIIF)Z
      intermediary method_41635 Lnet/minecraft/class_6874;method_41635(JIIIF)Z
      named method_41635 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41635(JIIIF)Z
    • method_41638

      private static boolean method_41638(long long2, int int2, int int3, int int4, float float2)
      Mappings:
      Namespace Name Mixin selector
      official b Ldgs;b(JIIIF)Z
      intermediary method_41638 Lnet/minecraft/class_6874;method_41638(JIIIF)Z
      named method_41638 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41638(JIIIF)Z
    • method_41640

      private static boolean method_41640(long long2, int int2, int int3, int int4, float float2)
      Mappings:
      Namespace Name Mixin selector
      official c Ldgs;c(JIIIF)Z
      intermediary method_41640 Lnet/minecraft/class_6874;method_41640(JIIIF)Z
      named method_41640 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41640(JIIIF)Z
    • method_41641

      private static boolean method_41641(long long2, int int2, int int3, int int4, float float2)
      Mappings:
      Namespace Name Mixin selector
      official d Ldgs;d(JIIIF)Z
      intermediary method_41641 Lnet/minecraft/class_6874;method_41641(JIIIF)Z
      named method_41641 Lnet/minecraft/world/gen/chunk/placement/StructurePlacement;method_41641(JIIIF)Z