Package net.minecraft.structure
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
- Mappings:
Namespace Name named net/minecraft/structure/StructurePieceintermediary net/minecraft/class_3443official erf
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final BlockStateprotected BlockBoxprotected intprivate BlockMirrorprivate BlockRotationprivate final StructurePieceType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStructurePiece(StructurePieceType type, int length, BlockBox boundingBox) StructurePiece(StructurePieceType type, NbtCompound nbt) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddBlock(StructureWorldAccess world, BlockState block, int x, int y, int z, BlockBox box) protected voidaddBlockWithRandomThreshold(StructureWorldAccess world, BlockBox bounds, Random random, float threshold, int x, int y, int z, BlockState state) protected booleanaddChest(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, RegistryKey<LootTable> lootTable, @Nullable BlockState block) protected booleanaddChest(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, RegistryKey<LootTable> lootTable) protected booleanaddDispenser(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, Direction facing, RegistryKey<LootTable> lootTable) protected intapplyXTransform(int x, int z) protected intapplyYTransform(int y) protected intapplyZTransform(int x, int z) static BlockBoxboundingBox(Stream<StructurePiece> pieces) protected booleancanAddBlock(WorldView world, int x, int y, int z, BlockBox box) protected booleancanReplace(BlockState state) protected static BlockBoxprotected voidfill(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ) protected voidfillDownwards(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) protected voidfillHalfEllipsoid(StructureWorldAccess world, BlockBox bounds, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState block, boolean cantReplaceAir) voidfillOpenings(StructurePiece start, StructurePiecesHolder holder, Random random) protected voidfillWithOutline(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, boolean cantReplaceAir, Random random, StructurePiece.BlockRandomizer randomizer) protected voidfillWithOutline(StructureWorldAccess world, BlockBox box, int minX, int minY, int minZ, int maxX, int maxY, int maxZ, BlockState outline, BlockState inside, boolean cantReplaceAir) protected voidfillWithOutline(StructureWorldAccess world, BlockBox box, BlockBox fillBox, boolean cantReplaceAir, Random random, StructurePiece.BlockRandomizer randomizer) protected voidfillWithOutline(StructureWorldAccess world, BlockBox box, BlockBox fillBox, BlockState outline, BlockState inside, boolean cantReplaceAir) protected voidfillWithOutlineUnderSeaLevel(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) static @Nullable StructurePiecefirstIntersecting(List<StructurePiece> pieces, BlockBox box) abstract voidgenerate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) protected BlockStategetBlockAt(BlockView world, int x, int y, int z, BlockBox box) intprotected static DirectiongetRandomHorizontalDirection(Random random) getType()booleanintersectsChunk(ChunkPos pos, int offset) protected booleanisUnderSeaLevel(WorldView world, int x, int z, int y, BlockBox box) protected BlockPos.MutableoffsetPos(int x, int y, int z) static BlockStateorientateChest(BlockView world, BlockPos pos, BlockState state) voidsetChainLength(int chainLength) voidsetOrientation(@Nullable Direction orientation) final NbtCompoundtoNbt(StructureContext context) voidtranslate(int x, int y, int z) protected abstract voidwriteNbt(StructureContext context, NbtCompound nbt)
-
Field Details
-
AIR
- Mappings:
Namespace Name Mixin selector named AIRLnet/minecraft/structure/StructurePiece;AIR:Lnet/minecraft/block/BlockState;intermediary field_15314Lnet/minecraft/class_3443;field_15314:Lnet/minecraft/class_2680;official eLerf;e:Leah;
-
BLOCKS_NEEDING_POST_PROCESSING
- Mappings:
Namespace Name Mixin selector named BLOCKS_NEEDING_POST_PROCESSINGLnet/minecraft/structure/StructurePiece;BLOCKS_NEEDING_POST_PROCESSING:Ljava/util/Set;intermediary field_15311Lnet/minecraft/class_3443;field_15311:Ljava/util/Set;official hLerf;h:Ljava/util/Set;
-
boundingBox
- Mappings:
Namespace Name Mixin selector named boundingBoxLnet/minecraft/structure/StructurePiece;boundingBox:Lnet/minecraft/util/math/BlockBox;intermediary field_15315Lnet/minecraft/class_3443;field_15315:Lnet/minecraft/class_3341;official fLerf;f:Leqt;
-
facing
- Mappings:
Namespace Name Mixin selector named facingLnet/minecraft/structure/StructurePiece;facing:Lnet/minecraft/util/math/Direction;intermediary field_15312Lnet/minecraft/class_3443;field_15312:Lnet/minecraft/class_2350;official aLerf;a:Lja;
-
mirror
- Mappings:
Namespace Name Mixin selector named mirrorLnet/minecraft/structure/StructurePiece;mirror:Lnet/minecraft/util/BlockMirror;intermediary field_15310Lnet/minecraft/class_3443;field_15310:Lnet/minecraft/class_2415;official bLerf;b:Ldri;
-
rotation
- Mappings:
Namespace Name Mixin selector named rotationLnet/minecraft/structure/StructurePiece;rotation:Lnet/minecraft/util/BlockRotation;intermediary field_15313Lnet/minecraft/class_3443;field_15313:Lnet/minecraft/class_2470;official cLerf;c:Ldsz;
-
chainLength
protected int chainLength- Mappings:
Namespace Name Mixin selector named chainLengthLnet/minecraft/structure/StructurePiece;chainLength:Iintermediary field_15316Lnet/minecraft/class_3443;field_15316:Iofficial gLerf;g:I
-
type
- Mappings:
Namespace Name Mixin selector named typeLnet/minecraft/structure/StructurePiece;type:Lnet/minecraft/structure/StructurePieceType;intermediary field_16712Lnet/minecraft/class_3443;field_16712:Lnet/minecraft/class_3773;official dLerf;d:Lers;
-
-
Constructor Details
-
StructurePiece
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/util/math/BlockBox;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3341;)Vofficial <init>Lerf;<init>(Lers;ILeqt;)V
-
StructurePiece
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)Vofficial <init>Lerf;<init>(Lers;Ltz;)V
-
-
Method Details
-
createBox
protected static BlockBox createBox(int x, int y, int z, Direction orientation, int width, int height, int depth) - Mappings:
Namespace Name Mixin selector named createBoxLnet/minecraft/structure/StructurePiece;createBox(IIILnet/minecraft/util/math/Direction;III)Lnet/minecraft/util/math/BlockBox;intermediary method_35454Lnet/minecraft/class_3443;method_35454(IIILnet/minecraft/class_2350;III)Lnet/minecraft/class_3341;official aLerf;a(IIILja;III)Leqt;
-
getRandomHorizontalDirection
- Mappings:
Namespace Name Mixin selector named getRandomHorizontalDirectionLnet/minecraft/structure/StructurePiece;getRandomHorizontalDirection(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/Direction;intermediary method_35457Lnet/minecraft/class_3443;method_35457(Lnet/minecraft/class_5819;)Lnet/minecraft/class_2350;official aLerf;a(Lazv;)Lja;
-
toNbt
- Mappings:
Namespace Name Mixin selector named toNbtLnet/minecraft/structure/StructurePiece;toNbt(Lnet/minecraft/structure/StructureContext;)Lnet/minecraft/nbt/NbtCompound;intermediary method_14946Lnet/minecraft/class_3443;method_14946(Lnet/minecraft/class_6625;)Lnet/minecraft/class_2487;official aLerf;a(Lerr;)Ltz;
-
writeNbt
- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)Vofficial aLerf;a(Lerr;Ltz;)V
-
fillOpenings
- Mappings:
Namespace Name Mixin selector named fillOpeningsLnet/minecraft/structure/StructurePiece;fillOpenings(Lnet/minecraft/structure/StructurePiece;Lnet/minecraft/structure/StructurePiecesHolder;Lnet/minecraft/util/math/random/Random;)Vintermediary method_14918Lnet/minecraft/class_3443;method_14918(Lnet/minecraft/class_3443;Lnet/minecraft/class_6130;Lnet/minecraft/class_5819;)Vofficial aLerf;a(Lerf;Lerg;Lazv;)V
-
generate
public abstract void generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos, BlockPos pivot) - Mappings:
Namespace Name Mixin selector named generateLnet/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;)Vintermediary method_14931Lnet/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;)Vofficial aLerf;a(Ldjz;Ldjw;Lecf;Lazv;Leqt;Ldih;Liu;)V
-
getBoundingBox
- Mappings:
Namespace Name Mixin selector named getBoundingBoxLnet/minecraft/structure/StructurePiece;getBoundingBox()Lnet/minecraft/util/math/BlockBox;intermediary method_14935Lnet/minecraft/class_3443;method_14935()Lnet/minecraft/class_3341;official fLerf;f()Leqt;
-
getChainLength
public int getChainLength()- Mappings:
Namespace Name Mixin selector named getChainLengthLnet/minecraft/structure/StructurePiece;getChainLength()Iintermediary method_14923Lnet/minecraft/class_3443;method_14923()Iofficial gLerf;g()I
-
setChainLength
public void setChainLength(int chainLength) - Mappings:
Namespace Name Mixin selector named setChainLengthLnet/minecraft/structure/StructurePiece;setChainLength(I)Vintermediary method_41620Lnet/minecraft/class_3443;method_41620(I)Vofficial aLerf;a(I)V
-
intersectsChunk
- Mappings:
Namespace Name Mixin selector named intersectsChunkLnet/minecraft/structure/StructurePiece;intersectsChunk(Lnet/minecraft/util/math/ChunkPos;I)Zintermediary method_16654Lnet/minecraft/class_3443;method_16654(Lnet/minecraft/class_1923;I)Zofficial aLerf;a(Ldih;I)Z
-
getCenter
- Mappings:
Namespace Name Mixin selector named getCenterLnet/minecraft/structure/StructurePiece;getCenter()Lnet/minecraft/util/math/BlockPos;intermediary method_35458Lnet/minecraft/class_3443;method_35458()Lnet/minecraft/class_2338;official hLerf;h()Liu;
-
offsetPos
- Mappings:
Namespace Name Mixin selector named offsetPosLnet/minecraft/structure/StructurePiece;offsetPos(III)Lnet/minecraft/util/math/BlockPos$Mutable;intermediary method_33781Lnet/minecraft/class_3443;method_33781(III)Lnet/minecraft/class_2338$class_2339;official bLerf;b(III)Liu$a;
-
applyXTransform
protected int applyXTransform(int x, int z) - Mappings:
Namespace Name Mixin selector named applyXTransformLnet/minecraft/structure/StructurePiece;applyXTransform(II)Iintermediary method_14928Lnet/minecraft/class_3443;method_14928(II)Iofficial aLerf;a(II)I
-
applyYTransform
protected int applyYTransform(int y) - Mappings:
Namespace Name Mixin selector named applyYTransformLnet/minecraft/structure/StructurePiece;applyYTransform(I)Iintermediary method_14924Lnet/minecraft/class_3443;method_14924(I)Iofficial bLerf;b(I)I
-
applyZTransform
protected int applyZTransform(int x, int z) - Mappings:
Namespace Name Mixin selector named applyZTransformLnet/minecraft/structure/StructurePiece;applyZTransform(II)Iintermediary method_14941Lnet/minecraft/class_3443;method_14941(II)Iofficial bLerf;b(II)I
-
addBlock
protected void addBlock(StructureWorldAccess world, BlockState block, int x, int y, int z, BlockBox box) - Mappings:
Namespace Name Mixin selector named addBlockLnet/minecraft/structure/StructurePiece;addBlock(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)Vintermediary method_14917Lnet/minecraft/class_3443;method_14917(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)Vofficial aLerf;a(Ldjz;Leah;IIILeqt;)V
-
canAddBlock
- Mappings:
Namespace Name Mixin selector named canAddBlockLnet/minecraft/structure/StructurePiece;canAddBlock(Lnet/minecraft/world/WorldView;IIILnet/minecraft/util/math/BlockBox;)Zintermediary method_33780Lnet/minecraft/class_3443;method_33780(Lnet/minecraft/class_4538;IIILnet/minecraft/class_3341;)Zofficial aLerf;a(Ldjd;IIILeqt;)Z
-
getBlockAt
- Mappings:
Namespace Name Mixin selector named getBlockAtLnet/minecraft/structure/StructurePiece;getBlockAt(Lnet/minecraft/world/BlockView;IIILnet/minecraft/util/math/BlockBox;)Lnet/minecraft/block/BlockState;intermediary method_14929Lnet/minecraft/class_3443;method_14929(Lnet/minecraft/class_1922;IIILnet/minecraft/class_3341;)Lnet/minecraft/class_2680;official aLerf;a(Ldig;IIILeqt;)Leah;
-
isUnderSeaLevel
- Mappings:
Namespace Name Mixin selector named isUnderSeaLevelLnet/minecraft/structure/StructurePiece;isUnderSeaLevel(Lnet/minecraft/world/WorldView;IIILnet/minecraft/util/math/BlockBox;)Zintermediary method_14939Lnet/minecraft/class_3443;method_14939(Lnet/minecraft/class_4538;IIILnet/minecraft/class_3341;)Zofficial bLerf;b(Ldjd;IIILeqt;)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 named fillLnet/minecraft/structure/StructurePiece;fill(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIII)Vintermediary method_14942Lnet/minecraft/class_3443;method_14942(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIII)Vofficial aLerf;a(Ldjz;Leqt;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 named fillWithOutlineLnet/minecraft/structure/StructurePiece;fillWithOutline(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIILnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Z)Vintermediary method_14940Lnet/minecraft/class_3443;method_14940(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIILnet/minecraft/class_2680;Lnet/minecraft/class_2680;Z)Vofficial aLerf;a(Ldjz;Leqt;IIIIIILeah;Leah;Z)V
-
fillWithOutline
protected void fillWithOutline(StructureWorldAccess world, BlockBox box, BlockBox fillBox, BlockState outline, BlockState inside, boolean cantReplaceAir) - Mappings:
Namespace Name Mixin selector named fillWithOutlineLnet/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)Vintermediary method_35455Lnet/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)Vofficial aLerf;a(Ldjz;Leqt;Leqt;Leah;Leah;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 named fillWithOutlineLnet/minecraft/structure/StructurePiece;fillWithOutline(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIIZLnet/minecraft/util/math/random/Random;Lnet/minecraft/structure/StructurePiece$BlockRandomizer;)Vintermediary method_14938Lnet/minecraft/class_3443;method_14938(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIIZLnet/minecraft/class_5819;Lnet/minecraft/class_3443$class_3444;)Vofficial aLerf;a(Ldjz;Leqt;IIIIIIZLazv;Lerf$a;)V
-
fillWithOutline
protected void fillWithOutline(StructureWorldAccess world, BlockBox box, BlockBox fillBox, boolean cantReplaceAir, Random random, StructurePiece.BlockRandomizer randomizer) - Mappings:
Namespace Name Mixin selector named fillWithOutlineLnet/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;)Vintermediary method_35456Lnet/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;)Vofficial aLerf;a(Ldjz;Leqt;Leqt;ZLazv;Lerf$a;)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 named fillWithOutlineUnderSeaLevelLnet/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)Vintermediary method_14933Lnet/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)Vofficial aLerf;a(Ldjz;Leqt;Lazv;FIIIIIILeah;Leah;ZZ)V
-
addBlockWithRandomThreshold
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 addBlockWithRandomThresholdLnet/minecraft/structure/StructurePiece;addBlockWithRandomThreshold(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;FIIILnet/minecraft/block/BlockState;)Vintermediary method_14945Lnet/minecraft/class_3443;method_14945(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;FIIILnet/minecraft/class_2680;)Vofficial aLerf;a(Ldjz;Leqt;Lazv;FIIILeah;)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 named fillHalfEllipsoidLnet/minecraft/structure/StructurePiece;fillHalfEllipsoid(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;IIIIIILnet/minecraft/block/BlockState;Z)Vintermediary method_14919Lnet/minecraft/class_3443;method_14919(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;IIIIIILnet/minecraft/class_2680;Z)Vofficial aLerf;a(Ldjz;Leqt;IIIIIILeah;Z)V
-
fillDownwards
protected void fillDownwards(StructureWorldAccess world, BlockState state, int x, int y, int z, BlockBox box) - Mappings:
Namespace Name Mixin selector named fillDownwardsLnet/minecraft/structure/StructurePiece;fillDownwards(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/block/BlockState;IIILnet/minecraft/util/math/BlockBox;)Vintermediary method_14936Lnet/minecraft/class_3443;method_14936(Lnet/minecraft/class_5281;Lnet/minecraft/class_2680;IIILnet/minecraft/class_3341;)Vofficial bLerf;b(Ldjz;Leah;IIILeqt;)V
-
canReplace
- Mappings:
Namespace Name Mixin selector named canReplaceLnet/minecraft/structure/StructurePiece;canReplace(Lnet/minecraft/block/BlockState;)Zintermediary method_33881Lnet/minecraft/class_3443;method_33881(Lnet/minecraft/class_2680;)Zofficial aLerf;a(Leah;)Z
-
addChest
protected boolean addChest(StructureWorldAccess world, BlockBox boundingBox, Random random, int x, int y, int z, RegistryKey<LootTable> lootTable) - Mappings:
Namespace Name Mixin selector named addChestLnet/minecraft/structure/StructurePiece;addChest(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/util/math/random/Random;IIILnet/minecraft/registry/RegistryKey;)Zintermediary method_14915Lnet/minecraft/class_3443;method_14915(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_5819;IIILnet/minecraft/class_5321;)Zofficial aLerf;a(Ldjz;Leqt;Lazv;IIILalf;)Z
-
orientateChest
- Mappings:
Namespace Name Mixin selector named orientateChestLnet/minecraft/structure/StructurePiece;orientateChest(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;intermediary method_14916Lnet/minecraft/class_3443;method_14916(Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;official aLerf;a(Ldig;Liu;Leah;)Leah;
-
addChest
protected boolean addChest(ServerWorldAccess world, BlockBox boundingBox, Random random, BlockPos pos, RegistryKey<LootTable> lootTable, @Nullable @Nullable BlockState block) - Mappings:
Namespace Name Mixin selector named addChestLnet/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;)Zintermediary method_14921Lnet/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;)Zofficial aLerf;a(Ldjr;Leqt;Lazv;Liu;Lalf;Leah;)Z
-
addDispenser
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 addDispenserLnet/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;)Zintermediary method_14930Lnet/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;)Zofficial aLerf;a(Ldjz;Leqt;Lazv;IIILja;Lalf;)Z
-
translate
public void translate(int x, int y, int z) - Mappings:
Namespace Name Mixin selector named translateLnet/minecraft/structure/StructurePiece;translate(III)Vintermediary method_14922Lnet/minecraft/class_3443;method_14922(III)Vofficial aLerf;a(III)V
-
boundingBox
- Mappings:
Namespace Name Mixin selector named boundingBoxLnet/minecraft/structure/StructurePiece;boundingBox(Ljava/util/stream/Stream;)Lnet/minecraft/util/math/BlockBox;intermediary method_38703Lnet/minecraft/class_3443;method_38703(Ljava/util/stream/Stream;)Lnet/minecraft/class_3341;official aLerf;a(Ljava/util/stream/Stream;)Leqt;
-
firstIntersecting
@Nullable public static @Nullable StructurePiece firstIntersecting(List<StructurePiece> pieces, BlockBox box) - Mappings:
Namespace Name Mixin selector named firstIntersectingLnet/minecraft/structure/StructurePiece;firstIntersecting(Ljava/util/List;Lnet/minecraft/util/math/BlockBox;)Lnet/minecraft/structure/StructurePiece;intermediary method_38702Lnet/minecraft/class_3443;method_38702(Ljava/util/List;Lnet/minecraft/class_3341;)Lnet/minecraft/class_3443;official aLerf;a(Ljava/util/List;Leqt;)Lerf;
-
getFacing
- Mappings:
Namespace Name Mixin selector named getFacingLnet/minecraft/structure/StructurePiece;getFacing()Lnet/minecraft/util/math/Direction;intermediary method_14934Lnet/minecraft/class_3443;method_14934()Lnet/minecraft/class_2350;official iLerf;i()Lja;
-
setOrientation
- Mappings:
Namespace Name Mixin selector named setOrientationLnet/minecraft/structure/StructurePiece;setOrientation(Lnet/minecraft/util/math/Direction;)Vintermediary method_14926Lnet/minecraft/class_3443;method_14926(Lnet/minecraft/class_2350;)Vofficial aLerf;a(Lja;)V
-
getRotation
- Mappings:
Namespace Name Mixin selector named getRotationLnet/minecraft/structure/StructurePiece;getRotation()Lnet/minecraft/util/BlockRotation;intermediary method_16888Lnet/minecraft/class_3443;method_16888()Lnet/minecraft/class_2470;official aLerf;a()Ldsz;
-
getMirror
- Mappings:
Namespace Name Mixin selector named getMirrorLnet/minecraft/structure/StructurePiece;getMirror()Lnet/minecraft/util/BlockMirror;intermediary method_35460Lnet/minecraft/class_3443;method_35460()Lnet/minecraft/class_2415;official jLerf;j()Ldri;
-
getType
- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/structure/StructurePiece;getType()Lnet/minecraft/structure/StructurePieceType;intermediary method_16653Lnet/minecraft/class_3443;method_16653()Lnet/minecraft/class_3773;official kLerf;k()Lers;
-