Package net.minecraft.structure
Class StrongholdGenerator
java.lang.Object
net.minecraft.structure.StrongholdGenerator
public class StrongholdGenerator extends Object
- Mappings:
Namespace Name official cxf
intermediary net/minecraft/class_3421
named net/minecraft/structure/StrongholdGenerator
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StrongholdGenerator.ChestCorridor
static class
StrongholdGenerator.Corridor
static class
StrongholdGenerator.FiveWayCrossing
static class
StrongholdGenerator.LeftTurn
static class
StrongholdGenerator.Library
(package private) static class
StrongholdGenerator.Piece
(package private) static class
StrongholdGenerator.PieceData
static class
StrongholdGenerator.PortalRoom
static class
StrongholdGenerator.PrisonHall
static class
StrongholdGenerator.RightTurn
static class
StrongholdGenerator.SmallCorridor
static class
StrongholdGenerator.SpiralStaircase
static class
StrongholdGenerator.SquareRoom
static class
StrongholdGenerator.Stairs
static class
StrongholdGenerator.Start
(package private) static class
StrongholdGenerator.StoneBrickRandomizer
static class
StrongholdGenerator.Turn
-
Field Summary
Fields Modifier and Type Field Description private static Class<? extends StrongholdGenerator.Piece>
activePieceType
private static StrongholdGenerator.PieceData[]
ALL_PIECES
private static List<StrongholdGenerator.PieceData>
possiblePieces
private static StrongholdGenerator.StoneBrickRandomizer
STONE_BRICK_RANDOMIZER
private static int
totalWeight
-
Constructor Summary
Constructors Constructor Description StrongholdGenerator()
-
Method Summary
Modifier and Type Method Description private static boolean
checkRemainingPieces()
private static StrongholdGenerator.Piece
createPiece(Class<? extends StrongholdGenerator.Piece> pieceType, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)
static void
init()
private static StrongholdGenerator.Piece
pickPiece(StrongholdGenerator.Start start, List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)
private static StructurePiece
pieceGenerator(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 a
Lcxf;a:[Lcxf$f;
intermediary field_15265
Lnet/minecraft/class_3421;field_15265:[Lnet/minecraft/class_3421$class_3427;
named ALL_PIECES
Lnet/minecraft/structure/StrongholdGenerator;ALL_PIECES:[Lnet/minecraft/structure/StrongholdGenerator$PieceData;
-
possiblePieces
- Mappings:
Namespace Name Mixin selector official b
Lcxf;b:Ljava/util/List;
intermediary field_15267
Lnet/minecraft/class_3421;field_15267:Ljava/util/List;
named possiblePieces
Lnet/minecraft/structure/StrongholdGenerator;possiblePieces:Ljava/util/List;
-
activePieceType
- Mappings:
Namespace Name Mixin selector official c
Lcxf;c:Ljava/lang/Class;
intermediary field_15266
Lnet/minecraft/class_3421;field_15266:Ljava/lang/Class;
named activePieceType
Lnet/minecraft/structure/StrongholdGenerator;activePieceType:Ljava/lang/Class;
-
totalWeight
private static int totalWeight- Mappings:
Namespace Name Mixin selector official d
Lcxf;d:I
intermediary field_15264
Lnet/minecraft/class_3421;field_15264:I
named totalWeight
Lnet/minecraft/structure/StrongholdGenerator;totalWeight:I
-
STONE_BRICK_RANDOMIZER
- Mappings:
Namespace Name Mixin selector official e
Lcxf;e:Lcxf$k;
intermediary field_15263
Lnet/minecraft/class_3421;field_15263:Lnet/minecraft/class_3421$class_3432;
named STONE_BRICK_RANDOMIZER
Lnet/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 a
Lcxf;a()V
intermediary method_14855
Lnet/minecraft/class_3421;method_14855()V
named init
Lnet/minecraft/structure/StrongholdGenerator;init()V
-
checkRemainingPieces
private static boolean checkRemainingPieces()- Mappings:
Namespace Name Mixin selector official c
Lcxf;c()Z
intermediary method_14852
Lnet/minecraft/class_3421;method_14852()Z
named checkRemainingPieces
Lnet/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 a
Lcxf;a(Ljava/lang/Class;Ljava/util/List;Ljava/util/Random;IIILgc;I)Lcxf$p;
intermediary method_14847
Lnet/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 createPiece
Lnet/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 b
Lcxf;b(Lcxf$m;Ljava/util/List;Ljava/util/Random;IIILgc;I)Lcxf$p;
intermediary method_14851
Lnet/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 pickPiece
Lnet/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 c
Lcxf;c(Lcxf$m;Ljava/util/List;Ljava/util/Random;IIILgc;I)Lcxh;
intermediary method_14854
Lnet/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 pieceGenerator
Lnet/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;
-