Class FortressPieces.PieceWeight
java.lang.Object
net.minecraft.world.gen.feature.structure.FortressPieces.PieceWeight
- Enclosing class:
- FortressPieces
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
final int
final Class<? extends FortressPieces.Piece>
int
final int
-
Constructor Summary
ConstructorDescriptionPieceWeight
(Class<? extends FortressPieces.Piece> p_i2056_1_, int p_i2056_2_, int p_i2056_3_) PieceWeight
(Class<? extends FortressPieces.Piece> p_i2055_1_, int p_i2055_2_, int p_i2055_3_, boolean p_i2055_4_) -
Method Summary
-
Field Details
-
pieceClass
-
weight
public final int weight -
placeCount
public int placeCount -
maxPlaceCount
public final int maxPlaceCount -
allowInRow
public final boolean allowInRow
-
-
Constructor Details
-
PieceWeight
public PieceWeight(Class<? extends FortressPieces.Piece> p_i2055_1_, int p_i2055_2_, int p_i2055_3_, boolean p_i2055_4_) -
PieceWeight
public PieceWeight(Class<? extends FortressPieces.Piece> p_i2056_1_, int p_i2056_2_, int p_i2056_3_)
-
-
Method Details
-
doPlace
public boolean doPlace(int p_78822_1_) -
isValid
public boolean isValid()
-