Class FortressPieces.PieceWeight
- java.lang.Object
-
- net.minecraft.world.gen.feature.structure.FortressPieces.PieceWeight
-
- Enclosing class:
- FortressPieces
static class FortressPieces.PieceWeight extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
allowInRow
int
maxPlaceCount
java.lang.Class<? extends FortressPieces.Piece>
pieceClass
int
placeCount
int
weight
-
Constructor Summary
Constructors Constructor Description PieceWeight(java.lang.Class<? extends FortressPieces.Piece> p_i2056_1_, int p_i2056_2_, int p_i2056_3_)
PieceWeight(java.lang.Class<? extends FortressPieces.Piece> p_i2055_1_, int p_i2055_2_, int p_i2055_3_, boolean p_i2055_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doPlace(int p_78822_1_)
boolean
isValid()
-
-
-
Field Detail
-
pieceClass
public final java.lang.Class<? extends FortressPieces.Piece> pieceClass
-
weight
public final int weight
-
placeCount
public int placeCount
-
maxPlaceCount
public final int maxPlaceCount
-
allowInRow
public final boolean allowInRow
-
-
Constructor Detail
-
PieceWeight
public PieceWeight(java.lang.Class<? extends FortressPieces.Piece> p_i2055_1_, int p_i2055_2_, int p_i2055_3_, boolean p_i2055_4_)
-
PieceWeight
public PieceWeight(java.lang.Class<? extends FortressPieces.Piece> p_i2056_1_, int p_i2056_2_, int p_i2056_3_)
-
-