Class SwamplandHutPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
net.minecraft.world.level.levelgen.structure.SwamplandHutPiece
-
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
ConstructorDescriptionSwamplandHutPiece(Random p_73640_, int p_73641_, int p_73642_)
SwamplandHutPiece(ServerLevel p_163653_, CompoundTag p_163654_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_163656_, CompoundTag p_163657_)
boolean
postProcess(WorldGenLevel p_73647_, StructureFeatureManager p_73648_, ChunkGenerator p_73649_, Random p_73650_, BoundingBox p_73651_, ChunkPos p_73652_, BlockPos p_73653_)
private void
spawnCat(ServerLevelAccessor p_73644_, BoundingBox p_73645_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
updateAverageGroundHeight
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createChest, createChest, createDispenser, createTag, fillColumnDown, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Field Details
-
spawnedWitch
private boolean spawnedWitch -
spawnedCat
private boolean spawnedCat
-
-
Constructor Details
-
SwamplandHutPiece
-
SwamplandHutPiece
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classScatteredFeaturePiece
-
postProcess
public boolean postProcess(WorldGenLevel p_73647_, StructureFeatureManager p_73648_, ChunkGenerator p_73649_, Random p_73650_, BoundingBox p_73651_, ChunkPos p_73652_, BlockPos p_73653_)- Specified by:
postProcess
in classStructurePiece
-
spawnCat
-