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
-
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.TypemineshaftTypeFields 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 BlockStategetFenceType()protected BlockStategetPlanksType()protected booleanisSolidCeiling(BlockView blockView, BlockBox boundingBox, int minX, int maxX, int y, int z)protected voidtoNbt(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
-
-
Constructor Details
-
MineshaftPart
public MineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftFeature.Type type) -
MineshaftPart
-
-
Method Details
-
toNbt
- Specified by:
toNbtin classStructurePiece
-
getPlanksType
-
getFenceType
-
isSolidCeiling
-