|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandBlock
Method Summary | |
---|---|
String |
getCommand()
Gets the command that this CommandBlock will run when powered. |
String |
getName()
Gets the name of this CommandBlock. |
void |
setCommand(String command)
Sets the command that this CommandBlock will run when powered. |
void |
setName(String name)
Sets the name of this CommandBlock. |
Methods inherited from interface org.bukkit.block.BlockState |
---|
getBlock, getChunk, getData, getLightLevel, getLocation, getLocation, getRawData, getType, getTypeId, getWorld, getX, getY, getZ, setData, setRawData, setType, setTypeId, update, update, update |
Methods inherited from interface org.bukkit.metadata.Metadatable |
---|
getMetadata, hasMetadata, removeMetadata, setMetadata |
Method Detail |
---|
String getCommand()
void setCommand(String command)
command
- Command that this CommandBlock will run when powered.String getName()
void setName(String name)
name
- New name for this CommandBlock.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |