public static class MineshaftPieces.Cross extends MineshaftPieces.Piece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
private Direction |
corridorDirection |
private boolean |
isMultipleFloors |
mineShaftType
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Cross(int p_i50455_1_,
MutableBoundingBox p_i50455_2_,
Direction p_i50455_3_,
MineshaftStructure.Type p_i50455_4_) |
Cross(TemplateManager p_i50454_1_,
CompoundNBT p_i50454_2_) |
Modifier and Type | Method and Description |
---|---|
void |
buildComponent(StructurePiece componentIn,
java.util.List<StructurePiece> listIn,
java.util.Random rand) |
boolean |
create(IWorld worldIn,
ChunkGenerator<?> chunkGeneratorIn,
java.util.Random randomIn,
MutableBoundingBox mutableBoundingBoxIn,
ChunkPos chunkPosIn) |
static MutableBoundingBox |
findCrossing(java.util.List<StructurePiece> listIn,
java.util.Random rand,
int x,
int y,
int z,
Direction facing) |
private void |
placeSupportPillar(IWorld p_189923_1_,
MutableBoundingBox p_189923_2_,
int p_189923_3_,
int p_189923_4_,
int p_189923_5_,
int p_189923_6_) |
protected void |
readAdditional(CompoundNBT tagCompound) |
getFenceBlock, getPlanksBlock, isSupportingBox
correctFacing, 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
private final Direction corridorDirection
private final boolean isMultipleFloors
public Cross(TemplateManager p_i50454_1_, CompoundNBT p_i50454_2_)
public Cross(int p_i50455_1_, MutableBoundingBox p_i50455_2_, @Nullable Direction p_i50455_3_, MineshaftStructure.Type p_i50455_4_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class MineshaftPieces.Piece
public static MutableBoundingBox findCrossing(java.util.List<StructurePiece> listIn, java.util.Random rand, int x, int y, int z, Direction facing)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class StructurePiece
private void placeSupportPillar(IWorld p_189923_1_, MutableBoundingBox p_189923_2_, int p_189923_3_, int p_189923_4_, int p_189923_5_, int p_189923_6_)