程序包 org.bukkit.material

# 接口 Redstone

所有已知实现类:
  `Button`, `Command`, `Comparator`, `Diode`, `Hopper`, `Lever`, `Observer`, `PistonBaseMaterial`, `PoweredRail`, `RedstoneTorch`, `RedstoneWire`, `TripwireHook`

public interface Redstone
Indicated a Material that may carry or create a Redstone current

- ## 方法概要

  修饰符和类型
  方法
  说明
  `boolean`
  `isPowered()`
  Gets the current state of this Material, indicating if it's powered or unpowered

- ## 方法详细资料

  - ### isPowered

    boolean isPowered()
    Gets the current state of this Material, indicating if it's powered or unpowered
    返回:
      true if powered, otherwise false