Class MineShaftPieces
java.lang.Object
net.minecraft.world.level.levelgen.structure.MineShaftPieces
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
(package private) static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private static int
private static int
(package private) static org.apache.logging.log4j.Logger
private static int
private static int
private static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static MineShaftPieces.MineShaftPiece
createRandomShaftPiece(StructurePieceAccessor p_162481_, Random p_162482_, int p_162483_, int p_162484_, int p_162485_, Direction p_162486_, int p_162487_, MineshaftFeature.Type p_162488_)
(package private) static MineShaftPieces.MineShaftPiece
generateAndAddPiece(StructurePiece p_162472_, StructurePieceAccessor p_162473_, Random p_162474_, int p_162475_, int p_162476_, int p_162477_, Direction p_162478_, int p_162479_)
-
Field Details
-
LOGGER
static final org.apache.logging.log4j.Logger LOGGER -
DEFAULT_SHAFT_WIDTH
private static final int DEFAULT_SHAFT_WIDTH- See Also:
- Constant Field Values
-
DEFAULT_SHAFT_HEIGHT
private static final int DEFAULT_SHAFT_HEIGHT- See Also:
- Constant Field Values
-
DEFAULT_SHAFT_LENGTH
private static final int DEFAULT_SHAFT_LENGTH- See Also:
- Constant Field Values
-
MAX_PILLAR_HEIGHT
private static final int MAX_PILLAR_HEIGHT- See Also:
- Constant Field Values
-
MAX_CHAIN_HEIGHT
private static final int MAX_CHAIN_HEIGHT- See Also:
- Constant Field Values
-
MAX_DEPTH
private static final int MAX_DEPTH- See Also:
- Constant Field Values
-
-
Constructor Details
-
MineShaftPieces
public MineShaftPieces()
-
-
Method Details
-
createRandomShaftPiece
private static MineShaftPieces.MineShaftPiece createRandomShaftPiece(StructurePieceAccessor p_162481_, Random p_162482_, int p_162483_, int p_162484_, int p_162485_, @Nullable Direction p_162486_, int p_162487_, MineshaftFeature.Type p_162488_) -
generateAndAddPiece
static MineShaftPieces.MineShaftPiece generateAndAddPiece(StructurePiece p_162472_, StructurePieceAccessor p_162473_, Random p_162474_, int p_162475_, int p_162476_, int p_162477_, Direction p_162478_, int p_162479_)
-