public class DesertTempleGenerator extends StructurePieceWithDimensions
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
private boolean[] |
hasPlacedChest |
depth, height, hPos, width
AIR, boundingBox, chainLength
Constructor and Description |
---|
DesertTempleGenerator(Random random,
int x,
int z) |
DesertTempleGenerator(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
public DesertTempleGenerator(Random random, int x, int z)
public DesertTempleGenerator(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