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 final int
private static final int
private static final int
(package private) static final org.slf4j.Logger
static final int
private static final int
private static final int
private static final 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.slf4j.Logger LOGGER -
DEFAULT_SHAFT_WIDTH
private static final int DEFAULT_SHAFT_WIDTH- See Also:
-
DEFAULT_SHAFT_HEIGHT
private static final int DEFAULT_SHAFT_HEIGHT- See Also:
-
DEFAULT_SHAFT_LENGTH
private static final int DEFAULT_SHAFT_LENGTH- See Also:
-
MAX_PILLAR_HEIGHT
private static final int MAX_PILLAR_HEIGHT- See Also:
-
MAX_CHAIN_HEIGHT
private static final int MAX_CHAIN_HEIGHT- See Also:
-
MAX_DEPTH
private static final int MAX_DEPTH- See Also:
-
MAGIC_START_Y
public static final int MAGIC_START_Y- See Also:
-
-
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_)
-