public class JungleTempleGenerator extends StructurePieceWithDimensions
Modifier and Type | Class and Description |
---|---|
(package private) static class |
JungleTempleGenerator.CobblestoneRandomizer |
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
private static JungleTempleGenerator.CobblestoneRandomizer |
COBBLESTONE_RANDOMIZER |
private boolean |
placedHiddenChest |
private boolean |
placedMainChest |
private boolean |
placedTrap1 |
private boolean |
placedTrap2 |
depth, height, hPos, width
AIR, boundingBox, chainLength
Constructor and Description |
---|
JungleTempleGenerator(Random random,
int x,
int z) |
JungleTempleGenerator(StructureManager manager,
CompoundTag tag) |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(StructureWorldAccess structureWorldAccess,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
protected void |
toNbt(CompoundTag tag) |
method_14839
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
private static final JungleTempleGenerator.CobblestoneRandomizer COBBLESTONE_RANDOMIZER
private boolean placedMainChest
private boolean placedHiddenChest
private boolean placedTrap1
private boolean placedTrap2
public JungleTempleGenerator(Random random, int x, int z)
public JungleTempleGenerator(StructureManager manager, CompoundTag tag)
protected void toNbt(CompoundTag tag)
toNbt
in class StructurePieceWithDimensions
public boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate
in class StructurePiece