abstract static class MineshaftGenerator.MineshaftPart extends StructurePiece
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
protected MineshaftFeature.Type |
mineshaftType |
AIR, boundingBox, length
Constructor and Description |
---|
MineshaftPart(StructurePieceType type,
CompoundTag tag) |
MineshaftPart(StructurePieceType structurePieceType,
int int2,
MineshaftFeature.Type type) |
Modifier and Type | Method and Description |
---|---|
protected BlockState |
getFenceType() |
protected BlockState |
getPlanksType() |
protected boolean |
method_14719(BlockView blockView,
BlockBox blockBox,
int int2,
int int3,
int int4,
int int5) |
protected void |
toNbt(CompoundTag tag) |
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillWithOutline, fillWithOutline, fillWithOutlineUnderSealevel, generate, getBlockAt, getBoundingBox, getFacing, getLength, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isUnderSeaLevel, method_14916, method_14919, method_14936, method_14937, placeJigsaw, setOrientation, translate
protected MineshaftFeature.Type mineshaftType
public MineshaftPart(StructurePieceType structurePieceType, int int2, MineshaftFeature.Type type)
public MineshaftPart(StructurePieceType type, CompoundTag tag)
protected void toNbt(CompoundTag tag)
toNbt
in class StructurePiece
protected BlockState getPlanksType()
protected BlockState getFenceType()