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 esr
-
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 eLesr;e:Lebq;
-
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 hLesr;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 fLesr;f:Lesf;
-
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 aLesr;a:Ljc;
-
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 bLesr;b:Ldsr;
-
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 cLesr;c:Ldui;
-
chainLength
protected int chainLength- Mappings:
Namespace Name Mixin selector named chainLengthLnet/minecraft/structure/StructurePiece;chainLength:Iintermediary field_15316Lnet/minecraft/class_3443;field_15316:Iofficial gLesr;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 dLesr;d:Lete;
-
-
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>Lesr;<init>(Lete;ILesf;)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>Lesr;<init>(Lete;Lua;)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 aLesr;a(IIILjc;III)Lesf;
-
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 aLesr;a(Lbai;)Ljc;
-
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 aLesr;a(Letd;)Lua;
-
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 aLesr;a(Letd;Lua;)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 aLesr;a(Lesr;Less;Lbai;)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 aLesr;a(Ldli;Ldlf;Ledo;Lbai;Lesf;Ldjo;Liw;)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 fLesr;f()Lesf;
-
getChainLength
public int getChainLength()- Mappings:
Namespace Name Mixin selector named getChainLengthLnet/minecraft/structure/StructurePiece;getChainLength()Iintermediary method_14923Lnet/minecraft/class_3443;method_14923()Iofficial gLesr;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 aLesr;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 aLesr;a(Ldjo;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 hLesr;h()Liw;
-
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 bLesr;b(III)Liw$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 aLesr;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 bLesr;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 bLesr;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 aLesr;a(Ldli;Lebq;IIILesf;)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 aLesr;a(Ldkm;IIILesf;)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 aLesr;a(Ldjn;IIILesf;)Lebq;
-
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 bLesr;b(Ldkm;IIILesf;)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 aLesr;a(Ldli;Lesf;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 aLesr;a(Ldli;Lesf;IIIIIILebq;Lebq;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 aLesr;a(Ldli;Lesf;Lesf;Lebq;Lebq;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 aLesr;a(Ldli;Lesf;IIIIIIZLbai;Lesr$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 aLesr;a(Ldli;Lesf;Lesf;ZLbai;Lesr$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 aLesr;a(Ldli;Lesf;Lbai;FIIIIIILebq;Lebq;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 aLesr;a(Ldli;Lesf;Lbai;FIIILebq;)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 aLesr;a(Ldli;Lesf;IIIIIILebq;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 bLesr;b(Ldli;Lebq;IIILesf;)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 aLesr;a(Lebq;)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 aLesr;a(Ldli;Lesf;Lbai;IIILalq;)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 aLesr;a(Ldjn;Liw;Lebq;)Lebq;
-
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 aLesr;a(Ldla;Lesf;Lbai;Liw;Lalq;Lebq;)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 aLesr;a(Ldli;Lesf;Lbai;IIILjc;Lalq;)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 aLesr;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 aLesr;a(Ljava/util/stream/Stream;)Lesf;
-
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 aLesr;a(Ljava/util/List;Lesf;)Lesr;
-
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 iLesr;i()Ljc;
-
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 aLesr;a(Ljc;)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 aLesr;a()Ldui;
-
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 jLesr;j()Ldsr;
-
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 kLesr;k()Lete;
-