Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
RedstoneTorch.java
Go to the documentation of this file.
1 package org.bukkit.material;
2 
3 import org.bukkit.Material;
4 
8 public class RedstoneTorch extends Torch implements Redstone {
9  public RedstoneTorch() {
11  }
12 
13  public RedstoneTorch(final int type) {
14  super(type);
15  }
16 
17  public RedstoneTorch(final Material type) {
18  super(type);
19  }
20 
21  public RedstoneTorch(final int type, final byte data) {
22  super(type, data);
23  }
24 
25  public RedstoneTorch(final Material type, final byte data) {
26  super(type, data);
27  }
28 
35  public boolean isPowered() {
37  }
38 
39  @Override
40  public String toString() {
41  return super.toString() + " " + (isPowered() ? "" : "NOT ") + "POWERED";
42  }
43 
44  @Override
45  public RedstoneTorch clone() {
46  return (RedstoneTorch) super.clone();
47  }
48 }