toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.material
/
Command
Command
public
class
Command
extends
MaterialData
implements
Redstone
Represents getClassById command block
Members
Constructors
Command
Link copied to clipboard
public
void
Command
(
)
public
void
Command
(
Material
type
)
Properties
data
Link copied to clipboard
public
byte
data
Functions
clone
Link copied to clipboard
public
Command
clone
(
)
equals
Link copied to clipboard
public
boolean
equals
(
Object
obj
)
get
Item
Type
Link copied to clipboard
public
Material
getItemType
(
)
Gets the Material that this MaterialData represents
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
is
Powered
Link copied to clipboard
public
boolean
isPowered
(
)
Gets the current state of this Material, indicating if it's powered or unpowered
set
Powered
Link copied to clipboard
public
void
setPowered
(
boolean bool
)
Sets the current state of this Material
to
Item
Stack
Link copied to clipboard
public
ItemStack
toItemStack
(
)
public
ItemStack
toItemStack
(
int amount
)
Creates getClassById new ItemStack based on this MaterialData
to
String
Link copied to clipboard
public
String
toString
(
)