public class DesertTempleGenerator extends StructurePieceWithDimensions
StructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private boolean[] |
hasPlacedChest |
depth, height, hPos, widthAIR, boundingBox, length| Constructor and Description |
|---|
DesertTempleGenerator(Random random,
int x,
int z) |
DesertTempleGenerator(StructureManager manager,
CompoundTag tag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(ServerWorldAccess serverWorldAccess,
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, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, getBlockAt, getBoundingBox, getFacing, getLength, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isUnderSeaLevel, method_14916, method_14919, method_14936, method_14937, placeJigsaw, 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(ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate in class StructurePiece