public static class FortressPieces.Corridor2 extends FortressPieces.Piece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
private boolean |
chest |
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Corridor2(int p_i45613_1_,
java.util.Random p_i45613_2_,
MutableBoundingBox p_i45613_3_,
Direction p_i45613_4_) |
Corridor2(TemplateManager p_i50266_1_,
CompoundNBT p_i50266_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 FortressPieces.Corridor2 |
createPiece(java.util.List<StructurePiece> p_175876_0_,
java.util.Random p_175876_1_,
int p_175876_2_,
int p_175876_3_,
int p_175876_4_,
Direction p_175876_5_,
int p_175876_6_) |
protected void |
readAdditional(CompoundNBT tagCompound) |
getNextComponentNormal, getNextComponentX, getNextComponentZ, isAboveGround
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
public Corridor2(int p_i45613_1_, java.util.Random p_i45613_2_, MutableBoundingBox p_i45613_3_, Direction p_i45613_4_)
public Corridor2(TemplateManager p_i50266_1_, CompoundNBT p_i50266_2_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class FortressPieces.Piece
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public static FortressPieces.Corridor2 createPiece(java.util.List<StructurePiece> p_175876_0_, java.util.Random p_175876_1_, int p_175876_2_, int p_175876_3_, int p_175876_4_, Direction p_175876_5_, int p_175876_6_)
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class StructurePiece