Package org.bukkit.material
Class Command
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Command
Deprecated.
Represents a command block
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.bukkit.material.MaterialDataequals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
- 
Constructor Details- 
Commandpublic Command()Deprecated.
- 
CommandDeprecated.
- 
CommandDeprecated.Magic value- Parameters:
- type- the type
- data- the raw data value
 
 
- 
- 
Method Details- 
isPoweredpublic boolean isPowered()Deprecated.Gets the current state of this Material, indicating if it's powered or unpowered
- 
setPoweredpublic void setPowered(boolean bool) Deprecated.Sets the current state of this Material- Parameters:
- bool- whether or not the command block is powered
 
- 
toStringDeprecated.- Overrides:
- toStringin class- MaterialData
 
- 
cloneDeprecated.- Overrides:
- clonein class- MaterialData
 
 
- 
BlockData.