Package net.minecraft.structure
Class StrongholdGenerator
java.lang.Object
net.minecraft.structure.StrongholdGenerator
public class StrongholdGenerator extends Object
- Mappings:
Namespace Name official cxfintermediary net/minecraft/class_3421named net/minecraft/structure/StrongholdGenerator
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStrongholdGenerator.ChestCorridorstatic classStrongholdGenerator.Corridorstatic classStrongholdGenerator.FiveWayCrossingstatic classStrongholdGenerator.LeftTurnstatic classStrongholdGenerator.Library(package private) static classStrongholdGenerator.Piece(package private) static classStrongholdGenerator.PieceDatastatic classStrongholdGenerator.PortalRoomstatic classStrongholdGenerator.PrisonHallstatic classStrongholdGenerator.RightTurnstatic classStrongholdGenerator.SmallCorridorstatic classStrongholdGenerator.SpiralStaircasestatic classStrongholdGenerator.SquareRoomstatic classStrongholdGenerator.Stairsstatic classStrongholdGenerator.Start(package private) static classStrongholdGenerator.StoneBrickRandomizerstatic classStrongholdGenerator.Turn -
Field Summary
Fields Modifier and Type Field Description private static Class<? extends StrongholdGenerator.Piece>activePieceTypeprivate static StrongholdGenerator.PieceData[]ALL_PIECESprivate static List<StrongholdGenerator.PieceData>possiblePiecesprivate static StrongholdGenerator.StoneBrickRandomizerSTONE_BRICK_RANDOMIZERprivate static inttotalWeight -
Constructor Summary
Constructors Constructor Description StrongholdGenerator() -
Method Summary
Modifier and Type Method Description private static booleancheckRemainingPieces()private static StrongholdGenerator.PiececreatePiece(Class<? extends StrongholdGenerator.Piece> pieceType, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)static voidinit()private static StrongholdGenerator.PiecepickPiece(StrongholdGenerator.Start start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)private static StructurePiecepieceGenerator(StrongholdGenerator.Start start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)
-
Field Details
-
ALL_PIECES
- Mappings:
Namespace Name Mixin selector official aLcxf;a:[Lcxf$f;intermediary field_15265Lnet/minecraft/class_3421;field_15265:[Lnet/minecraft/class_3421$class_3427;named ALL_PIECESLnet/minecraft/structure/StrongholdGenerator;ALL_PIECES:[Lnet/minecraft/structure/StrongholdGenerator$PieceData;
-
possiblePieces
- Mappings:
Namespace Name Mixin selector official bLcxf;b:Ljava/util/List;intermediary field_15267Lnet/minecraft/class_3421;field_15267:Ljava/util/List;named possiblePiecesLnet/minecraft/structure/StrongholdGenerator;possiblePieces:Ljava/util/List;
-
activePieceType
- Mappings:
Namespace Name Mixin selector official cLcxf;c:Ljava/lang/Class;intermediary field_15266Lnet/minecraft/class_3421;field_15266:Ljava/lang/Class;named activePieceTypeLnet/minecraft/structure/StrongholdGenerator;activePieceType:Ljava/lang/Class;
-
totalWeight
private static int totalWeight- Mappings:
Namespace Name Mixin selector official dLcxf;d:Iintermediary field_15264Lnet/minecraft/class_3421;field_15264:Inamed totalWeightLnet/minecraft/structure/StrongholdGenerator;totalWeight:I
-
STONE_BRICK_RANDOMIZER
- Mappings:
Namespace Name Mixin selector official eLcxf;e:Lcxf$k;intermediary field_15263Lnet/minecraft/class_3421;field_15263:Lnet/minecraft/class_3421$class_3432;named STONE_BRICK_RANDOMIZERLnet/minecraft/structure/StrongholdGenerator;STONE_BRICK_RANDOMIZER:Lnet/minecraft/structure/StrongholdGenerator$StoneBrickRandomizer;
-
-
Constructor Details
-
StrongholdGenerator
public StrongholdGenerator()
-
-
Method Details
-
init
public static void init()- Mappings:
Namespace Name Mixin selector official aLcxf;a()Vintermediary method_14855Lnet/minecraft/class_3421;method_14855()Vnamed initLnet/minecraft/structure/StrongholdGenerator;init()V
-
checkRemainingPieces
private static boolean checkRemainingPieces()- Mappings:
Namespace Name Mixin selector official cLcxf;c()Zintermediary method_14852Lnet/minecraft/class_3421;method_14852()Znamed checkRemainingPiecesLnet/minecraft/structure/StrongholdGenerator;checkRemainingPieces()Z
-
createPiece
private static StrongholdGenerator.Piece createPiece(Class<? extends StrongholdGenerator.Piece> pieceType, List<StructurePiece> pieces, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength)- Mappings:
Namespace Name Mixin selector official aLcxf;a(Ljava/lang/Class;Ljava/util/List;Ljava/util/Random;IIILgc;I)Lcxf$p;intermediary method_14847Lnet/minecraft/class_3421;method_14847(Ljava/lang/Class;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/class_2350;I)Lnet/minecraft/class_3421$class_3437;named createPieceLnet/minecraft/structure/StrongholdGenerator;createPiece(Ljava/lang/Class;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;I)Lnet/minecraft/structure/StrongholdGenerator$Piece;
-
pickPiece
private static StrongholdGenerator.Piece pickPiece(StrongholdGenerator.Start start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)- Mappings:
Namespace Name Mixin selector official bLcxf;b(Lcxf$m;Ljava/util/List;Ljava/util/Random;IIILgc;I)Lcxf$p;intermediary method_14851Lnet/minecraft/class_3421;method_14851(Lnet/minecraft/class_3421$class_3434;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/class_2350;I)Lnet/minecraft/class_3421$class_3437;named pickPieceLnet/minecraft/structure/StrongholdGenerator;pickPiece(Lnet/minecraft/structure/StrongholdGenerator$Start;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;I)Lnet/minecraft/structure/StrongholdGenerator$Piece;
-
pieceGenerator
private static StructurePiece pieceGenerator(StrongholdGenerator.Start start, List<StructurePiece> pieces, Random random, int x, int y, int z, @Nullable Direction orientation, int chainLength)- Mappings:
Namespace Name Mixin selector official cLcxf;c(Lcxf$m;Ljava/util/List;Ljava/util/Random;IIILgc;I)Lcxh;intermediary method_14854Lnet/minecraft/class_3421;method_14854(Lnet/minecraft/class_3421$class_3434;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/class_2350;I)Lnet/minecraft/class_3443;named pieceGeneratorLnet/minecraft/structure/StrongholdGenerator;pieceGenerator(Lnet/minecraft/structure/StrongholdGenerator$Start;Ljava/util/List;Ljava/util/Random;IIILnet/minecraft/util/math/Direction;I)Lnet/minecraft/structure/StructurePiece;
-