Package org.bukkit.material
Class Command
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.Command
Deprecated.
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
-
Command
public Command()Deprecated. -
Command
Deprecated. -
Command
Deprecated.Magic value- Parameters:
type
- the typedata
- the raw data value
-
-
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
-
BlockData
.