Package net.minecraft.structure
Class StructurePieceWithDimensions
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.StructurePieceWithDimensions
- Direct Known Subclasses:
DesertTempleGenerator,JungleTempleGenerator,SwampHutGenerator
- Mappings:
Namespace Name official dbhintermediary net/minecraft/class_3418named net/minecraft/structure/StructurePieceWithDimensions
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intprotected intprotected intFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStructurePieceWithDimensions(StructurePieceType type, int int2, int x, int y, int z, int width, int height, Direction direction)protected -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanmethod_14839(WorldAccess world, BlockBox boundingBox, int int2)protected voidwriteNbt(ServerWorld world, NbtCompound nbt)Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, canAddBlock, canReplace, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, generate, getBlockAt, getBoundingBox, getChainLength, getFacing, getRotation, getType, intersectsChunk, isUnderSeaLevel, method_33882, method_35454, method_35455, method_35456, method_35457, method_35458, method_35460, offsetPos, orientateChest, setOrientation, toNbt, translate
-
Field Details
-
width
protected final int width- Mappings:
Namespace Name Mixin selector official aLdbh;a:Iintermediary field_15244Lnet/minecraft/class_3418;field_15244:Inamed widthLnet/minecraft/structure/StructurePieceWithDimensions;width:I
-
height
protected final int height- Mappings:
Namespace Name Mixin selector official bLdbh;b:Iintermediary field_15243Lnet/minecraft/class_3418;field_15243:Inamed heightLnet/minecraft/structure/StructurePieceWithDimensions;height:I
-
depth
protected final int depth- Mappings:
Namespace Name Mixin selector official cLdbh;c:Iintermediary field_15242Lnet/minecraft/class_3418;field_15242:Inamed depthLnet/minecraft/structure/StructurePieceWithDimensions;depth:I
-
hPos
protected int hPos- Mappings:
Namespace Name Mixin selector official dLdbh;d:Iintermediary field_15241Lnet/minecraft/class_3418;field_15241:Inamed hPosLnet/minecraft/structure/StructurePieceWithDimensions;hPos:I
-
-
Constructor Details
-
StructurePieceWithDimensions
protected StructurePieceWithDimensions(StructurePieceType type, int int2, int x, int y, int z, int width, int height, Direction direction)- Mappings:
Namespace Name Mixin selector official <init>Ldbh;<init>(Lcud;IIIIIILgl;)Vintermediary <init>Lnet/minecraft/class_3418;<init>(Lnet/minecraft/class_3773;IIIIIILnet/minecraft/class_2350;)Vnamed <init>Lnet/minecraft/structure/StructurePieceWithDimensions;<init>(Lnet/minecraft/structure/StructurePieceType;IIIIIILnet/minecraft/util/math/Direction;)V
-
StructurePieceWithDimensions
- Mappings:
Namespace Name Mixin selector official <init>Ldbl;<init>(Lcud;Lna;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)Vnamed <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
writeNbt
- Specified by:
writeNbtin classStructurePiece- Mappings:
Namespace Name Mixin selector official aLdbl;a(Labr;Lna;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)Vnamed writeNbtLnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;)V
-
method_14839
- Mappings:
Namespace Name Mixin selector official aLdbh;a(Lbwq;Ldaq;I)Zintermediary method_14839Lnet/minecraft/class_3418;method_14839(Lnet/minecraft/class_1936;Lnet/minecraft/class_3341;I)Znamed method_14839Lnet/minecraft/structure/StructurePieceWithDimensions;method_14839(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockBox;I)Z
-