Gets the current state of this Material, indicating if it's powered or unpowered @return true if powered, otherwise false
()
| 33 | * @return true if powered, otherwise false |
| 34 | */ |
| 35 | public boolean isPowered() { |
| 36 | return getItemType() == Material.REDSTONE_TORCH_ON; |
| 37 | } |
| 38 | |
| 39 | @Override |
| 40 | public String toString() { |