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
-
public class SwampHutPiece extends ScatteredStructurePiece
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
spawnedCat
private boolean
spawnedWitch
-
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
Constructors Constructor Description SwampHutPiece(java.util.Random p_i48652_1_, int p_i48652_2_, int p_i48652_3_)
SwampHutPiece(TemplateManager p_i51340_1_, CompoundNBT p_i51340_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalSaveData(CompoundNBT p_143011_1_)
boolean
postProcess(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, java.util.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
-
-
-
-
Constructor Detail
-
SwampHutPiece
public SwampHutPiece(java.util.Random p_i48652_1_, int p_i48652_2_, int p_i48652_3_)
-
SwampHutPiece
public SwampHutPiece(TemplateManager p_i51340_1_, CompoundNBT p_i51340_2_)
-
-
Method Detail
-
addAdditionalSaveData
protected void addAdditionalSaveData(CompoundNBT p_143011_1_)
- Overrides:
addAdditionalSaveData
in classScatteredStructurePiece
-
postProcess
public boolean postProcess(ISeedReader p_230383_1_, StructureManager p_230383_2_, ChunkGenerator p_230383_3_, java.util.Random p_230383_4_, MutableBoundingBox p_230383_5_, ChunkPos p_230383_6_, BlockPos p_230383_7_)
- Specified by:
postProcess
in classStructurePiece
-
spawnCat
private void spawnCat(IServerWorld p_214821_1_, MutableBoundingBox p_214821_2_)
-
-