abstract static class MineshaftGenerator.MineshaftPart extends StructurePiece
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
protected MineshaftFeature.Type |
mineshaftType |
AIR, boundingBox, chainLength
Constructor and Description |
---|
MineshaftPart(StructurePieceType type,
CompoundTag tag) |
MineshaftPart(StructurePieceType structurePieceType,
int chainLength,
MineshaftFeature.Type type) |
Modifier and Type | Method and Description |
---|---|
protected BlockState |
getFenceType() |
protected BlockState |
getPlanksType() |
protected boolean |
isSolidCeiling(BlockView blockView,
BlockBox boundingBox,
int minX,
int maxX,
int y,
int z) |
protected void |
toNbt(CompoundTag tag) |
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
protected MineshaftFeature.Type mineshaftType
public MineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftFeature.Type type)
public MineshaftPart(StructurePieceType type, CompoundTag tag)
protected void toNbt(CompoundTag tag)
toNbt
in class StructurePiece
protected BlockState getPlanksType()
protected BlockState getFenceType()