Class StructureStart
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructureStart
-
Field Summary
Modifier and TypeFieldDescriptionprivate BoundingBox
private final ChunkPos
private final ConfiguredStructureFeature<?,
?> static final StructureStart
static final String
private final PiecesContainer
private int
-
Constructor Summary
ConstructorDescriptionStructureStart
(ConfiguredStructureFeature<?, ?> p_210077_, ChunkPos p_210078_, int p_210079_, PiecesContainer p_210080_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
createTag
(StructurePieceSerializationContext p_192661_, ChunkPos p_192662_) protected int
int
boolean
isValid()
void
placeInChunk
(WorldGenLevel p_73584_, StructureFeatureManager p_73585_, ChunkGenerator p_73586_, Random p_73587_, BoundingBox p_73588_, ChunkPos p_73589_)
-
Field Details
-
INVALID_START_ID
- See Also:
-
INVALID_START
-
feature
-
pieceContainer
-
chunkPos
-
references
private int references -
cachedBoundingBox
-
-
Constructor Details
-
StructureStart
public StructureStart(ConfiguredStructureFeature<?, ?> p_210077_, ChunkPos p_210078_, int p_210079_, PiecesContainer p_210080_)
-
-
Method Details
-
getBoundingBox
-
placeInChunk
public void placeInChunk(WorldGenLevel p_73584_, StructureFeatureManager p_73585_, ChunkGenerator p_73586_, Random p_73587_, BoundingBox p_73588_, ChunkPos p_73589_) -
createTag
-
isValid
public boolean isValid() -
getChunkPos
-
canBeReferenced
public boolean canBeReferenced() -
addReference
public void addReference() -
getReferences
public int getReferences() -
getMaxReferences
protected int getMaxReferences() -
getFeature
-
getPieces
-