public class DesertTempleGenerator extends StructurePieceWithDimensions
StructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private boolean[] |
hasPlacedChest |
depth, height, hPos, widthAIR, 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_14839addBlock, 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, translatepublic DesertTempleGenerator(Random random, int x, int z)
public DesertTempleGenerator(StructureManager manager, CompoundTag tag)
protected void toNbt(CompoundTag tag)
toNbt in class StructurePieceWithDimensionspublic boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate in class StructurePiece