net.minecraft.world.level.levelgen.structure.structures

public class StrongholdPieces

erc
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces
net.minecraft.class_3421
net.minecraft.structure.StrongholdGenerator
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces

Field summary

Modifier and TypeField
private static final int
b
SMALL_DOOR_WIDTH
field_31624
field_31624
private static final int
c
SMALL_DOOR_HEIGHT
field_31625
field_31625
private static final int
d
MAX_DEPTH
field_31626
field_31626
private static final int
e
LOWEST_Y_POSITION
field_31627
field_31627
private static final boolean
f
CHECK_AIR
field_31628
field_31628
public static final int
a
MAGIC_START_Y
field_36417
field_36417
private static final StrongholdPieces$PieceWeight[]
g
STRONGHOLD_PIECE_WEIGHTS
field_15265
ALL_PIECES
private static List<StrongholdPieces$PieceWeight>
h
currentPieces
field_15267
possiblePieces
static Class<? extends StrongholdPieces$StrongholdPiece>
i
imposedPiece
field_15266
activePieceType
private static int
j
totalWeight
field_15264
totalWeight
static final StrongholdPieces$SmoothStoneSelector
k
SMOOTH_STONE_SELECTOR
field_15263
STONE_BRICK_RANDOMIZER

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a()
resetPieces()
method_14855()
init()
private static boolean
b()
updatePieceWeight()
method_14852()
checkRemainingPieces()
private static StrongholdPieces$StrongholdPiece
a(Class<? extends erc$p> arg0, eop arg1, bam arg2, int arg3, int arg4, int arg5, jm arg6, int arg7)
findAndCreatePieceFactory(Class<? extends StrongholdPieces$StrongholdPiece> arg0, StructurePieceAccessor arg1, RandomSource arg2, int arg3, int arg4, int arg5, Direction arg6, int arg7)
method_14847(Class<? extends class_3421$class_3437> arg0, class_6130 arg1, class_5819 arg2, int arg3, int arg4, int arg5, class_2350 arg6, int arg7)
createPiece(Class<? extends StrongholdGenerator$Piece> pieceType, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength)
private static StrongholdPieces$StrongholdPiece
a(erc$m arg0, eop arg1, bam arg2, int arg3, int arg4, int arg5, jm arg6, int arg7)
generatePieceFromSmallDoor(StrongholdPieces$StartPiece arg0, StructurePieceAccessor arg1, RandomSource arg2, int arg3, int arg4, int arg5, Direction arg6, int arg7)
method_14851(class_3421$class_3434 arg0, class_6130 arg1, class_5819 arg2, int arg3, int arg4, int arg5, class_2350 arg6, int arg7)
pickPiece(StrongholdGenerator$Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength)
static StructurePiece
b(erc$m arg0, eop arg1, bam arg2, int arg3, int arg4, int arg5, jm arg6, int arg7)
generateAndAddPiece(StrongholdPieces$StartPiece arg0, StructurePieceAccessor arg1, RandomSource arg2, int arg3, int arg4, int arg5, Direction arg6, int arg7)
method_14854(class_3421$class_3434 arg0, class_6130 arg1, class_5819 arg2, int arg3, int arg4, int arg5, class_2350 arg6, int arg7)
pieceGenerator(StrongholdGenerator$Start start, StructurePiecesHolder holder, Random random, int x, int y, int z, Direction orientation, int chainLength)