程序包 org.bukkit.block.data

# 接口 Hangable

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

所有已知子接口:
  `Lantern`, `MangrovePropagule`

public interface Hangable extends BlockData
'hanging' denotes whether the lantern is hanging from a block.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `boolean`
  `isHanging()`
  Gets the value of the 'hanging' property.
  `void`
  `setHanging(boolean hanging)`
  Sets the value of the 'hanging' 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`

- ## 方法详细资料

  - ### isHanging

    boolean isHanging()
    Gets the value of the 'hanging' property.
    返回:
      the 'hanging' value

  - ### setHanging

    void setHanging(boolean hanging)
    Sets the value of the 'hanging' property.
    参数:
      `hanging` - the new 'hanging' value