Class StructurePiecesBuilder
java.lang.Object
net.minecraft.world.level.levelgen.structure.pieces.StructurePiecesBuilder
- All Implemented Interfaces:
StructurePieceAccessor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPiece
(StructurePiece p_192791_) build()
void
clear()
findCollisionPiece
(BoundingBox p_192789_) boolean
isEmpty()
void
moveBelowSeaLevel
(int p_192784_, int p_192785_, Random p_192786_, int p_192787_) Deprecated.void
moveInsideHeights
(Random p_192793_, int p_192794_, int p_192795_) Deprecated.void
offsetPiecesVertically
(int p_192782_) Deprecated.
-
Field Details
-
pieces
-
-
Constructor Details
-
StructurePiecesBuilder
public StructurePiecesBuilder()
-
-
Method Details
-
addPiece
- Specified by:
addPiece
in interfaceStructurePieceAccessor
-
findCollisionPiece
- Specified by:
findCollisionPiece
in interfaceStructurePieceAccessor
-
offsetPiecesVertically
Deprecated. -
moveBelowSeaLevel
@Deprecated public void moveBelowSeaLevel(int p_192784_, int p_192785_, Random p_192786_, int p_192787_) Deprecated. -
moveInsideHeights
Deprecated. -
build
-
clear
public void clear() -
isEmpty
public boolean isEmpty() -
getBoundingBox
-