Class StructurePiece

java.lang.Object
net.minecraft.structure.StructurePiece
Direct Known Subclasses:
BuriedTreasureGenerator.Piece, MineshaftGenerator.MineshaftPart, NetherFortressGenerator.Piece, OceanMonumentGenerator.Piece, PoolStructurePiece, ShiftableStructurePiece, SimpleStructurePiece, StrongholdGenerator.Piece

public abstract class StructurePiece extends Object
Mappings:
Namespace Name
named net/minecraft/structure/StructurePiece
intermediary net/minecraft/class_3443
official enr
  • Field Details Link icon

    • LOGGER Link icon

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/structure/StructurePiece;LOGGER:Lorg/slf4j/Logger;
      intermediary field_29327 Lnet/minecraft/class_3443;field_29327:Lorg/slf4j/Logger;
      official a Lenr;a:Lorg/slf4j/Logger;
    • AIR Link icon

      protected static final BlockState AIR
      Mappings:
      Namespace Name Mixin selector
      named AIR Lnet/minecraft/structure/StructurePiece;AIR:Lnet/minecraft/block/BlockState;
      intermediary field_15314 Lnet/minecraft/class_3443;field_15314:Lnet/minecraft/class_2680;
      official e Lenr;e:Ldwy;
    • BLOCKS_NEEDING_POST_PROCESSING Link icon

      private static final Set<Block> BLOCKS_NEEDING_POST_PROCESSING
      Mappings:
      Namespace Name Mixin selector
      named BLOCKS_NEEDING_POST_PROCESSING Lnet/minecraft/structure/StructurePiece;BLOCKS_NEEDING_POST_PROCESSING:Ljava/util/Set;
      intermediary field_15311 Lnet/minecraft/class_3443;field_15311:Ljava/util/Set;
      official i Lenr;i:Ljava/util/Set;
    • boundingBox Link icon

      protected BlockBox boundingBox
      Mappings:
      Namespace Name Mixin selector
      named boundingBox Lnet/minecraft/structure/StructurePiece;boundingBox:Lnet/minecraft/util/math/BlockBox;
      intermediary field_15315 Lnet/minecraft/class_3443;field_15315:Lnet/minecraft/class_3341;
      official f Lenr;f:Lenf;
    • facing Link icon

      @Nullable private @Nullable Direction facing
      Mappings:
      Namespace Name Mixin selector
      named facing Lnet/minecraft/structure/StructurePiece;facing:Lnet/minecraft/util/math/Direction;
      intermediary field_15312 Lnet/minecraft/class_3443;field_15312:Lnet/minecraft/class_2350;
      official b Lenr;b:Ljn;
    • mirror Link icon

      private BlockMirror mirror
      Mappings:
      Namespace Name Mixin selector
      named mirror Lnet/minecraft/structure/StructurePiece;mirror:Lnet/minecraft/util/BlockMirror;
      intermediary field_15310 Lnet/minecraft/class_3443;field_15310:Lnet/minecraft/class_2415;
      official c Lenr;c:Ldom;
    • rotation Link icon

      private BlockRotation rotation
      Mappings:
      Namespace Name Mixin selector
      named rotation Lnet/minecraft/structure/StructurePiece;rotation:Lnet/minecraft/util/BlockRotation;
      intermediary field_15313 Lnet/minecraft/class_3443;field_15313:Lnet/minecraft/class_2470;
      official d Lenr;d:Ldqf;
    • chainLength Link icon

      protected int chainLength
      Mappings:
      Namespace Name Mixin selector
      named chainLength Lnet/minecraft/structure/StructurePiece;chainLength:I
      intermediary field_15316 Lnet/minecraft/class_3443;field_15316:I
      official g Lenr;g:I
    • type Link icon

      private final StructurePieceType type
      Mappings:
      Namespace Name Mixin selector
      named type Lnet/minecraft/structure/StructurePiece;type:Lnet/minecraft/structure/StructurePieceType;
      intermediary field_16712 Lnet/minecraft/class_3443;field_16712:Lnet/minecraft/class_3773;
      official h Lenr;h:Leoe;
  • Constructor Details Link icon

    • StructurePiece Link icon

      protected StructurePiece(StructurePieceType type, int length, BlockBox boundingBox)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/BlockBox;)V
      intermediary <init> Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3341;)V
      official <init> Lenr;<init>(Leoe;ILenf;)V
    • StructurePiece Link icon

      public StructurePiece(StructurePieceType type, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary <init> Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)V
      official <init> Lenr;<init>(Leoe;Ltq;)V
  • Method Details Link icon

    • createBox Link icon

      protected static BlockBox createBox(int x, int y, int z, Direction orientation, int width, int height, int depth)
      Mappings:
      Namespace Name Mixin selector
      named createBox Lnet/minecraft/structure/StructurePiece;createBox(IIILnet/minecraft/util/math/Direction;III)Lnet/minecraft/util/math/BlockBox;
      intermediary method_35454 Lnet/minecraft/class_3443;method_35454(IIILnet/minecraft/class_2350;III)Lnet/minecraft/class_3341;
      official a Lenr;a(IIILjn;III)Lenf;
    • getRandomHorizontalDirection Link icon

      protected static Direction getRandomHorizontalDirection(Random random)
      Mappings:
      Namespace Name Mixin selector
      named getRandomHorizontalDirection Lnet/minecraft/structure/StructurePiece;getRandomHorizontalDirection(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/Direction;
      intermediary method_35457 Lnet/minecraft/class_3443;method_35457(Lnet/minecraft/class_5819;)Lnet/minecraft/class_2350;
      official a Lenr;a(Lazh;)Ljn;
    • toNbt Link icon

      public final NbtCompound toNbt(StructureContext context)
      Mappings:
      Namespace Name Mixin selector
      named toNbt Lnet/minecraft/structure/StructurePiece;toNbt(Lnet/minecraft/structure/StructureContext;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_14946 Lnet/minecraft/class_3443;method_14946(Lnet/minecraft/class_6625;)Lnet/minecraft/class_2487;
      official a Lenr;a(Leod;)Ltq;
    • writeNbt Link icon

      protected abstract void writeNbt(StructureContext context, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named writeNbt Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)V
      official a Lenr;a(Leod;Ltq;)V
    • fillOpenings Link icon

      public void fillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random)
      Mappings:
      Namespace Name Mixin selector
      named fillOpenings Lnet/minecraft/structure/StructurePiece;fillOpenings(Lnet/minecraft/structure/StructurePiece;Lnet/minecraft/structure/StructurePiecesHolder;Lnet/minecraft/util/math/random/Random;)V
      intermediary method_14918 Lnet/minecraft/class_3443;method_14918(Lnet/minecraft/class_3443;Lnet/minecraft/class_6130;Lnet/minecraft/class_5819;)V
      official a Lenr;a(Lenr;Lens;Lazh;)V
    • generate Link icon

      public abstract void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot)
      Mappings:
      Namespace Name Mixin selector
      named generate Lnet/minecraft/structure/StructurePiece;generate(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/world/gen/StructureAccessor;Lnet/minecraft/world/gen/chunk/ChunkGenerator;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/ChunkPos;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_14931 Lnet/minecraft/class_3443;method_14931(Lnet/minecraft/class_5281;Lnet/minecraft/class_5138;Lnet/minecraft/class_2794;Lnet/minecraft/class_5819;Lnet/minecraft/class_3341;Lnet/minecraft/class_1923;Lnet/minecraft/class_2338;)V
      official a Lenr;a(Ldhh;Ldhf;Ldyu;Lazh;Lenf;Ldfp;Lji;)V
    • getBoundingBox Link icon

      public BlockBox getBoundingBox()
      Mappings:
      Namespace Name Mixin selector
      named getBoundingBox Lnet/minecraft/structure/StructurePiece;getBoundingBox()Lnet/minecraft/util/math/BlockBox;
      intermediary method_14935 Lnet/minecraft/class_3443;method_14935()Lnet/minecraft/class_3341;
      official f Lenr;f()Lenf;
    • getChainLength Link icon

      public int getChainLength()
      Mappings:
      Namespace Name Mixin selector
      named getChainLength Lnet/minecraft/structure/StructurePiece;getChainLength()I
      intermediary method_14923 Lnet/minecraft/class_3443;method_14923()I
      official g Lenr;g()I
    • setChainLength Link icon

      public void setChainLength(int chainLength)
      Mappings:
      Namespace Name Mixin selector
      named setChainLength Lnet/minecraft/structure/StructurePiece;setChainLength(I)V
      intermediary method_41620 Lnet/minecraft/class_3443;method_41620(I)V
      official a Lenr;a(I)V
    • intersectsChunk Link icon

      public boolean intersectsChunk(ChunkPos pos, int offset)
      Mappings:
      Namespace Name Mixin selector
      named intersectsChunk Lnet/minecraft/structure/StructurePiece;intersectsChunk(Lnet/minecraft/util/math/ChunkPos;I)Z
      intermediary method_16654 Lnet/minecraft/class_3443;method_16654(Lnet/minecraft/class_1923;I)Z
      official a Lenr;a(Ldfp;I)Z
    • getCenter Link icon

      public BlockPos getCenter()
      Mappings:
      Namespace Name Mixin selector
      named getCenter Lnet/minecraft/structure/StructurePiece;getCenter()Lnet/minecraft/util/math/BlockPos;
      intermediary method_35458 Lnet/minecraft/class_3443;method_35458()Lnet/minecraft/class_2338;
      official h Lenr;h()Lji;
    • offsetPos Link icon

      protected BlockPos.Mutable offsetPos(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named offsetPos Lnet/minecraft/structure/StructurePiece;offsetPos(III)Lnet/minecraft/util/math/BlockPos$Mutable;
      intermediary method_33781 Lnet/minecraft/class_3443;method_33781(III)Lnet/minecraft/class_2338$class_2339;
      official b Lenr;b(III)Lji$a;
    • applyXTransform Link icon

      protected int applyXTransform(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named applyXTransform Lnet/minecraft/structure/StructurePiece;applyXTransform(II)I
      intermediary method_14928 Lnet/minecraft/class_3443;method_14928(II)I
      official a Lenr;a(II)I
    • applyYTransform Link icon

      protected int applyYTransform(int y)
      Mappings:
      Namespace Name Mixin selector
      named applyYTransform Lnet/minecraft/structure/StructurePiece;applyYTransform(I)I
      intermediary method_14924 Lnet/minecraft/class_3443;method_14924(I)I
      official b Lenr;b(I)I
    • applyZTransform Link icon

      protected int applyZTransform(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      named applyZTransform Lnet/minecraft/structure/StructurePiece;applyZTransform(II)I
      intermediary method_14941 Lnet/minecraft/class_3443;method_14941(II)I
      official b Lenr;b(II)I
    • addBlock Link icon

      protected void addBlock(StructureWorldAccess world, BlockState block, int x, int y, int z, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named addBlock Lnet/minecraft/structure/StructurePiece;addBlock(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)V
      intermediary method_14917 Lnet/minecraft/class_3443;method_14917(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)V
      official a Lenr;a(Ldhh;Ldwy;IIILenf;)V
    • canAddBlock Link icon

      protected boolean canAddBlock(WorldView world, int x, int y, int z, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named canAddBlock Lnet/minecraft/structure/StructurePiece;canAddBlock(Lnet/minecraft/world/WorldView;IIILnet/minecraft/util/math/BlockBox;)Z
      intermediary method_33780 Lnet/minecraft/class_3443;method_33780(Lnet/minecraft/class_4538;IIILnet/minecraft/class_3341;)Z
      official a Lenr;a(Ldgm;IIILenf;)Z
    • getBlockAt Link icon

      protected BlockState getBlockAt(BlockView world, int x, int y, int z, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named getBlockAt Lnet/minecraft/structure/StructurePiece;getBlockAt(Lnet/minecraft/world/BlockView;IIILnet/minecraft/util/math/BlockBox;)Lnet/minecraft/block/BlockState;
      intermediary method_14929 Lnet/minecraft/class_3443;method_14929(Lnet/minecraft/class_1922;IIILnet/minecraft/class_3341;)Lnet/minecraft/class_2680;
      official a Lenr;a(Ldfo;IIILenf;)Ldwy;
    • isUnderSeaLevel Link icon

      protected boolean isUnderSeaLevel(WorldView world, int x, int z, int y, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named isUnderSeaLevel Lnet/minecraft/structure/StructurePiece;isUnderSeaLevel(Lnet/minecraft/world/WorldView;IIILnet/minecraft/util/math/BlockBox;)Z
      intermediary method_14939 Lnet/minecraft/class_3443;method_14939(Lnet/minecraft/class_4538;IIILnet/minecraft/class_3341;)Z
      official b Lenr;b(Ldgm;IIILenf;)Z
    • fill Link icon

      protected void fill(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
      Mappings:
      Namespace Name Mixin selector
      named fill Lnet/minecraft/structure/StructurePiece;fill(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIII)V
      intermediary method_14942 Lnet/minecraft/class_3443;method_14942(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIII)V
      official a Lenr;a(Ldhh;Lenf;IIIIII)V
    • fillWithOutline Link icon

      protected void fillWithOutline(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir)
      Mappings:
      Namespace Name Mixin selector
      named fillWithOutline Lnet/minecraft/structure/StructurePiece;fillWithOutline(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIILnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Z)V
      intermediary method_14940 Lnet/minecraft/class_3443;method_14940(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIILnet/minecraft/class_2680;Lnet/minecraft/class_2680;Z)V
      official a Lenr;a(Ldhh;Lenf;IIIIIILdwy;Ldwy;Z)V
    • fillWithOutline Link icon

      protected void fillWithOutline(StructureWorldAccess world, BlockBox box, BlockBox fillBox, BlockState outline, BlockState inside, boolean cantReplaceAir)
      Mappings:
      Namespace Name Mixin selector
      named fillWithOutline Lnet/minecraft/structure/StructurePiece;fillWithOutline(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Z)V
      intermediary method_35455 Lnet/minecraft/class_3443;method_35455(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_3341;Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Z)V
      official a Lenr;a(Ldhh;Lenf;Lenf;Ldwy;Ldwy;Z)V
    • fillWithOutline Link icon

      protected void fillWithOutline(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean cantReplaceAir, Random random, StructurePiece.BlockRandomizer randomizer)
      Mappings:
      Namespace Name Mixin selector
      named fillWithOutline Lnet/minecraft/structure/StructurePiece;fillWithOutline(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIIZLnet/minecraft/util/math/random/Random;Lnet/minecraft/structure/StructurePiece$BlockRandomizer;)V
      intermediary method_14938 Lnet/minecraft/class_3443;method_14938(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIIZLnet/minecraft/class_5819;Lnet/minecraft/class_3443$class_3444;)V
      official a Lenr;a(Ldhh;Lenf;IIIIIIZLazh;Lenr$a;)V
    • fillWithOutline Link icon

      protected void fillWithOutline(StructureWorldAccess world, BlockBox box, BlockBox fillBox, boolean cantReplaceAir, Random random, StructurePiece.BlockRandomizer randomizer)
      Mappings:
      Namespace Name Mixin selector
      named fillWithOutline Lnet/minecraft/structure/StructurePiece;fillWithOutline(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockBox;ZLnet/minecraft/util/math/random/Random;Lnet/minecraft/structure/StructurePiece$BlockRandomizer;)V
      intermediary method_35456 Lnet/minecraft/class_3443;method_35456(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_3341;ZLnet/minecraft/class_5819;Lnet/minecraft/class_3443$class_3444;)V
      official a Lenr;a(Ldhh;Lenf;Lenf;ZLazh;Lenr$a;)V
    • fillWithOutlineUnderSeaLevel Link icon

      protected void fillWithOutlineUnderSeaLevel(StructureWorldAccess world, BlockBox box, Random random, float blockChance, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir, boolean stayBelowSeaLevel)
      Mappings:
      Namespace Name Mixin selector
      named fillWithOutlineUnderSeaLevel Lnet/minecraft/structure/StructurePiece;fillWithOutlineUnderSeaLevel(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;FIIIIIILnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;ZZ)V
      intermediary method_14933 Lnet/minecraft/class_3443;method_14933(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;FIIIIIILnet/minecraft/class_2680;Lnet/minecraft/class_2680;ZZ)V
      official a Lenr;a(Ldhh;Lenf;Lazh;FIIIIIILdwy;Ldwy;ZZ)V
    • addBlockWithRandomThreshold Link icon

      protected void addBlockWithRandomThreshold(StructureWorldAccess world, BlockBox bounds, Random random, float threshold, int x, int y, int z, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named addBlockWithRandomThreshold Lnet/minecraft/structure/StructurePiece;addBlockWithRandomThreshold(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;FIIILnet/minecraft/block/BlockState;)V
      intermediary method_14945 Lnet/minecraft/class_3443;method_14945(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;FIIILnet/minecraft/class_2680;)V
      official a Lenr;a(Ldhh;Lenf;Lazh;FIIILdwy;)V
    • fillHalfEllipsoid Link icon

      protected void fillHalfEllipsoid(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState block, boolean cantReplaceAir)
      Mappings:
      Namespace Name Mixin selector
      named fillHalfEllipsoid Lnet/minecraft/structure/StructurePiece;fillHalfEllipsoid(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIILnet/minecraft/block/BlockState;Z)V
      intermediary method_14919 Lnet/minecraft/class_3443;method_14919(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIILnet/minecraft/class_2680;Z)V
      official a Lenr;a(Ldhh;Lenf;IIIIIILdwy;Z)V
    • fillDownwards Link icon

      protected void fillDownwards(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named fillDownwards Lnet/minecraft/structure/StructurePiece;fillDownwards(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)V
      intermediary method_14936 Lnet/minecraft/class_3443;method_14936(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)V
      official b Lenr;b(Ldhh;Ldwy;IIILenf;)V
    • canReplace Link icon

      protected boolean canReplace(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named canReplace Lnet/minecraft/structure/StructurePiece;canReplace(Lnet/minecraft/block/BlockState;)Z
      intermediary method_33881 Lnet/minecraft/class_3443;method_33881(Lnet/minecraft/class_2680;)Z
      official a Lenr;a(Ldwy;)Z
    • addChest Link icon

      protected boolean addChest(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, RegistryKey<LootTable> lootTable)
      Mappings:
      Namespace Name Mixin selector
      named addChest Lnet/minecraft/structure/StructurePiece;addChest(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;IIILnet/minecraft/registry/RegistryKey;)Z
      intermediary method_14915 Lnet/minecraft/class_3443;method_14915(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;IIILnet/minecraft/class_5321;)Z
      official a Lenr;a(Ldhh;Lenf;Lazh;IIILaku;)Z
    • orientateChest Link icon

      public static BlockState orientateChest(BlockView world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named orientateChest Lnet/minecraft/structure/StructurePiece;orientateChest(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
      intermediary method_14916 Lnet/minecraft/class_3443;method_14916(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
      official a Lenr;a(Ldfo;Lji;Ldwy;)Ldwy;
    • addChest Link icon

      protected boolean addChest(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, RegistryKey<LootTable> lootTable, @Nullable @Nullable BlockState block)
      Mappings:
      Namespace Name Mixin selector
      named addChest Lnet/minecraft/structure/StructurePiece;addChest(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/registry/RegistryKey;Lnet/minecraft/block/BlockState;)Z
      intermediary method_14921 Lnet/minecraft/class_3443;method_14921(Lnet/minecraft/class_5425;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;Lnet/minecraft/class_2338;Lnet/minecraft/class_5321;Lnet/minecraft/class_2680;)Z
      official a Lenr;a(Ldha;Lenf;Lazh;Lji;Laku;Ldwy;)Z
    • addDispenser Link icon

      protected boolean addDispenser(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Direction facing, RegistryKey<LootTable> lootTable)
      Mappings:
      Namespace Name Mixin selector
      named addDispenser Lnet/minecraft/structure/StructurePiece;addDispenser(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;IIILnet/minecraft/util/math/Direction;Lnet/minecraft/registry/RegistryKey;)Z
      intermediary method_14930 Lnet/minecraft/class_3443;method_14930(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;IIILnet/minecraft/class_2350;Lnet/minecraft/class_5321;)Z
      official a Lenr;a(Ldhh;Lenf;Lazh;IIILjn;Laku;)Z
    • translate Link icon

      public void translate(int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      named translate Lnet/minecraft/structure/StructurePiece;translate(III)V
      intermediary method_14922 Lnet/minecraft/class_3443;method_14922(III)V
      official a Lenr;a(III)V
    • boundingBox Link icon

      public static BlockBox boundingBox(Stream<StructurePiece> pieces)
      Mappings:
      Namespace Name Mixin selector
      named boundingBox Lnet/minecraft/structure/StructurePiece;boundingBox(Ljava/util/stream/Stream;)Lnet/minecraft/util/math/BlockBox;
      intermediary method_38703 Lnet/minecraft/class_3443;method_38703(Ljava/util/stream/Stream;)Lnet/minecraft/class_3341;
      official a Lenr;a(Ljava/util/stream/Stream;)Lenf;
    • firstIntersecting Link icon

      @Nullable public static @Nullable StructurePiece firstIntersecting(List<StructurePiece> pieces, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named firstIntersecting Lnet/minecraft/structure/StructurePiece;firstIntersecting(Ljava/util/List;Lnet/minecraft/util/math/BlockBox;)Lnet/minecraft/structure/StructurePiece;
      intermediary method_38702 Lnet/minecraft/class_3443;method_38702(Ljava/util/List;Lnet/minecraft/class_3341;)Lnet/minecraft/class_3443;
      official a Lenr;a(Ljava/util/List;Lenf;)Lenr;
    • getFacing Link icon

      @Nullable public @Nullable Direction getFacing()
      Mappings:
      Namespace Name Mixin selector
      named getFacing Lnet/minecraft/structure/StructurePiece;getFacing()Lnet/minecraft/util/math/Direction;
      intermediary method_14934 Lnet/minecraft/class_3443;method_14934()Lnet/minecraft/class_2350;
      official i Lenr;i()Ljn;
    • setOrientation Link icon

      public void setOrientation(@Nullable @Nullable Direction orientation)
      Mappings:
      Namespace Name Mixin selector
      named setOrientation Lnet/minecraft/structure/StructurePiece;setOrientation(Lnet/minecraft/util/math/Direction;)V
      intermediary method_14926 Lnet/minecraft/class_3443;method_14926(Lnet/minecraft/class_2350;)V
      official a Lenr;a(Ljn;)V
    • getRotation Link icon

      public BlockRotation getRotation()
      Mappings:
      Namespace Name Mixin selector
      named getRotation Lnet/minecraft/structure/StructurePiece;getRotation()Lnet/minecraft/util/BlockRotation;
      intermediary method_16888 Lnet/minecraft/class_3443;method_16888()Lnet/minecraft/class_2470;
      official a Lenr;a()Ldqf;
    • getMirror Link icon

      public BlockMirror getMirror()
      Mappings:
      Namespace Name Mixin selector
      named getMirror Lnet/minecraft/structure/StructurePiece;getMirror()Lnet/minecraft/util/BlockMirror;
      intermediary method_35460 Lnet/minecraft/class_3443;method_35460()Lnet/minecraft/class_2415;
      official j Lenr;j()Ldom;
    • getType Link icon

      public StructurePieceType getType()
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/structure/StructurePiece;getType()Lnet/minecraft/structure/StructurePieceType;
      intermediary method_16653 Lnet/minecraft/class_3443;method_16653()Lnet/minecraft/class_3773;
      official k Lenr;k()Leoe;