public static class FortressPieces.Entrance extends FortressPieces.Piece
StructurePiece.BlockSelector
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Entrance(int p_i45617_1_,
java.util.Random p_i45617_2_,
MutableBoundingBox p_i45617_3_,
Direction p_i45617_4_) |
Entrance(TemplateManager p_i50276_1_,
CompoundNBT p_i50276_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.Entrance |
createPiece(java.util.List<StructurePiece> p_175881_0_,
java.util.Random p_175881_1_,
int p_175881_2_,
int p_175881_3_,
int p_175881_4_,
Direction p_175881_5_,
int p_175881_6_) |
getNextComponentNormal, getNextComponentX, getNextComponentZ, isAboveGround, readAdditional
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 Entrance(int p_i45617_1_, java.util.Random p_i45617_2_, MutableBoundingBox p_i45617_3_, Direction p_i45617_4_)
public Entrance(TemplateManager p_i50276_1_, CompoundNBT p_i50276_2_)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public static FortressPieces.Entrance createPiece(java.util.List<StructurePiece> p_175881_0_, java.util.Random p_175881_1_, int p_175881_2_, int p_175881_3_, int p_175881_4_, Direction p_175881_5_, int p_175881_6_)
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class StructurePiece