public class SwampHutGenerator extends StructurePieceWithDimensions
StructurePiece.BlockRandomizer| Modifier and Type | Field and Description |
|---|---|
private boolean |
hasCat |
private boolean |
hasWitch |
depth, height, hPos, widthAIR, boundingBox, length| Constructor and Description |
|---|
SwampHutGenerator(Random random,
int int2,
int int3) |
SwampHutGenerator(StructureManager structureManager,
CompoundTag compoundTag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(ServerWorldAccess serverWorldAccess,
StructureAccessor structureAccessor,
ChunkGenerator chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
private void |
method_16181(WorldAccess worldAccess,
BlockBox blockBox) |
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 SwampHutGenerator(Random random, int int2, int int3)
public SwampHutGenerator(StructureManager structureManager, CompoundTag compoundTag)
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 StructurePieceprivate void method_16181(WorldAccess worldAccess, BlockBox blockBox)