public class JunglePyramidPiece extends ScatteredStructurePiece
Modifier and Type | Class and Description |
---|---|
(package private) static class |
JunglePyramidPiece.Selector |
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
private static JunglePyramidPiece.Selector |
MOSS_STONE_SELECTOR |
private boolean |
placedHiddenChest |
private boolean |
placedMainChest |
private boolean |
placedTrap1 |
private boolean |
placedTrap2 |
depth, height, hPos, width
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
JunglePyramidPiece(java.util.Random random,
int x,
int z) |
JunglePyramidPiece(TemplateManager p_i51350_1_,
CompoundNBT p_i51350_2_) |
Modifier and Type | Method and Description |
---|---|
boolean |
create(IWorld worldIn,
ChunkGenerator<?> chunkGeneratorIn,
java.util.Random randomIn,
MutableBoundingBox mutableBoundingBoxIn,
ChunkPos chunkPosIn) |
protected void |
readAdditional(CompoundNBT tagCompound) |
isInsideBounds
buildComponent, 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 boolean placedMainChest
private boolean placedHiddenChest
private boolean placedTrap1
private boolean placedTrap2
private static final JunglePyramidPiece.Selector MOSS_STONE_SELECTOR
public JunglePyramidPiece(java.util.Random random, int x, int z)
public JunglePyramidPiece(TemplateManager p_i51350_1_, CompoundNBT p_i51350_2_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class ScatteredStructurePiece
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class StructurePiece