Class NetherFortressPieces.PieceWeight
java.lang.Object
net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.PieceWeight
- Enclosing class:
NetherFortressPieces
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
final int
final Class<? extends NetherFortressPieces.NetherBridgePiece>
int
final int
-
Constructor Summary
ConstructorDescriptionPieceWeight
(Class<? extends NetherFortressPieces.NetherBridgePiece> p_228440_, int p_228441_, int p_228442_) PieceWeight
(Class<? extends NetherFortressPieces.NetherBridgePiece> p_228444_, int p_228445_, int p_228446_, boolean p_228447_) -
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 NetherFortressPieces.NetherBridgePiece> p_228444_, int p_228445_, int p_228446_, boolean p_228447_) -
PieceWeight
public PieceWeight(Class<? extends NetherFortressPieces.NetherBridgePiece> p_228440_, int p_228441_, int p_228442_)
-
-
Method Details
-
doPlace
public boolean doPlace(int p_228450_) -
isValid
public boolean isValid()
-