Class ShipwreckFeature.FeatureStart
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructureStart<ShipwreckConfiguration>
net.minecraft.world.level.levelgen.feature.ShipwreckFeature.FeatureStart
- All Implemented Interfaces:
StructurePieceAccessor
- Enclosing class:
- ShipwreckFeature
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructureStart
INVALID_START, INVALID_START_ID, pieces, random
-
Constructor Summary
ConstructorDescriptionFeatureStart(StructureFeature<ShipwreckConfiguration> p_160320_, ChunkPos p_160321_, int p_160322_, long p_160323_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generatePieces(RegistryAccess p_160333_, ChunkGenerator p_160334_, StructureManager p_160335_, ChunkPos p_160336_, Biome p_160337_, ShipwreckConfiguration p_160338_, LevelHeightAccessor p_160339_)
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, placeInChunk
-
Constructor Details
-
FeatureStart
public FeatureStart(StructureFeature<ShipwreckConfiguration> p_160320_, ChunkPos p_160321_, int p_160322_, long p_160323_)
-
-
Method Details
-
generatePieces
public void generatePieces(RegistryAccess p_160333_, ChunkGenerator p_160334_, StructureManager p_160335_, ChunkPos p_160336_, Biome p_160337_, ShipwreckConfiguration p_160338_, LevelHeightAccessor p_160339_)- Specified by:
generatePieces
in classStructureStart<ShipwreckConfiguration>
-