net.minecraft.world.level.levelgen.structure

public class StrongholdPieces

dfb
net.minecraft.world.level.levelgen.structure.StrongholdPieces
net.minecraft.class_3421
net.minecraft.structure.StrongholdGenerator
net.minecraft.src.C_2562_
net.minecraft.world.level.levelgen.structure.WorldGenStrongholdPieces

Field summary

Modifier and TypeField
private static final int
a
SMALL_DOOR_WIDTH
field_31624
field_31624
f_163218_
private static final int
b
SMALL_DOOR_HEIGHT
field_31625
field_31625
f_163219_
private static final int
c
MAX_DEPTH
field_31626
field_31626
f_163220_
private static final int
d
LOWEST_Y_POSITION
field_31627
field_31627
f_163221_
private static final boolean
e
CHECK_AIR
field_31628
field_31628
f_163222_
private static final StrongholdPieces$PieceWeight[]
f
STRONGHOLD_PIECE_WEIGHTS
field_15265
ALL_PIECES
f_72851_
private static List<StrongholdPieces$PieceWeight>
g
currentPieces
field_15267
possiblePieces
f_72852_
static Class<? extends StrongholdPieces$StrongholdPiece>
h
imposedPiece
field_15266
activePieceType
f_72853_
private static int
i
totalWeight
field_15264
totalWeight
f_72854_
static final StrongholdPieces$SmoothStoneSelector
j
SMOOTH_STONE_SELECTOR
field_15263
STONE_BRICK_RANDOMIZER
f_72855_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a()
resetPieces()
method_14855()
init()
m_72857_()
private static boolean
b()
updatePieceWeight()
method_14852()
checkRemainingPieces()
m_72888_()
private static StrongholdPieces$StrongholdPiece
a(Class<? extends dfb$p> arg0, dfg arg1, Random arg2, int arg3, int arg4, int arg5, gm arg6, int arg7)
findAndCreatePieceFactory(Class<? extends StrongholdPieces$StrongholdPiece> arg0, StructurePieceAccessor arg1, Random arg2, int arg3, int arg4, int arg5, Direction arg6, int arg7)
method_14847(Class<? extends class_3421$class_3437> arg0, class_6130 arg1, Random 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)
m_163233_(Class<? extends C_2562_$C_2581_> p_163234_, C_141423_ p_163235_, Random p_163236_, int p_163237_, int p_163238_, int p_163239_, C_4687_ p_163240_, int p_163241_)
private static StrongholdPieces$StrongholdPiece
a(dfb$m arg0, dfg arg1, Random arg2, int arg3, int arg4, int arg5, gm arg6, int arg7)
generatePieceFromSmallDoor(StrongholdPieces$StartPiece arg0, StructurePieceAccessor arg1, Random arg2, int arg3, int arg4, int arg5, Direction arg6, int arg7)
method_14851(class_3421$class_3434 arg0, class_6130 arg1, Random 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)
m_163224_(C_2562_$C_2578_ p_163225_, C_141423_ p_163226_, Random p_163227_, int p_163228_, int p_163229_, int p_163230_, C_4687_ p_163231_, int p_163232_)
static StructurePiece
b(dfb$m arg0, dfg arg1, Random arg2, int arg3, int arg4, int arg5, gm arg6, int arg7)
generateAndAddPiece(StrongholdPieces$StartPiece arg0, StructurePieceAccessor arg1, Random arg2, int arg3, int arg4, int arg5, Direction arg6, int arg7)
method_14854(class_3421$class_3434 arg0, class_6130 arg1, Random 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)
m_163242_(C_2562_$C_2578_ p_163243_, C_141423_ p_163244_, Random p_163245_, int p_163246_, int p_163247_, int p_163248_, C_4687_ p_163249_, int p_163250_)