Class StrongholdPieces.PieceWeight
java.lang.Object
net.minecraft.world.level.levelgen.structure.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_73063_, int p_73064_, int p_73065_) -
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_73063_, int p_73064_, int p_73065_)
-
-
Method Details
-
doPlace
public boolean doPlace(int p_73067_) -
isValid
public boolean isValid()
-