Class SwampHutPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
net.minecraft.world.level.levelgen.structure.structures.SwampHutPiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
depth, height, heightPosition, width
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionSwampHutPiece
(CompoundTag p_229956_) SwampHutPiece
(RandomSource p_229952_, int p_229953_, int p_229954_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_229969_, CompoundTag p_229970_) void
postProcess
(WorldGenLevel p_229961_, StructureManager p_229962_, ChunkGenerator p_229963_, RandomSource p_229964_, BoundingBox p_229965_, ChunkPos p_229966_, BlockPos p_229967_) private void
spawnCat
(ServerLevelAccessor p_229958_, BoundingBox p_229959_) Methods inherited from class net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
updateAverageGroundHeight, updateHeightPositionToLowestGroundHeight
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setGenDepth, setOrientation
-
Field Details
-
spawnedWitch
private boolean spawnedWitch -
spawnedCat
private boolean spawnedCat
-
-
Constructor Details
-
SwampHutPiece
-
SwampHutPiece
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_229969_, CompoundTag p_229970_) - Overrides:
addAdditionalSaveData
in classScatteredFeaturePiece
-
postProcess
public void postProcess(WorldGenLevel p_229961_, StructureManager p_229962_, ChunkGenerator p_229963_, RandomSource p_229964_, BoundingBox p_229965_, ChunkPos p_229966_, BlockPos p_229967_) - Specified by:
postProcess
in classStructurePiece
-
spawnCat
-