Class StrongholdPieces
java.lang.Object
net.minecraft.world.gen.feature.structure.StrongholdPieces
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
(package private) static class
static class
static class
static class
static class
static class
static class
static class
(package private) static class
static class
(package private) static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate static List<StrongholdPieces.PieceWeight>
private static Class<? extends StrongholdPieces.Stronghold>
private static final StrongholdPieces.Stones
private static final StrongholdPieces.PieceWeight[]
private static int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static StrongholdPieces.Stronghold
findAndCreatePieceFactory
(Class<? extends StrongholdPieces.Stronghold> p_175954_0_, List<StructurePiece> p_175954_1_, Random p_175954_2_, int p_175954_3_, int p_175954_4_, int p_175954_5_, Direction p_175954_6_, int p_175954_7_) private static StructurePiece
generateAndAddPiece
(StrongholdPieces.Stairs2 p_175953_0_, List<StructurePiece> p_175953_1_, Random p_175953_2_, int p_175953_3_, int p_175953_4_, int p_175953_5_, Direction p_175953_6_, int p_175953_7_) private static StrongholdPieces.Stronghold
generatePieceFromSmallDoor
(StrongholdPieces.Stairs2 p_175955_0_, List<StructurePiece> p_175955_1_, Random p_175955_2_, int p_175955_3_, int p_175955_4_, int p_175955_5_, Direction p_175955_6_, int p_175955_7_) static void
private static boolean
-
Field Details
-
STRONGHOLD_PIECE_WEIGHTS
-
currentPieces
-
imposedPiece
-
totalWeight
private static int totalWeight -
SMOOTH_STONE_SELECTOR
-
-
Constructor Details
-
StrongholdPieces
public StrongholdPieces()
-
-
Method Details
-
resetPieces
public static void resetPieces() -
updatePieceWeight
private static boolean updatePieceWeight() -
findAndCreatePieceFactory
private static StrongholdPieces.Stronghold findAndCreatePieceFactory(Class<? extends StrongholdPieces.Stronghold> p_175954_0_, List<StructurePiece> p_175954_1_, Random p_175954_2_, int p_175954_3_, int p_175954_4_, int p_175954_5_, @Nullable Direction p_175954_6_, int p_175954_7_) -
generatePieceFromSmallDoor
private static StrongholdPieces.Stronghold generatePieceFromSmallDoor(StrongholdPieces.Stairs2 p_175955_0_, List<StructurePiece> p_175955_1_, Random p_175955_2_, int p_175955_3_, int p_175955_4_, int p_175955_5_, Direction p_175955_6_, int p_175955_7_) -
generateAndAddPiece
private static StructurePiece generateAndAddPiece(StrongholdPieces.Stairs2 p_175953_0_, List<StructurePiece> p_175953_1_, Random p_175953_2_, int p_175953_3_, int p_175953_4_, int p_175953_5_, @Nullable Direction p_175953_6_, int p_175953_7_)
-