程序包 org.bukkit.block.data.type

# 接口 Candle

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

public interface Candle extends Lightable, Waterlogged
'candles' represents the number of candles which are present.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `int`
  `getCandles()`
  Gets the value of the 'candles' property.
  `int`
  `getMaximumCandles()`
  Gets the maximum allowed value of the 'candles' property.
  `void`
  `setCandles(int candles)`
  Sets the value of the 'candles' property.

  ### 从接口继承的方法 org.bukkit.block.data.BlockData

  `clone, copyTo, createBlockState, getAsString, getAsString, getLightEmission, getMapColor, getMaterial, getPistonMoveReaction, getPlacementMaterial, getSoundGroup, isFaceSturdy, isOccluding, isPreferredTool, isSupported, isSupported, matches, merge, mirror, requiresCorrectToolForDrops, rotate`

  ### 从接口继承的方法 org.bukkit.block.data.Lightable

  `isLit, setLit`

  ### 从接口继承的方法 org.bukkit.block.data.Waterlogged

  `isWaterlogged, setWaterlogged`

- ## 方法详细资料

  - ### getCandles

    int getCandles()
    Gets the value of the 'candles' property.
    返回:
      the 'candles' value

  - ### setCandles

    void setCandles(int candles)
    Sets the value of the 'candles' property.
    参数:
      `candles` - the new 'candles' value

  - ### getMaximumCandles

    int getMaximumCandles()
    Gets the maximum allowed value of the 'candles' property.
    返回:
      the maximum 'candles' value