Class SwampHutPiece
java.lang.Object
net.minecraft.world.gen.feature.structure.StructurePiece
net.minecraft.world.gen.feature.structure.ScatteredStructurePiece
net.minecraft.world.gen.feature.structure.SwampHutPiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.gen.feature.structure.ScatteredStructurePiece
depth, height, heightPosition, width
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionSwampHutPiece
(Random p_i48652_1_, int p_i48652_2_, int p_i48652_3_) SwampHutPiece
(TemplateManager p_i51340_1_, CompoundNBT p_i51340_2_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(CompoundNBT p_143011_1_) boolean
postProcess
(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_) private void
spawnCat
(IServerWorld p_214821_1_, MutableBoundingBox p_214821_2_) Methods inherited from class net.minecraft.world.gen.feature.structure.ScatteredStructurePiece
updateAverageGroundHeight
Methods inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
addChildren, createChest, createChest, createDispenser, createTag, edgesLiquid, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getOrientation, getRotation, getType, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Field Details
-
spawnedWitch
private boolean spawnedWitch -
spawnedCat
private boolean spawnedCat
-
-
Constructor Details
-
SwampHutPiece
-
SwampHutPiece
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classScatteredStructurePiece
-
postProcess
public boolean postProcess(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_) - Specified by:
postProcess
in classStructurePiece
-
spawnCat
-