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()
int
moveBelowSeaLevel
(int p_226966_, int p_226967_, RandomSource p_226968_, int p_226969_) Deprecated.void
moveInsideHeights
(RandomSource p_226971_, int p_226972_, int p_226973_) 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 int moveBelowSeaLevel(int p_226966_, int p_226967_, RandomSource p_226968_, int p_226969_) Deprecated. -
moveInsideHeights
Deprecated. -
build
-
clear
public void clear() -
isEmpty
public boolean isEmpty() -
getBoundingBox
-