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, length
Constructor and Description |
---|
SwampHutGenerator(Random random,
int int2,
int int3) |
SwampHutGenerator(StructureManager structureManager,
CompoundTag compoundTag) |
Modifier and Type | Method and Description |
---|---|
boolean |
generate(IWorld world,
StructureAccessor structureAccessor,
ChunkGenerator<?> chunkGenerator,
Random random,
BlockBox boundingBox,
ChunkPos chunkPos,
BlockPos blockPos) |
private void |
method_16181(IWorld iWorld,
BlockBox blockBox) |
protected void |
toNbt(CompoundTag tag) |
method_14839
addBlock, 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, 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(IWorld world, StructureAccessor structureAccessor, ChunkGenerator<?> chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
generate
in class StructurePiece