Package net.minecraft.structure
Class SwampHutGenerator
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.StructurePieceWithDimensions
net.minecraft.structure.SwampHutGenerator
public class SwampHutGenerator extends StructurePieceWithDimensions
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Fields inherited from class net.minecraft.structure.StructurePieceWithDimensions
depth, height, hPos, width
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
Constructors Constructor Description SwampHutGenerator(Random random, int int2, int int3)
SwampHutGenerator(StructureManager structureManager, CompoundTag compoundTag)
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class net.minecraft.structure.StructurePieceWithDimensions
method_14839
Methods inherited from class net.minecraft.structure.StructurePiece
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
-
Field Details
-
hasWitch
private boolean hasWitch -
hasCat
private boolean hasCat
-
-
Constructor Details
-
SwampHutGenerator
-
SwampHutGenerator
-
-
Method Details
-
toNbt
- Overrides:
toNbt
in classStructurePieceWithDimensions
-
generate
public boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)- Specified by:
generate
in classStructurePiece
-
method_16181
-