Package org.bukkit.material
Class Command
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Command
@Deprecated public class Command extends MaterialData implements Redstone
Deprecated.
all usage of MaterialData is deprecated and subject to removal.
Use
BlockData
.Represents a command block
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
Constructor Details
-
Method Details
-
isPowered
public boolean isPowered()Deprecated.Gets the current state of this Material, indicating if it's powered or unpowered -
setPowered
public void setPowered(boolean bool)Deprecated.Sets the current state of this Material- Parameters:
bool
- whether or not the command block is powered
-
toString
Deprecated.- Overrides:
toString
in classMaterialData
-
clone
Deprecated.- Overrides:
clone
in classMaterialData
-