Class OceanMonumentPieces.MonumentBuilding
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.OceanMonumentPieces.OceanMonumentPiece
net.minecraft.world.level.levelgen.structure.OceanMonumentPieces.MonumentBuilding
- Enclosing class:
- OceanMonumentPieces
public static class OceanMonumentPieces.MonumentBuilding
extends OceanMonumentPieces.OceanMonumentPiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
private final List<OceanMonumentPieces.OceanMonumentPiece>
private static final int
private static final int
private static final int
private static final int
Fields inherited from class net.minecraft.world.level.levelgen.structure.OceanMonumentPieces.OceanMonumentPiece
BASE_BLACK, BASE_GRAY, BASE_LIGHT, DO_FILL, DOT_DECO_DATA, FILL_BLOCK, FILL_KEEP, GRID_DEPTH, GRID_FLOOR_COUNT, GRID_HEIGHT, GRID_SIZE, GRID_WIDTH, GRIDROOM_DEPTH, GRIDROOM_HEIGHT, GRIDROOM_LEFTWING_CONNECT_INDEX, GRIDROOM_RIGHTWING_CONNECT_INDEX, GRIDROOM_SOURCE_INDEX, GRIDROOM_TOP_CONNECT_INDEX, GRIDROOM_WIDTH, LAMP_BLOCK, LEFTWING_INDEX, PENTHOUSE_INDEX, RIGHTWING_INDEX, roomDefinition
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionMonumentBuilding
(Random p_72163_, int p_72164_, int p_72165_, Direction p_72166_) MonumentBuilding
(CompoundTag p_192265_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
generateEntranceArchs
(WorldGenLevel p_72176_, Random p_72177_, BoundingBox p_72178_) private void
generateEntranceWall
(WorldGenLevel p_72188_, Random p_72189_, BoundingBox p_72190_) private void
generateLowerWall
(WorldGenLevel p_72196_, Random p_72197_, BoundingBox p_72198_) private void
generateMiddleWall
(WorldGenLevel p_72200_, Random p_72201_, BoundingBox p_72202_) private void
generateRoofPiece
(WorldGenLevel p_72192_, Random p_72193_, BoundingBox p_72194_) private List<OceanMonumentPieces.RoomDefinition>
generateRoomGraph
(Random p_72180_) private void
generateUpperWall
(WorldGenLevel p_72204_, Random p_72205_, BoundingBox p_72206_) private void
generateWing
(boolean p_72182_, int p_72183_, WorldGenLevel p_72184_, Random p_72185_, BoundingBox p_72186_) void
postProcess
(WorldGenLevel p_192267_, StructureFeatureManager p_192268_, ChunkGenerator p_192269_, Random p_192270_, BoundingBox p_192271_, ChunkPos p_192272_, BlockPos p_192273_) Methods inherited from class net.minecraft.world.level.levelgen.structure.OceanMonumentPieces.OceanMonumentPiece
addAdditionalSaveData, chunkIntersects, generateBoxOnFillOnly, generateDefaultFloor, generateWaterBox, getRoomIndex, spawnElder
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, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Field Details
-
WIDTH
private static final int WIDTH- See Also:
-
HEIGHT
private static final int HEIGHT- See Also:
-
DEPTH
private static final int DEPTH- See Also:
-
BIOME_RANGE_CHECK
public static final int BIOME_RANGE_CHECK- See Also:
-
TOP_POSITION
private static final int TOP_POSITION- See Also:
-
sourceRoom
-
coreRoom
-
childPieces
-
-
Constructor Details
-
MonumentBuilding
-
MonumentBuilding
-
-
Method Details
-
generateRoomGraph
-
postProcess
public void postProcess(WorldGenLevel p_192267_, StructureFeatureManager p_192268_, ChunkGenerator p_192269_, Random p_192270_, BoundingBox p_192271_, ChunkPos p_192272_, BlockPos p_192273_) - Specified by:
postProcess
in classStructurePiece
-
generateWing
private void generateWing(boolean p_72182_, int p_72183_, WorldGenLevel p_72184_, Random p_72185_, BoundingBox p_72186_) -
generateEntranceArchs
-
generateEntranceWall
-
generateRoofPiece
-
generateLowerWall
-
generateMiddleWall
-
generateUpperWall
-