Class MineshaftPieces
java.lang.Object
net.minecraft.world.level.levelgen.structure.structures.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_227716_, RandomSource p_227717_, int p_227718_, int p_227719_, int p_227720_, Direction p_227721_, int p_227722_, MineshaftStructure.Type p_227723_) (package private) static MineshaftPieces.MineShaftPiece
generateAndAddPiece
(StructurePiece p_227707_, StructurePieceAccessor p_227708_, RandomSource p_227709_, int p_227710_, int p_227711_, int p_227712_, Direction p_227713_, int p_227714_)
-
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_227716_, RandomSource p_227717_, int p_227718_, int p_227719_, int p_227720_, @Nullable Direction p_227721_, int p_227722_, MineshaftStructure.Type p_227723_) -
generateAndAddPiece
static MineshaftPieces.MineShaftPiece generateAndAddPiece(StructurePiece p_227707_, StructurePieceAccessor p_227708_, RandomSource p_227709_, int p_227710_, int p_227711_, int p_227712_, Direction p_227713_, int p_227714_)
-