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