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, toItemStack
public 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 MaterialData
public Command clone()
clone
in class MaterialData
Copyright © 2021. All rights reserved.