public static class FortressPieces.Straight extends FortressPieces.Piece
StructurePiece.BlockSelector
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Straight(int p_i45620_1_,
java.util.Random p_i45620_2_,
MutableBoundingBox p_i45620_3_,
Direction p_i45620_4_) |
Straight(TemplateManager p_i50283_1_,
CompoundNBT p_i50283_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.Straight |
createPiece(java.util.List<StructurePiece> p_175882_0_,
java.util.Random p_175882_1_,
int p_175882_2_,
int p_175882_3_,
int p_175882_4_,
Direction p_175882_5_,
int p_175882_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 Straight(int p_i45620_1_, java.util.Random p_i45620_2_, MutableBoundingBox p_i45620_3_, Direction p_i45620_4_)
public Straight(TemplateManager p_i50283_1_, CompoundNBT p_i50283_2_)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public static FortressPieces.Straight createPiece(java.util.List<StructurePiece> p_175882_0_, java.util.Random p_175882_1_, int p_175882_2_, int p_175882_3_, int p_175882_4_, Direction p_175882_5_, int p_175882_6_)
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class StructurePiece