Package net.minecraft.structure
Class StructurePieceWithDimensions
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.StructurePieceWithDimensions
- Direct Known Subclasses:
DesertTempleGenerator
,JungleTempleGenerator
,SwampHutGenerator
public abstract class StructurePieceWithDimensions extends StructurePiece
- Mappings:
Namespace Name official cxd
intermediary net/minecraft/class_3418
named net/minecraft/structure/StructurePieceWithDimensions
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Fields Modifier and Type Field Description protected int
depth
protected int
height
protected int
hPos
protected int
width
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
Constructors Modifier Constructor Description protected
StructurePieceWithDimensions(StructurePieceType type, Random random, int x, int y, int z, int width, int height, int depth)
protected
StructurePieceWithDimensions(StructurePieceType type, CompoundTag tag)
-
Method Summary
Modifier and Type Method Description protected boolean
method_14839(WorldAccess world, BlockBox boundingBox, int int2)
protected void
toNbt(CompoundTag tag)
Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, generate, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
-
Field Details
-
width
protected final int width- Mappings:
Namespace Name Mixin selector official a
Lcxd;a:I
intermediary field_15244
Lnet/minecraft/class_3418;field_15244:I
named width
Lnet/minecraft/structure/StructurePieceWithDimensions;width:I
-
height
protected final int height- Mappings:
Namespace Name Mixin selector official b
Lcxd;b:I
intermediary field_15243
Lnet/minecraft/class_3418;field_15243:I
named height
Lnet/minecraft/structure/StructurePieceWithDimensions;height:I
-
depth
protected final int depth- Mappings:
Namespace Name Mixin selector official c
Lcxd;c:I
intermediary field_15242
Lnet/minecraft/class_3418;field_15242:I
named depth
Lnet/minecraft/structure/StructurePieceWithDimensions;depth:I
-
hPos
protected int hPos- Mappings:
Namespace Name Mixin selector official d
Lcxd;d:I
intermediary field_15241
Lnet/minecraft/class_3418;field_15241:I
named hPos
Lnet/minecraft/structure/StructurePieceWithDimensions;hPos:I
-
-
Constructor Details
-
StructurePieceWithDimensions
protected StructurePieceWithDimensions(StructurePieceType type, Random random, int x, int y, int z, int width, int height, int depth)- Mappings:
Namespace Name Mixin selector official <init>
Lcxd;<init>(Lcqk;Ljava/util/Random;IIIIII)V
intermediary <init>
Lnet/minecraft/class_3418;<init>(Lnet/minecraft/class_3773;Ljava/util/Random;IIIIII)V
named <init>
Lnet/minecraft/structure/StructurePieceWithDimensions;<init>(Lnet/minecraft/structure/StructurePieceType;Ljava/util/Random;IIIIII)V
-
StructurePieceWithDimensions
- Mappings:
Namespace Name Mixin selector official <init>
Lcxh;<init>(Lcqk;Lmq;)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/CompoundTag;)V
-
-
Method Details
-
toNbt
- Specified by:
toNbt
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Lcxh;a(Lmq;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_2487;)V
named toNbt
Lnet/minecraft/structure/StructurePiece;toNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
method_14839
- Mappings:
Namespace Name Mixin selector official a
Lcxd;a(Lbtw;Lcwn;I)Z
intermediary method_14839
Lnet/minecraft/class_3418;method_14839(Lnet/minecraft/class_1936;Lnet/minecraft/class_3341;I)Z
named method_14839
Lnet/minecraft/structure/StructurePieceWithDimensions;method_14839(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockBox;I)Z
-