Package net.minecraft.structure
Class NetherFortressGenerator.PieceData
java.lang.Object
net.minecraft.structure.NetherFortressGenerator.PieceData
- Enclosing class:
- NetherFortressGenerator
static class NetherFortressGenerator.PieceData extends Object
-
Field Summary
Fields Modifier and Type Field Description int
generatedCount
int
limit
Class<? extends NetherFortressGenerator.Piece>
pieceType
boolean
repeatable
int
weight
-
Constructor Summary
Constructors Constructor Description PieceData(Class<? extends NetherFortressGenerator.Piece> pieceType, int weight, int limit)
PieceData(Class<? extends NetherFortressGenerator.Piece> pieceType, int weight, int limit, boolean repeatable)
-
Method Summary
Modifier and Type Method Description boolean
canGenerate()
boolean
canGenerate(int chainLength)
-
Field Details
-
pieceType
-
weight
public final int weight -
generatedCount
public int generatedCount -
limit
public final int limit -
repeatable
public final boolean repeatable
-
-
Constructor Details
-
PieceData
public PieceData(Class<? extends NetherFortressGenerator.Piece> pieceType, int weight, int limit, boolean repeatable) -
PieceData
-
-
Method Details
-
canGenerate
public boolean canGenerate(int chainLength) -
canGenerate
public boolean canGenerate()
-