BlockData.@Deprecated public class Command extends MaterialData implements Redstone
| Constructor and Description | 
|---|
Command()
Deprecated.  
  | 
Command(Material type)
Deprecated.  
  | 
Command(Material type,
       byte data)
Deprecated. 
 
Magic value 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Command | 
clone()
Deprecated.  
  | 
boolean | 
isPowered()
Deprecated.  
Gets the current state of this Material, indicating if it's powered or
 unpowered 
 | 
void | 
setPowered(boolean bool)
Deprecated.  
Sets the current state of this Material 
 | 
String | 
toString()
Deprecated.  
  | 
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStackpublic Command()
public Command(Material type)
@Deprecated public Command(Material type, byte data)
type - the typedata - the raw data valuepublic boolean isPowered()
public void setPowered(boolean bool)
bool - whether or not the command block is poweredpublic String toString()
toString in class MaterialDatapublic Command clone()
clone in class MaterialDataCopyright © 2022. All rights reserved.