Class StrongholdFeature.StrongholdStart
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructureStart<C>
net.minecraft.world.level.levelgen.structure.NoiseAffectingStructureStart<NoneFeatureConfiguration>
net.minecraft.world.level.levelgen.feature.StrongholdFeature.StrongholdStart
- All Implemented Interfaces:
StructurePieceAccessor
- Enclosing class:
- StrongholdFeature
public static class StrongholdFeature.StrongholdStart
extends NoiseAffectingStructureStart<NoneFeatureConfiguration>
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructureStart
INVALID_START, INVALID_START_ID, pieces, random
-
Constructor Summary
ConstructorDescriptionStrongholdStart(StructureFeature<NoneFeatureConfiguration> p_160426_, ChunkPos p_160427_, int p_160428_, long p_160429_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generatePieces(RegistryAccess p_160439_, ChunkGenerator p_160440_, StructureManager p_160441_, ChunkPos p_160442_, Biome p_160443_, NoneFeatureConfiguration p_160444_, LevelHeightAccessor p_160445_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.NoiseAffectingStructureStart
createBoundingBox
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructureStart
addPiece, addReference, canBeReferenced, clearPieces, createTag, findCollisionPiece, findCollisionPiece, getBoundingBox, getChunkPos, getFeature, getLocatePos, getMaxReferences, getPieces, getReferences, hasNoPieces, isInsidePiece, isValid, moveBelowSeaLevel, moveInsideHeights, offsetPiecesVertically, placeInChunk
-
Field Details
-
seed
private final long seed
-
-
Constructor Details
-
StrongholdStart
public StrongholdStart(StructureFeature<NoneFeatureConfiguration> p_160426_, ChunkPos p_160427_, int p_160428_, long p_160429_)
-
-
Method Details
-
generatePieces
public void generatePieces(RegistryAccess p_160439_, ChunkGenerator p_160440_, StructureManager p_160441_, ChunkPos p_160442_, Biome p_160443_, NoneFeatureConfiguration p_160444_, LevelHeightAccessor p_160445_)- Specified by:
generatePieces
in classStructureStart<NoneFeatureConfiguration>
-