abstract static class MineshaftPieces.Piece extends StructurePiece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected MineshaftStructure.Type |
mineShaftType |
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Piece(IStructurePieceType structurePieceTypeIn,
CompoundNBT nbt) |
Piece(IStructurePieceType structurePieceTypeIn,
int componentTypeIn,
MineshaftStructure.Type typeIn) |
Modifier and Type | Method and Description |
---|---|
protected BlockState |
getFenceBlock() |
protected BlockState |
getPlanksBlock() |
protected boolean |
isSupportingBox(IBlockReader blockReaderIn,
MutableBoundingBox boundsIn,
int xStartIn,
int xEndIn,
int p_189918_5_,
int zIn) |
protected void |
readAdditional(CompoundNBT tagCompound) |
buildComponent, correctFacing, create, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
protected MineshaftStructure.Type mineShaftType
public Piece(IStructurePieceType structurePieceTypeIn, int componentTypeIn, MineshaftStructure.Type typeIn)
public Piece(IStructurePieceType structurePieceTypeIn, CompoundNBT nbt)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class StructurePiece
protected BlockState getPlanksBlock()
protected BlockState getFenceBlock()
protected boolean isSupportingBox(IBlockReader blockReaderIn, MutableBoundingBox boundsIn, int xStartIn, int xEndIn, int p_189918_5_, int zIn)