Class NetherBridgePieces.PieceWeight
java.lang.Object
net.minecraft.world.level.levelgen.structure.NetherBridgePieces.PieceWeight
- Enclosing class:
- NetherBridgePieces
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
final int
final Class<? extends NetherBridgePieces.NetherBridgePiece>
int
final int
-
Constructor Summary
ConstructorDescriptionPieceWeight
(Class<? extends NetherBridgePieces.NetherBridgePiece> p_71956_, int p_71957_, int p_71958_) PieceWeight
(Class<? extends NetherBridgePieces.NetherBridgePiece> p_71960_, int p_71961_, int p_71962_, boolean p_71963_) -
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 NetherBridgePieces.NetherBridgePiece> p_71960_, int p_71961_, int p_71962_, boolean p_71963_) -
PieceWeight
public PieceWeight(Class<? extends NetherBridgePieces.NetherBridgePiece> p_71956_, int p_71957_, int p_71958_)
-
-
Method Details
-
doPlace
public boolean doPlace(int p_71966_) -
isValid
public boolean isValid()
-