Class FortressPieces.PieceWeight

java.lang.Object
net.minecraft.world.gen.feature.structure.FortressPieces.PieceWeight
Enclosing class:
FortressPieces

static class FortressPieces.PieceWeight extends Object
  • Field Details

    • pieceClass

      public final Class<? extends FortressPieces.Piece> 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()