public static class FortressPieces.Corridor extends FortressPieces.Piece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
private boolean |
chest |
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Corridor(int p_i45615_1_,
java.util.Random p_i45615_2_,
MutableBoundingBox p_i45615_3_,
Direction p_i45615_4_) |
Corridor(TemplateManager p_i50272_1_,
CompoundNBT p_i50272_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.Corridor |
createPiece(java.util.List<StructurePiece> p_175879_0_,
java.util.Random p_175879_1_,
int p_175879_2_,
int p_175879_3_,
int p_175879_4_,
Direction p_175879_5_,
int p_175879_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 Corridor(int p_i45615_1_, java.util.Random p_i45615_2_, MutableBoundingBox p_i45615_3_, Direction p_i45615_4_)
public Corridor(TemplateManager p_i50272_1_, CompoundNBT p_i50272_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.Corridor createPiece(java.util.List<StructurePiece> p_175879_0_, java.util.Random p_175879_1_, int p_175879_2_, int p_175879_3_, int p_175879_4_, Direction p_175879_5_, int p_175879_6_)
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class StructurePiece