Class StrongholdPieces.PieceWeight
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.StrongholdPieces.PieceWeight
-
- Enclosing class:
- StrongholdPieces
static class StrongholdPieces.PieceWeight extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description int
maxPlaceCount
java.lang.Class<? extends StrongholdPieces.Stronghold>
pieceClass
int
placeCount
int
weight
-
Constructor Summary
Constructors Constructor Description PieceWeight(java.lang.Class<? extends StrongholdPieces.Stronghold> p_i2076_1_, int p_i2076_2_, int p_i2076_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doPlace(int p_75189_1_)
boolean
isValid()
-
-
-
Field Detail
-
pieceClass
public final java.lang.Class<? extends StrongholdPieces.Stronghold> pieceClass
-
weight
public final int weight
-
placeCount
public int placeCount
-
maxPlaceCount
public final int maxPlaceCount
-
-
Constructor Detail
-
PieceWeight
public PieceWeight(java.lang.Class<? extends StrongholdPieces.Stronghold> p_i2076_1_, int p_i2076_2_, int p_i2076_3_)
-
-