Package net.minecraft.structure
Class MineshaftGenerator.MineshaftPart
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.MineshaftGenerator.MineshaftPart
- Direct Known Subclasses:
MineshaftGenerator.MineshaftCorridor
,MineshaftGenerator.MineshaftCrossing
,MineshaftGenerator.MineshaftRoom
,MineshaftGenerator.MineshaftStairs
- Enclosing class:
- MineshaftGenerator
abstract static class MineshaftGenerator.MineshaftPart extends StructurePiece
- Mappings:
Namespace Name official cwu$c
intermediary net/minecraft/class_3353$class_3356
named net/minecraft/structure/MineshaftGenerator$MineshaftPart
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Fields Modifier and Type Field Description protected MineshaftFeature.Type
mineshaftType
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
Constructors Constructor Description MineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftFeature.Type type)
MineshaftPart(StructurePieceType type, CompoundTag tag)
-
Method Summary
Modifier and Type Method Description protected BlockState
getFenceType()
protected BlockState
getPlanksType()
protected boolean
isSolidCeiling(BlockView world, BlockBox boundingBox, int minX, int maxX, int y, int z)
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
-
mineshaftType
- Mappings:
Namespace Name Mixin selector official a
Lcwu$c;a:Lcpk$b;
intermediary field_14421
Lnet/minecraft/class_3353$class_3356;field_14421:Lnet/minecraft/class_3098$class_3100;
named mineshaftType
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;mineshaftType:Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
-
Constructor Details
-
MineshaftPart
public MineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftFeature.Type type)- Mappings:
Namespace Name Mixin selector official <init>
Lcwu$c;<init>(Lcqk;ILcpk$b;)V
intermediary <init>
Lnet/minecraft/class_3353$class_3356;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3098$class_3100;)V
named <init>
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/world/gen/feature/MineshaftFeature$Type;)V
-
MineshaftPart
- 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
-
getPlanksType
- Mappings:
Namespace Name Mixin selector official a
Lcwu$c;a()Lcht;
intermediary method_16443
Lnet/minecraft/class_3353$class_3356;method_16443()Lnet/minecraft/class_2680;
named getPlanksType
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;getPlanksType()Lnet/minecraft/block/BlockState;
-
getFenceType
- Mappings:
Namespace Name Mixin selector official b
Lcwu$c;b()Lcht;
intermediary method_14718
Lnet/minecraft/class_3353$class_3356;method_14718()Lnet/minecraft/class_2680;
named getFenceType
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;getFenceType()Lnet/minecraft/block/BlockState;
-
isSolidCeiling
protected boolean isSolidCeiling(BlockView world, BlockBox boundingBox, int minX, int maxX, int y, int z)- Mappings:
Namespace Name Mixin selector official a
Lcwu$c;a(Lbsz;Lcwn;IIII)Z
intermediary method_14719
Lnet/minecraft/class_3353$class_3356;method_14719(Lnet/minecraft/class_1922;Lnet/minecraft/class_3341;IIII)Z
named isSolidCeiling
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;isSolidCeiling(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockBox;IIII)Z
-