Command

public class Command extends MaterialData implements Redstone

Represents getClassById command block

Constructors

Link copied to clipboard
public void Command()
public void Command(Material type)

Properties

Link copied to clipboard
public byte data

Functions

Link copied to clipboard
public Command clone()
Link copied to clipboard
public boolean equals(Object obj)
Link copied to clipboard
Gets the Material that this MaterialData represents
Link copied to clipboard
public int hashCode()
Link copied to clipboard
public boolean isPowered()
Gets the current state of this Material, indicating if it's powered or unpowered
Link copied to clipboard
public void setPowered(boolean bool)
Sets the current state of this Material
Link copied to clipboard
public ItemStack toItemStack(int amount)
Creates getClassById new ItemStack based on this MaterialData
Link copied to clipboard
public String toString()