public class SwampHutGenerator extends StructurePieceWithDimensions
StructurePiece.BlockRandomizer
Modifier and Type | Field and Description |
---|---|
private boolean |
hasCat |
private boolean |
hasWitch |
depth, height, hPos, width
AIR, 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_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 SwampHutGenerator(Random random, int int2, int int3)
public SwampHutGenerator(StructureManager structureManager, CompoundTag compoundTag)
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
private void method_16181(ServerWorldAccess serverWorldAccess, BlockBox blockBox)