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

public class StrongholdPieces

dxs
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces
net.minecraft.class_3421
net.minecraft.structure.StrongholdGenerator
net.minecraft.src.C_213268_
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
f_229404_
private static final int
c
SMALL_DOOR_HEIGHT
field_31625
field_31625
f_229405_
private static final int
d
MAX_DEPTH
field_31626
field_31626
f_229406_
private static final int
e
LOWEST_Y_POSITION
field_31627
field_31627
f_229407_
private static final boolean
f
CHECK_AIR
field_31628
field_31628
f_229408_
public static final int
a
MAGIC_START_Y
field_36417
field_36417
f_229403_
private static final StrongholdPieces$PieceWeight[]
g
STRONGHOLD_PIECE_WEIGHTS
field_15265
ALL_PIECES
f_229409_
private static List<StrongholdPieces$PieceWeight>
h
currentPieces
field_15267
possiblePieces
f_229410_
static Class<? extends StrongholdPieces$StrongholdPiece>
i
imposedPiece
field_15266
activePieceType
f_229411_
private static int
j
totalWeight
field_15264
totalWeight
f_229412_
static final StrongholdPieces$SmoothStoneSelector
k
SMOOTH_STONE_SELECTOR
field_15263
STONE_BRICK_RANDOMIZER
f_229413_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a()
resetPieces()
method_14855()
init()
m_229416_()
private static boolean
b()
updatePieceWeight()
method_14852()
checkRemainingPieces()
m_229435_()
private static StrongholdPieces$StrongholdPiece
a(Class<? extends dxs$p> arg0, dvn arg1, asc arg2, int arg3, int arg4, int arg5, ha 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)
m_229426_(Class<? extends C_213268_$C_213287_> p_229427_, C_141423_ p_229428_, C_212974_ p_229429_, int p_229430_, int p_229431_, int p_229432_, C_4687_ p_229433_, int p_229434_)
private static StrongholdPieces$StrongholdPiece
a(dxs$m arg0, dvn arg1, asc arg2, int arg3, int arg4, int arg5, ha 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)
m_229417_(C_213268_$C_213284_ p_229418_, C_141423_ p_229419_, C_212974_ p_229420_, int p_229421_, int p_229422_, int p_229423_, C_4687_ p_229424_, int p_229425_)
static StructurePiece
b(dxs$m arg0, dvn arg1, asc arg2, int arg3, int arg4, int arg5, ha 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)
m_229436_(C_213268_$C_213284_ p_229437_, C_141423_ p_229438_, C_212974_ p_229439_, int p_229440_, int p_229441_, int p_229442_, C_4687_ p_229443_, int p_229444_)