接口 Candle

所有超级接口:
BlockData, Cloneable, Lightable, Waterlogged

public interface Candle extends Lightable, Waterlogged
'candles' 表示存在的蜡烛数量.
  • 方法详细资料

    • getCandles

      int getCandles()
      获取 'candles' 属性的值.

      原文: Gets the value of the 'candles' property.

      返回:
      'candles' 的值
    • setCandles

      void setCandles(int candles)
      设置 'candles' 属性的值.

      原文: Sets the value of the 'candles' property.

      参数:
      candles - 新的 'candles' 值
    • getMaximumCandles

      int getMaximumCandles()
      获取 'candles' 属性允许的最大值.

      原文: Gets the maximum allowed value of the 'candles' property.

      返回:
      'candles' 的最大值