| Modifier and Type | Method and Description |
|---|---|
void |
clearStoredData() |
void |
clearTempData() |
void |
executeCommand(java.lang.String command)
On servers the enable-command-block option in the server.properties needs to be set to true
Use /gamerule commandBlockOutput false/true to turn off/on command block feedback Setting NpcUseOpCommands to true in the CustomNPCs.cfg should allow the npc to run op commands, be warned this could be a major security risk, use at own risk For permission plugins the commands are run under uuid:c9c843f8-4cb1-4c82-aa61-e264291b7bd6 and name:[customnpcs] |
float |
getHardness() |
boolean |
getIsLadder() |
boolean |
getIsPassible() |
int |
getLight() |
IItemStack |
getModel() |
int |
getRedstonePower() |
float |
getResistance() |
int |
getRotationX() |
int |
getRotationY() |
int |
getRotationZ() |
float |
getScaleX() |
float |
getScaleY() |
float |
getScaleZ() |
java.lang.Object |
getStoredData(java.lang.String key) |
java.lang.String[] |
getStoredDataKeys() |
java.lang.Object |
getTempData(java.lang.String key) |
java.lang.String[] |
getTempDataKeys() |
ITextPlane |
getTextPlane() |
ITextPlane |
getTextPlane2() |
ITextPlane |
getTextPlane3() |
ITextPlane |
getTextPlane4() |
ITextPlane |
getTextPlane5() |
ITextPlane |
getTextPlane6() |
ITimers |
getTimers() |
boolean |
hasStoredData(java.lang.String key) |
boolean |
hasTempData(java.lang.String key) |
void |
removeStoredData(java.lang.String key) |
void |
removeTempData(java.lang.String key) |
void |
setHardness(float hardness) |
void |
setIsLadder(boolean enabled) |
void |
setIsPassible(boolean bo) |
void |
setLight(int value) |
void |
setModel(IItemStack item) |
void |
setModel(java.lang.String name) |
void |
setRedstonePower(int strength) |
void |
setResistance(float resistance) |
void |
setRotation(int x,
int y,
int z) |
void |
setScale(float x,
float y,
float z) |
void |
setStoredData(java.lang.String key,
java.lang.Object value) |
void |
setTempData(java.lang.String key,
java.lang.Object value) |
canCollide, canCollide, getBlockBoundsMaxX, getBlockBoundsMaxY, getBlockBoundsMaxZ, getBlockBoundsMinX, getBlockBoundsMinY, getBlockBoundsMinZ, getContainer, getDisplayName, getMCBlock, getMCTileEntity, getName, getPosition, getTileEntity, getTileEntityNBT, getWorld, getX, getY, getZ, hasTileEntity, isAir, isContainer, remove, setBlock, setBlock, setBounds, setPosition, setPosition, setPosition, setPosition, setTileEntityvoid setModel(IItemStack item)
item - The item to be set as modelvoid setModel(java.lang.String name)
IItemStack getModel()
ITimers getTimers()
void setRedstonePower(int strength)
strength - Sets the strength of the redstone signal (0-15)int getRedstonePower()
void setIsLadder(boolean enabled)
boolean getIsLadder()
void setLight(int value)
value - Sets the light value (0-15)int getLight()
void setScale(float x,
float y,
float z)
x - Scale x (0-10)y - Scale y (0-10)z - Scale z (0-10)float getScaleX()
float getScaleY()
float getScaleZ()
void setRotation(int x,
int y,
int z)
x - Rotation x (0-359)y - Rotation y (0-359)z - Rotation z (0-359)int getRotationX()
int getRotationY()
int getRotationZ()
void executeCommand(java.lang.String command)
command - The command to be executedboolean getIsPassible()
void setIsPassible(boolean bo)
float getHardness()
void setHardness(float hardness)
float getResistance()
void setResistance(float resistance)
ITextPlane getTextPlane()
ITextPlane getTextPlane2()
ITextPlane getTextPlane3()
ITextPlane getTextPlane4()
ITextPlane getTextPlane5()
ITextPlane getTextPlane6()
void setStoredData(java.lang.String key,
java.lang.Object value)
java.lang.Object getStoredData(java.lang.String key)
void removeStoredData(java.lang.String key)
boolean hasStoredData(java.lang.String key)
void clearStoredData()
java.lang.String[] getStoredDataKeys()
void removeTempData(java.lang.String key)
void setTempData(java.lang.String key,
java.lang.Object value)
boolean hasTempData(java.lang.String key)
java.lang.Object getTempData(java.lang.String key)
void clearTempData()
java.lang.String[] getTempDataKeys()