Class JungleTemplePiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.ScatteredFeaturePiece
net.minecraft.world.level.levelgen.structure.structures.JungleTemplePiece
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private boolean
private boolean
private boolean
private boolean
private static final JungleTemplePiece.MossStoneSelector
static final int
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
ConstructorDescriptionJungleTemplePiece
(CompoundTag p_227672_) JungleTemplePiece
(RandomSource p_227668_, int p_227669_, int p_227670_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_227682_, CompoundTag p_227683_) void
postProcess
(WorldGenLevel p_227674_, StructureManager p_227675_, ChunkGenerator p_227676_, RandomSource p_227677_, BoundingBox p_227678_, ChunkPos p_227679_, BlockPos p_227680_) 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
-
WIDTH
public static final int WIDTH- See Also:
-
DEPTH
public static final int DEPTH- See Also:
-
placedMainChest
private boolean placedMainChest -
placedHiddenChest
private boolean placedHiddenChest -
placedTrap1
private boolean placedTrap1 -
placedTrap2
private boolean placedTrap2 -
STONE_SELECTOR
-
-
Constructor Details
-
JungleTemplePiece
-
JungleTemplePiece
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_227682_, CompoundTag p_227683_) - Overrides:
addAdditionalSaveData
in classScatteredFeaturePiece
-
postProcess
public void postProcess(WorldGenLevel p_227674_, StructureManager p_227675_, ChunkGenerator p_227676_, RandomSource p_227677_, BoundingBox p_227678_, ChunkPos p_227679_, BlockPos p_227680_) - Specified by:
postProcess
in classStructurePiece
-