Class StructurePiece

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

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

    • field_29327

      private static final Logger field_29327
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_29327 Lnet/minecraft/class_3443;field_29327:Lorg/apache/logging/log4j/Logger;
      named field_29327 Lnet/minecraft/structure/StructurePiece;field_29327:Lorg/apache/logging/log4j/Logger;
    • AIR

      protected static final BlockState AIR
      Mappings:
      Namespace Name Mixin selector
      official z Ldak;z:Lcjr;
      intermediary field_15314 Lnet/minecraft/class_3443;field_15314:Lnet/minecraft/class_2680;
      named AIR Lnet/minecraft/structure/StructurePiece;AIR:Lnet/minecraft/block/BlockState;
    • BLOCKS_NEEDING_POST_PROCESSING

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

      protected BlockBox boundingBox
      Mappings:
      Namespace Name Mixin selector
      official A Ldak;A:Lczp;
      intermediary field_15315 Lnet/minecraft/class_3443;field_15315:Lnet/minecraft/class_3341;
      named boundingBox Lnet/minecraft/structure/StructurePiece;boundingBox:Lnet/minecraft/util/math/BlockBox;
    • facing

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

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

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

      protected int chainLength
      Mappings:
      Namespace Name Mixin selector
      official B Ldak;B:I
      intermediary field_15316 Lnet/minecraft/class_3443;field_15316:I
      named chainLength Lnet/minecraft/structure/StructurePiece;chainLength:I
    • type

      private final StructurePieceType type
      Mappings:
      Namespace Name Mixin selector
      official e Ldak;e:Lcsw;
      intermediary field_16712 Lnet/minecraft/class_3443;field_16712:Lnet/minecraft/class_3773;
      named type Lnet/minecraft/structure/StructurePiece;type:Lnet/minecraft/structure/StructurePieceType;
  • Constructor Details

    • StructurePiece

      protected StructurePiece​(StructurePieceType type, int length, BlockBox blockBox)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldak;<init>(Lcsw;ILczp;)V
      intermediary <init> Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3341;)V
      named <init> Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/BlockBox;)V
    • StructurePiece

      public StructurePiece​(StructurePieceType type, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldak;<init>(Lcsw;Lmv;)V
      intermediary <init> Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
  • Method Details

    • method_35454

      protected static BlockBox method_35454​(int int2, int int3, int int4, Direction direction, int int5, int int6, int int7)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(IIILgg;III)Lczp;
      intermediary method_35454 Lnet/minecraft/class_3443;method_35454(IIILnet/minecraft/class_2350;III)Lnet/minecraft/class_3341;
      named method_35454 Lnet/minecraft/structure/StructurePiece;method_35454(IIILnet/minecraft/util/math/Direction;III)Lnet/minecraft/util/math/BlockBox;
    • method_35457

      protected static Direction method_35457​(Random random)
      Mappings:
      Namespace Name Mixin selector
      official b Ldak;b(Ljava/util/Random;)Lgg;
      intermediary method_35457 Lnet/minecraft/class_3443;method_35457(Ljava/util/Random;)Lnet/minecraft/class_2350;
      named method_35457 Lnet/minecraft/structure/StructurePiece;method_35457(Ljava/util/Random;)Lnet/minecraft/util/math/Direction;
    • toNbt

      public final NbtCompound toNbt​(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Labj;)Lmv;
      intermediary method_14946 Lnet/minecraft/class_3443;method_14946(Lnet/minecraft/class_3218;)Lnet/minecraft/class_2487;
      named toNbt Lnet/minecraft/structure/StructurePiece;toNbt(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/nbt/NbtCompound;
    • writeNbt

      protected abstract void writeNbt​(ServerWorld world, NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Labj;Lmv;)V
      intermediary method_14943 Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)V
      named writeNbt Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;)V
    • method_33882

      public StructureWeightType method_33882()
      Mappings:
      Namespace Name Mixin selector
      official av_ Ldak;av_()Lcrz;
      intermediary method_33882 Lnet/minecraft/class_3443;method_33882()Lnet/minecraft/class_5847;
      named method_33882 Lnet/minecraft/structure/StructurePiece;method_33882()Lnet/minecraft/world/gen/StructureWeightType;
    • fillOpenings

      public void fillOpenings​(StructurePiece start, class_6130 class_6130, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Ldak;Ldal;Ljava/util/Random;)V
      intermediary method_14918 Lnet/minecraft/class_3443;method_14918(Lnet/minecraft/class_3443;Lnet/minecraft/class_6130;Ljava/util/Random;)V
      named fillOpenings Lnet/minecraft/structure/StructurePiece;fillOpenings(Lnet/minecraft/structure/StructurePiece;Lnet/minecraft/class_6130;Ljava/util/Random;)V
    • generate

      public abstract boolean generate​(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbwm;Lbwi;Lclm;Ljava/util/Random;Lczp;Lbuw;Lgb;)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
    • getBoundingBox

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

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

      public boolean intersectsChunk​(ChunkPos pos, int offset)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbuw;I)Z
      intermediary method_16654 Lnet/minecraft/class_3443;method_16654(Lnet/minecraft/class_1923;I)Z
      named intersectsChunk Lnet/minecraft/structure/StructurePiece;intersectsChunk(Lnet/minecraft/util/math/ChunkPos;I)Z
    • method_35458

      public BlockPos method_35458()
      Mappings:
      Namespace Name Mixin selector
      official c Ldak;c()Lgb;
      intermediary method_35458 Lnet/minecraft/class_3443;method_35458()Lnet/minecraft/class_2338;
      named method_35458 Lnet/minecraft/structure/StructurePiece;method_35458()Lnet/minecraft/util/math/BlockPos;
    • offsetPos

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

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

      protected int applyYTransform​(int y)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(I)I
      intermediary method_14924 Lnet/minecraft/class_3443;method_14924(I)I
      named applyYTransform Lnet/minecraft/structure/StructurePiece;applyYTransform(I)I
    • applyZTransform

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

      protected void addBlock​(StructureWorldAccess world, BlockState block, int x, int int2, int int3, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      official c Ldak;c(Lbwm;Lcjr;IIILczp;)V
      intermediary method_14917 Lnet/minecraft/class_3443;method_14917(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)V
      named addBlock Lnet/minecraft/structure/StructurePiece;addBlock(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)V
    • canAddBlock

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

      protected BlockState getBlockAt​(BlockView world, int x, int int2, int int3, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbuv;IIILczp;)Lcjr;
      intermediary method_14929 Lnet/minecraft/class_3443;method_14929(Lnet/minecraft/class_1922;IIILnet/minecraft/class_3341;)Lnet/minecraft/class_2680;
      named getBlockAt Lnet/minecraft/structure/StructurePiece;getBlockAt(Lnet/minecraft/world/BlockView;IIILnet/minecraft/util/math/BlockBox;)Lnet/minecraft/block/BlockState;
    • isUnderSeaLevel

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

      protected void fill​(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ)
      Mappings:
      Namespace Name Mixin selector
      official b Ldak;b(Lbwm;Lczp;IIIIII)V
      intermediary method_14942 Lnet/minecraft/class_3443;method_14942(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIII)V
      named fill Lnet/minecraft/structure/StructurePiece;fill(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIII)V
    • fillWithOutline

      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
      official a Ldak;a(Lbwm;Lczp;IIIIIILcjr;Lcjr;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
      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
    • method_35455

      protected void method_35455​(StructureWorldAccess structureWorldAccess, BlockBox blockBox, BlockBox blockBox2, BlockState blockState, BlockState blockState2, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbwm;Lczp;Lczp;Lcjr;Lcjr;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
      named method_35455 Lnet/minecraft/structure/StructurePiece;method_35455(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Z)V
    • fillWithOutline

      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
      official a Ldak;a(Lbwm;Lczp;IIIIIIZLjava/util/Random;Ldak$a;)V
      intermediary method_14938 Lnet/minecraft/class_3443;method_14938(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIIZLjava/util/Random;Lnet/minecraft/class_3443$class_3444;)V
      named fillWithOutline Lnet/minecraft/structure/StructurePiece;fillWithOutline(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIIZLjava/util/Random;Lnet/minecraft/structure/StructurePiece$BlockRandomizer;)V
    • method_35456

      protected void method_35456​(StructureWorldAccess structureWorldAccess, BlockBox blockBox, BlockBox blockBox2, boolean bool, Random random, StructurePiece.BlockRandomizer blockRandomizer)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbwm;Lczp;Lczp;ZLjava/util/Random;Ldak$a;)V
      intermediary method_35456 Lnet/minecraft/class_3443;method_35456(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_3341;ZLjava/util/Random;Lnet/minecraft/class_3443$class_3444;)V
      named method_35456 Lnet/minecraft/structure/StructurePiece;method_35456(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/BlockBox;ZLjava/util/Random;Lnet/minecraft/structure/StructurePiece$BlockRandomizer;)V
    • fillWithOutlineUnderSeaLevel

      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
      official a Ldak;a(Lbwm;Lczp;Ljava/util/Random;FIIIIIILcjr;Lcjr;ZZ)V
      intermediary method_14933 Lnet/minecraft/class_3443;method_14933(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Ljava/util/Random;FIIIIIILnet/minecraft/class_2680;Lnet/minecraft/class_2680;ZZ)V
      named fillWithOutlineUnderSeaLevel Lnet/minecraft/structure/StructurePiece;fillWithOutlineUnderSeaLevel(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;FIIIIIILnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;ZZ)V
    • addBlockWithRandomThreshold

      protected void addBlockWithRandomThreshold​(StructureWorldAccess world, BlockBox bounds, Random random, float threshold, int x, int y, int z, BlockState state, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbwm;Lczp;Ljava/util/Random;FIIILcjr;Z)V
      intermediary method_14945 Lnet/minecraft/class_3443;method_14945(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Ljava/util/Random;FIIILnet/minecraft/class_2680;Z)V
      named addBlockWithRandomThreshold Lnet/minecraft/structure/StructurePiece;addBlockWithRandomThreshold(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;FIIILnet/minecraft/block/BlockState;Z)V
    • fillHalfEllipsoid

      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
      official a Ldak;a(Lbwm;Lczp;IIIIIILcjr;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
      named fillHalfEllipsoid Lnet/minecraft/structure/StructurePiece;fillHalfEllipsoid(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIILnet/minecraft/block/BlockState;Z)V
    • fillDownwards

      protected void fillDownwards​(StructureWorldAccess world, BlockState state, int x, int int2, int int3, BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbwm;Lcjr;IIILczp;)V
      intermediary method_14936 Lnet/minecraft/class_3443;method_14936(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)V
      named fillDownwards Lnet/minecraft/structure/StructurePiece;fillDownwards(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)V
    • canReplace

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

      protected boolean addChest​(StructureWorldAccess world, BlockBox boundingBox, Random random, int int2, int int3, int z, Identifier lootTableId)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbwm;Lczp;Ljava/util/Random;IIILwp;)Z
      intermediary method_14915 Lnet/minecraft/class_3443;method_14915(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Ljava/util/Random;IIILnet/minecraft/class_2960;)Z
      named addChest Lnet/minecraft/structure/StructurePiece;addChest(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;IIILnet/minecraft/util/Identifier;)Z
    • orientateChest

      public static BlockState orientateChest​(BlockView world, BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbuv;Lgb;Lcjr;)Lcjr;
      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;
      named orientateChest Lnet/minecraft/structure/StructurePiece;orientateChest(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
    • addChest

      protected boolean addChest​(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, Identifier lootTableId, @Nullable @Nullable BlockState block)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbwf;Lczp;Ljava/util/Random;Lgb;Lwp;Lcjr;)Z
      intermediary method_14921 Lnet/minecraft/class_3443;method_14921(Lnet/minecraft/class_5425;Lnet/minecraft/class_3341;Ljava/util/Random;Lnet/minecraft/class_2338;Lnet/minecraft/class_2960;Lnet/minecraft/class_2680;)Z
      named addChest Lnet/minecraft/structure/StructurePiece;addChest(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Identifier;Lnet/minecraft/block/BlockState;)Z
    • addDispenser

      protected boolean addDispenser​(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int int2, int int3, Direction facing, Identifier lootTableId)
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a(Lbwm;Lczp;Ljava/util/Random;IIILgg;Lwp;)Z
      intermediary method_14930 Lnet/minecraft/class_3443;method_14930(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Ljava/util/Random;IIILnet/minecraft/class_2350;Lnet/minecraft/class_2960;)Z
      named addDispenser Lnet/minecraft/structure/StructurePiece;addDispenser(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;Lnet/minecraft/util/Identifier;)Z
    • translate

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

      @Nullable public @Nullable Direction getFacing()
      Mappings:
      Namespace Name Mixin selector
      official h Ldak;h()Lgg;
      intermediary method_14934 Lnet/minecraft/class_3443;method_14934()Lnet/minecraft/class_2350;
      named getFacing Lnet/minecraft/structure/StructurePiece;getFacing()Lnet/minecraft/util/math/Direction;
    • setOrientation

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

      public BlockRotation getRotation()
      Mappings:
      Namespace Name Mixin selector
      official a Ldak;a()Lcek;
      intermediary method_16888 Lnet/minecraft/class_3443;method_16888()Lnet/minecraft/class_2470;
      named getRotation Lnet/minecraft/structure/StructurePiece;getRotation()Lnet/minecraft/util/BlockRotation;
    • method_35460

      public BlockMirror method_35460()
      Mappings:
      Namespace Name Mixin selector
      official i Ldak;i()Lccy;
      intermediary method_35460 Lnet/minecraft/class_3443;method_35460()Lnet/minecraft/class_2415;
      named method_35460 Lnet/minecraft/structure/StructurePiece;method_35460()Lnet/minecraft/util/BlockMirror;
    • getType

      public StructurePieceType getType()
      Mappings:
      Namespace Name Mixin selector
      official j Ldak;j()Lcsw;
      intermediary method_16653 Lnet/minecraft/class_3443;method_16653()Lnet/minecraft/class_3773;
      named getType Lnet/minecraft/structure/StructurePiece;getType()Lnet/minecraft/structure/StructurePieceType;