Class StrongholdPieces.PieceWeight
java.lang.Object
net.minecraft.world.level.levelgen.structure.structures.StrongholdPieces.PieceWeight
- Enclosing class:
StrongholdPieces
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
final Class
<? extends StrongholdPieces.StrongholdPiece> int
final int
-
Constructor Summary
ConstructorDescriptionPieceWeight
(Class<? extends StrongholdPieces.StrongholdPiece> p_229619_, int p_229620_, int p_229621_) -
Method Summary
-
Field Details
-
pieceClass
-
weight
public final int weight -
placeCount
public int placeCount -
maxPlaceCount
public final int maxPlaceCount
-
-
Constructor Details
-
PieceWeight
public PieceWeight(Class<? extends StrongholdPieces.StrongholdPiece> p_229619_, int p_229620_, int p_229621_)
-
-
Method Details
-
doPlace
public boolean doPlace(int p_229623_) -
isValid
public boolean isValid()
-