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 int
private static int
private static int
private static int
private static 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(ServerLevel p_162994_, CompoundTag p_162995_)
-
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_)
boolean
postProcess(WorldGenLevel p_72168_, StructureFeatureManager p_72169_, ChunkGenerator p_72170_, Random p_72171_, BoundingBox p_72172_, ChunkPos p_72173_, BlockPos p_72174_)
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, createChest, createChest, createDispenser, createTag, fillColumnDown, 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:
- Constant Field Values
-
HEIGHT
private static final int HEIGHT- See Also:
- Constant Field Values
-
DEPTH
private static final int DEPTH- See Also:
- Constant Field Values
-
BIOME_RANGE_CHECK
public static final int BIOME_RANGE_CHECK- See Also:
- Constant Field Values
-
TOP_POSITION
private static final int TOP_POSITION- See Also:
- Constant Field Values
-
sourceRoom
-
coreRoom
-
childPieces
-
-
Constructor Details
-
MonumentBuilding
-
MonumentBuilding
-
-
Method Details
-
generateRoomGraph
-
postProcess
public boolean postProcess(WorldGenLevel p_72168_, StructureFeatureManager p_72169_, ChunkGenerator p_72170_, Random p_72171_, BoundingBox p_72172_, ChunkPos p_72173_, BlockPos p_72174_)- 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
-