Class JunglePyramidPiece
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.StructurePiece
-
- net.minecraft.world.gen.feature.structure.ScatteredStructurePiece
-
- net.minecraft.world.gen.feature.structure.JunglePyramidPiece
-
public class JunglePyramidPiece extends ScatteredStructurePiece
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
JunglePyramidPiece.Selector
-
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
placedHiddenChest
private boolean
placedMainChest
private boolean
placedTrap1
private boolean
placedTrap2
private static JunglePyramidPiece.Selector
STONE_SELECTOR
-
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 JunglePyramidPiece(java.util.Random p_i48656_1_, int p_i48656_2_, int p_i48656_3_)
JunglePyramidPiece(TemplateManager p_i51350_1_, CompoundNBT p_i51350_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_)
-
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 Detail
-
placedMainChest
private boolean placedMainChest
-
placedHiddenChest
private boolean placedHiddenChest
-
placedTrap1
private boolean placedTrap1
-
placedTrap2
private boolean placedTrap2
-
STONE_SELECTOR
private static final JunglePyramidPiece.Selector STONE_SELECTOR
-
-
Constructor Detail
-
JunglePyramidPiece
public JunglePyramidPiece(java.util.Random p_i48656_1_, int p_i48656_2_, int p_i48656_3_)
-
JunglePyramidPiece
public JunglePyramidPiece(TemplateManager p_i51350_1_, CompoundNBT p_i51350_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
-
-