Class PoolStructurePiece

java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.PoolStructurePiece

public class PoolStructurePiece
extends StructurePiece
Mappings:
Namespace Name
official cxb
intermediary net/minecraft/class_3790
named net/minecraft/structure/PoolStructurePiece
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Lcxb;d:Lorg/apache/logging/log4j/Logger;
      intermediary field_24991 Lnet/minecraft/class_3790;field_24991:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/structure/PoolStructurePiece;LOGGER:Lorg/apache/logging/log4j/Logger;
    • poolElement

      protected final StructurePoolElement poolElement
      Mappings:
      Namespace Name Mixin selector
      official a Lcxb;a:Lctw;
      intermediary field_16693 Lnet/minecraft/class_3790;field_16693:Lnet/minecraft/class_3784;
      named poolElement Lnet/minecraft/structure/PoolStructurePiece;poolElement:Lnet/minecraft/structure/pool/StructurePoolElement;
    • pos

      protected BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Lcxb;b:Lfx;
      intermediary field_16695 Lnet/minecraft/class_3790;field_16695:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/structure/PoolStructurePiece;pos:Lnet/minecraft/util/math/BlockPos;
    • groundLevelDelta

      private final int groundLevelDelta
      Mappings:
      Namespace Name Mixin selector
      official e Lcxb;e:I
      intermediary field_16692 Lnet/minecraft/class_3790;field_16692:I
      named groundLevelDelta Lnet/minecraft/structure/PoolStructurePiece;groundLevelDelta:I
    • rotation

      protected final BlockRotation rotation
      Mappings:
      Namespace Name Mixin selector
      official c Lcxb;c:Lccm;
      intermediary field_16694 Lnet/minecraft/class_3790;field_16694:Lnet/minecraft/class_2470;
      named rotation Lnet/minecraft/structure/PoolStructurePiece;rotation:Lnet/minecraft/util/BlockRotation;
    • junctions

      private final List<JigsawJunction> junctions
      Mappings:
      Namespace Name Mixin selector
      official f Lcxb;f:Ljava/util/List;
      intermediary field_16696 Lnet/minecraft/class_3790;field_16696:Ljava/util/List;
      named junctions Lnet/minecraft/structure/PoolStructurePiece;junctions:Ljava/util/List;
    • structureManager

      private final StructureManager structureManager
      Mappings:
      Namespace Name Mixin selector
      official g Lcxb;g:Lcyj;
      intermediary field_17660 Lnet/minecraft/class_3790;field_17660:Lnet/minecraft/class_3485;
      named structureManager Lnet/minecraft/structure/PoolStructurePiece;structureManager:Lnet/minecraft/structure/StructureManager;
  • Constructor Details

    • PoolStructurePiece

      public PoolStructurePiece​(StructureManager structureManager, StructurePoolElement poolElement, BlockPos pos, int groundLevelDelta, BlockRotation rotation, BlockBox boundingBox)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxb;<init>(Lcyj;Lctw;Lfx;ILccm;Lcwn;)V
      intermediary <init> Lnet/minecraft/class_3790;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_3784;Lnet/minecraft/class_2338;ILnet/minecraft/class_2470;Lnet/minecraft/class_3341;)V
      named <init> Lnet/minecraft/structure/PoolStructurePiece;<init>(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/structure/pool/StructurePoolElement;Lnet/minecraft/util/math/BlockPos;ILnet/minecraft/util/BlockRotation;Lnet/minecraft/util/math/BlockBox;)V
    • PoolStructurePiece

      public PoolStructurePiece​(StructureManager manager, CompoundTag tag)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcxb;<init>(Lcyj;Lmq;)V
      intermediary <init> Lnet/minecraft/class_3790;<init>(Lnet/minecraft/class_3485;Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/structure/PoolStructurePiece;<init>(Lnet/minecraft/structure/StructureManager;Lnet/minecraft/nbt/CompoundTag;)V
  • Method Details

    • toNbt

      protected void toNbt​(CompoundTag tag)
      Specified by:
      toNbt in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Lcxh;a(Lmq;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_2487;)V
      named toNbt Lnet/minecraft/structure/StructurePiece;toNbt(Lnet/minecraft/nbt/CompoundTag;)V
    • generate

      public boolean generate​(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
      Specified by:
      generate in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Lcxh;a(Lbuq;Lbum;Lcjn;Ljava/util/Random;Lcwn;Lbta;Lfx;)Z
      intermediary method_14931 Lnet/minecraft/class_3443;method_14931(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;Lnet/minecraft/class_2338;)Z
      named generate Lnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/BlockPos;)Z
    • generate

      public boolean generate​(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, BlockPos pos, boolean keepJigsaws)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxb;a(Lbuq;Lbum;Lcjn;Ljava/util/Random;Lcwn;Lfx;Z)Z
      intermediary method_27236 Lnet/minecraft/class_3790;method_27236(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Ljava/util/Random;Lnet/minecraft/class_3341;Lnet/minecraft/class_2338;Z)Z
      named generate Lnet/minecraft/structure/PoolStructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Ljava/util/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockPos;Z)Z
    • translate

      public void translate​(int x, int y, int z)
      Overrides:
      translate in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official a Lcxh;a(III)V
      intermediary method_14922 Lnet/minecraft/class_3443;method_14922(III)V
      named translate Lnet/minecraft/structure/StructurePiece;translate(III)V
    • getRotation

      public BlockRotation getRotation()
      Overrides:
      getRotation in class StructurePiece
      Mappings:
      Namespace Name Mixin selector
      official au_ Lcxh;au_()Lccm;
      intermediary method_16888 Lnet/minecraft/class_3443;method_16888()Lnet/minecraft/class_2470;
      named getRotation Lnet/minecraft/structure/StructurePiece;getRotation()Lnet/minecraft/util/BlockRotation;
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Mappings:
      Namespace Name Mixin selector
      official toString Lcxb;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_3790;toString()Ljava/lang/String;
      named toString Lnet/minecraft/structure/PoolStructurePiece;toString()Ljava/lang/String;
    • getPoolElement

      public StructurePoolElement getPoolElement()
      Mappings:
      Namespace Name Mixin selector
      official b Lcxb;b()Lctw;
      intermediary method_16644 Lnet/minecraft/class_3790;method_16644()Lnet/minecraft/class_3784;
      named getPoolElement Lnet/minecraft/structure/PoolStructurePiece;getPoolElement()Lnet/minecraft/structure/pool/StructurePoolElement;
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official c Lcxb;c()Lfx;
      intermediary method_16648 Lnet/minecraft/class_3790;method_16648()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/structure/PoolStructurePiece;getPos()Lnet/minecraft/util/math/BlockPos;
    • getGroundLevelDelta

      public int getGroundLevelDelta()
      Mappings:
      Namespace Name Mixin selector
      official d Lcxb;d()I
      intermediary method_16646 Lnet/minecraft/class_3790;method_16646()I
      named getGroundLevelDelta Lnet/minecraft/structure/PoolStructurePiece;getGroundLevelDelta()I
    • addJunction

      public void addJunction​(JigsawJunction junction)
      Mappings:
      Namespace Name Mixin selector
      official a Lcxb;a(Lctr;)V
      intermediary method_16647 Lnet/minecraft/class_3790;method_16647(Lnet/minecraft/class_3780;)V
      named addJunction Lnet/minecraft/structure/PoolStructurePiece;addJunction(Lnet/minecraft/structure/JigsawJunction;)V
    • getJunctions

      public List<JigsawJunction> getJunctions()
      Mappings:
      Namespace Name Mixin selector
      official e Lcxb;e()Ljava/util/List;
      intermediary method_16645 Lnet/minecraft/class_3790;method_16645()Ljava/util/List;
      named getJunctions Lnet/minecraft/structure/PoolStructurePiece;getJunctions()Ljava/util/List;