Class OceanMonumentPieces.MonumentBuilding
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.OceanMonumentPieces.OceanMonumentPiece
net.minecraft.world.level.levelgen.structure.structures.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.structures.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
(CompoundTag p_228653_) MonumentBuilding
(RandomSource p_228648_, int p_228649_, int p_228650_, Direction p_228651_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
generateEntranceArchs
(WorldGenLevel p_228655_, RandomSource p_228656_, BoundingBox p_228657_) private void
generateEntranceWall
(WorldGenLevel p_228675_, RandomSource p_228676_, BoundingBox p_228677_) private void
generateLowerWall
(WorldGenLevel p_228683_, RandomSource p_228684_, BoundingBox p_228685_) private void
generateMiddleWall
(WorldGenLevel p_228687_, RandomSource p_228688_, BoundingBox p_228689_) private void
generateRoofPiece
(WorldGenLevel p_228679_, RandomSource p_228680_, BoundingBox p_228681_) private List<OceanMonumentPieces.RoomDefinition>
generateRoomGraph
(RandomSource p_228673_) private void
generateUpperWall
(WorldGenLevel p_228691_, RandomSource p_228692_, BoundingBox p_228693_) private void
generateWing
(boolean p_228667_, int p_228668_, WorldGenLevel p_228669_, RandomSource p_228670_, BoundingBox p_228671_) void
postProcess
(WorldGenLevel p_228659_, StructureManager p_228660_, ChunkGenerator p_228661_, RandomSource p_228662_, BoundingBox p_228663_, ChunkPos p_228664_, BlockPos p_228665_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.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, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setGenDepth, 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_228659_, StructureManager p_228660_, ChunkGenerator p_228661_, RandomSource p_228662_, BoundingBox p_228663_, ChunkPos p_228664_, BlockPos p_228665_) - Specified by:
postProcess
in classStructurePiece
-
generateWing
private void generateWing(boolean p_228667_, int p_228668_, WorldGenLevel p_228669_, RandomSource p_228670_, BoundingBox p_228671_) -
generateEntranceArchs
private void generateEntranceArchs(WorldGenLevel p_228655_, RandomSource p_228656_, BoundingBox p_228657_) -
generateEntranceWall
private void generateEntranceWall(WorldGenLevel p_228675_, RandomSource p_228676_, BoundingBox p_228677_) -
generateRoofPiece
private void generateRoofPiece(WorldGenLevel p_228679_, RandomSource p_228680_, BoundingBox p_228681_) -
generateLowerWall
private void generateLowerWall(WorldGenLevel p_228683_, RandomSource p_228684_, BoundingBox p_228685_) -
generateMiddleWall
private void generateMiddleWall(WorldGenLevel p_228687_, RandomSource p_228688_, BoundingBox p_228689_) -
generateUpperWall
private void generateUpperWall(WorldGenLevel p_228691_, RandomSource p_228692_, BoundingBox p_228693_)
-