Class BuriedTreasureFeature.BuriedTreasureStart
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructureStart<ProbabilityFeatureConfiguration>
net.minecraft.world.level.levelgen.feature.BuriedTreasureFeature.BuriedTreasureStart
- All Implemented Interfaces:
StructurePieceAccessor
- Enclosing class:
- BuriedTreasureFeature
public static class BuriedTreasureFeature.BuriedTreasureStart
extends StructureStart<ProbabilityFeatureConfiguration>
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructureStart
INVALID_START, INVALID_START_ID, pieces, random
-
Constructor Summary
ConstructorDescriptionBuriedTreasureStart(StructureFeature<ProbabilityFeatureConfiguration> p_159500_, ChunkPos p_159501_, int p_159502_, long p_159503_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generatePieces(RegistryAccess p_159513_, ChunkGenerator p_159514_, StructureManager p_159515_, ChunkPos p_159516_, Biome p_159517_, ProbabilityFeatureConfiguration p_159518_, LevelHeightAccessor p_159519_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructureStart
addPiece, addReference, canBeReferenced, clearPieces, createBoundingBox, createTag, findCollisionPiece, findCollisionPiece, getBoundingBox, getChunkPos, getFeature, getMaxReferences, getPieces, getReferences, hasNoPieces, isInsidePiece, isValid, moveBelowSeaLevel, moveInsideHeights, offsetPiecesVertically, placeInChunk
-
Constructor Details
-
BuriedTreasureStart
public BuriedTreasureStart(StructureFeature<ProbabilityFeatureConfiguration> p_159500_, ChunkPos p_159501_, int p_159502_, long p_159503_)
-
-
Method Details
-
generatePieces
public void generatePieces(RegistryAccess p_159513_, ChunkGenerator p_159514_, StructureManager p_159515_, ChunkPos p_159516_, Biome p_159517_, ProbabilityFeatureConfiguration p_159518_, LevelHeightAccessor p_159519_)- Specified by:
generatePieces
in classStructureStart<ProbabilityFeatureConfiguration>
-
getLocatePos
- Overrides:
getLocatePos
in classStructureStart<ProbabilityFeatureConfiguration>
-