类 NetherFortressPieces.PieceWeight
java.lang.Object
net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.PieceWeight
- 封闭类:
- NetherFortressPieces
-
字段概要
字段修饰符和类型字段说明final boolean
final int
final Class<? extends NetherFortressPieces.NetherBridgePiece>
int
final int
-
构造器概要
构造器构造器说明PieceWeight
(Class<? extends NetherFortressPieces.NetherBridgePiece> pPieceClass, int pWeight, int pMaxPlaceCount) PieceWeight
(Class<? extends NetherFortressPieces.NetherBridgePiece> pPieceClass, int pWeight, int pMaxPlaceCount, boolean pAllowInRow) -
方法概要
-
字段详细资料
-
pieceClass
-
weight
public final int weight -
placeCount
public int placeCount -
maxPlaceCount
public final int maxPlaceCount -
allowInRow
public final boolean allowInRow
-
-
构造器详细资料
-
PieceWeight
public PieceWeight(Class<? extends NetherFortressPieces.NetherBridgePiece> pPieceClass, int pWeight, int pMaxPlaceCount, boolean pAllowInRow) -
PieceWeight
public PieceWeight(Class<? extends NetherFortressPieces.NetherBridgePiece> pPieceClass, int pWeight, int pMaxPlaceCount)
-
-
方法详细资料
-
doPlace
public boolean doPlace(int p_228450_) -
isValid
public boolean isValid()
-