Class OceanMonumentFeature.OceanMonumentStart
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructureStart<NoneFeatureConfiguration>
net.minecraft.world.level.levelgen.feature.OceanMonumentFeature.OceanMonumentStart
- All Implemented Interfaces:
StructurePieceAccessor
- Enclosing class:
- OceanMonumentFeature
public static class OceanMonumentFeature.OceanMonumentStart
extends StructureStart<NoneFeatureConfiguration>
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructureStart
INVALID_START, INVALID_START_ID, pieces, random
-
Constructor Summary
ConstructorDescriptionOceanMonumentStart(StructureFeature<NoneFeatureConfiguration> p_160147_, ChunkPos p_160148_, int p_160149_, long p_160150_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generatePieces(RegistryAccess p_160162_, ChunkGenerator p_160163_, StructureManager p_160164_, ChunkPos p_160165_, Biome p_160166_, NoneFeatureConfiguration p_160167_, LevelHeightAccessor p_160168_)
private void
generatePieces(ChunkPos p_160152_)
void
placeInChunk(WorldGenLevel p_66505_, StructureFeatureManager p_66506_, ChunkGenerator p_66507_, Random p_66508_, BoundingBox p_66509_, ChunkPos p_66510_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructureStart
addPiece, addReference, canBeReferenced, clearPieces, createBoundingBox, createTag, findCollisionPiece, findCollisionPiece, getBoundingBox, getChunkPos, getFeature, getLocatePos, getMaxReferences, getPieces, getReferences, hasNoPieces, isInsidePiece, isValid, moveBelowSeaLevel, moveInsideHeights, offsetPiecesVertically
-
Field Details
-
isCreated
private boolean isCreated
-
-
Constructor Details
-
OceanMonumentStart
public OceanMonumentStart(StructureFeature<NoneFeatureConfiguration> p_160147_, ChunkPos p_160148_, int p_160149_, long p_160150_)
-
-
Method Details
-
generatePieces
public void generatePieces(RegistryAccess p_160162_, ChunkGenerator p_160163_, StructureManager p_160164_, ChunkPos p_160165_, Biome p_160166_, NoneFeatureConfiguration p_160167_, LevelHeightAccessor p_160168_)- Specified by:
generatePieces
in classStructureStart<NoneFeatureConfiguration>
-
generatePieces
-
placeInChunk
public void placeInChunk(WorldGenLevel p_66505_, StructureFeatureManager p_66506_, ChunkGenerator p_66507_, Random p_66508_, BoundingBox p_66509_, ChunkPos p_66510_)- Overrides:
placeInChunk
in classStructureStart<NoneFeatureConfiguration>
-