public class ScriptableWorld
extends cubex2.mods.customstuff2.engine.ScriptObject
| Constructor and Description |
|---|
ScriptableWorld(net.minecraft.world.World world) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEnchantment(int x,
int y,
int z,
int slotId,
int id,
int level)
Adds an enchantment to the itemstack in the given container slot
|
void |
addEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id,
int level)
Adds an enchantment to the itemstack in the given container slot
|
int |
addToContainer(int x,
int y,
int z,
int id,
int count,
int metadata)
Adds items to a container if there's space for them.
|
int |
addToContainer(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int count,
int metadata)
Adds items to a container if there's space for them.
|
int |
addToContainerSlot(int x,
int y,
int z,
int slotId,
int count)
Adds items to a container slot if it isn't empty
|
int |
addToContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int count)
Adds items to a container slot if it isn't empty
|
void |
clearContainer(int x,
int y,
int z)
Clears a container
|
void |
clearContainer(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
Clears a container
|
void |
clearContainerSlot(int x,
int y,
int z,
int slotId)
Clears a container slot
|
void |
clearContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
Clears a container slot
|
void |
clearEnchantments(int x,
int y,
int z,
int slotId)
Removes all enchantments from the itemstack in the given container slot
|
void |
clearEnchantments(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
Removes all enchantments from the itemstack in the given container slot
|
int |
countEntities(int x,
int y,
int z,
float radius,
java.lang.String entities)
Gets the amount of entities within the given cube with the given radius.
|
int |
countEntities(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
float radius,
java.lang.String entities)
Gets the amount of entities within the given cube with the given radius.
|
void |
createExplosion(double x,
double y,
double z,
float strength,
boolean flaming)
Creates a explosion
|
void |
createExplosion(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
float strength,
boolean flaming)
Creates a explosion
|
void |
createThunderbolt(double x,
double y,
double z)
Creates a thunderbolt
|
void |
createThunderbolt(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
Creates a thunderbolt
|
void |
damageItem(int x,
int y,
int z,
int slotId,
int count)
Damages an item in a container slot
|
void |
damageItem(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int count)
Damages an item in a container slot
|
int |
fillContainer(int x,
int y,
int z,
int id,
int metadata)
Fills a container.
|
int |
fillContainer(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int metadata)
Fills a container.
|
int |
fillContainerSlot(int x,
int y,
int z,
int slotId)
Fills a container slot if it isn't empty
|
int |
fillContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
Fills a container slot if it isn't empty
|
java.lang.String |
getBiome(int x,
int y,
int z)
Gets the biome
|
java.lang.String |
getBiome(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
Gets the biome
|
int |
getBlockId(int x,
int y,
int z)
Gets the block id
|
int |
getBlockId(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
Gets the block id
|
int |
getBlockLightLevel(int x,
int y,
int z)
Gets the light level of the block at the given position.
|
int |
getBlockLightLevel(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
Gets the light level of the block at the given position.
|
int |
getBlockMetadata(int x,
int y,
int z)
Gets the block's damage value
|
int |
getBlockMetadata(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
Gets the block's damage value
|
int |
getContainerItemCount(int x,
int y,
int z,
int id,
int metadata)
Gets the count of a item in a container
|
int |
getContainerItemCount(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int metadata)
Gets the count of a item in a container
|
int |
getContainerSlotId(int x,
int y,
int z,
int slotId)
Gets the item's id in a slot of a container
|
int |
getContainerSlotId(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
Gets the item's id in a slot of a container
|
int |
getContainerSlotMetadata(int x,
int y,
int z,
int slotId)
Gets the item's damage value in a slot of a container
|
int |
getContainerSlotMetadata(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
Gets the item's damage value in a slot of a container
|
int |
getContainerSlotStackSize(int x,
int y,
int z,
int slotId)
Gets the item's stack size in a slot of a container
|
int |
getContainerSlotStackSize(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
Gets the item's stack size in a slot of a container
|
int |
getTileEntityIntData(int x,
int y,
int z,
int index)
Gets a tile entity's integer data
|
int |
getTileEntityIntData(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
int index)
Gets a tile entity's integer data
|
java.lang.String |
getTileEntityStringData(int x,
int y,
int z,
int index)
Gets a tile entity's string data
|
java.lang.String |
getTileEntityStringData(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
int index)
Gets a tile entity's string data
|
long |
getTime()
Gets the world time
|
void |
harvestBlock(int x,
int y,
int z)
Harvests a block
|
void |
harvestBlock(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
Harvests a block
|
boolean |
hasEnchantment(int x,
int y,
int z,
int slotId)
Checks if the itemstack in the fiven container slot has any enchantment
|
boolean |
hasEnchantment(int x,
int y,
int z,
int slotId,
int id)
Checks if the itemstack in the given container slot has the given
enchantment
|
boolean |
hasEnchantment(int x,
int y,
int z,
int slotId,
int id,
int level)
Checks if the itemstack in the given container slot has the given
enchantment with the given level
|
boolean |
hasEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
Checks if the itemstack in the given container slot has any enchantment
|
boolean |
hasEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id)
Checks if the itemstack in the given container slot has the given
enchantment
|
boolean |
hasEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id,
int level)
Checks if the itemstack in the given container slot has the given
enchantment with the given level
|
boolean |
isFuelInContainerSlot(int x,
int y,
int z,
int slot) |
boolean |
isFuelInContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slot) |
void |
removeEnchantment(int x,
int y,
int z,
int slotId,
int id)
Removes an enchantment from the itemstack in the given container slot
|
void |
removeEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id)
Removes an enchantment from the itemstack in the given container slot
|
int |
removeFromContainer(int x,
int y,
int z,
int id,
int count,
int metadata)
Removes items from a container
|
int |
removeFromContainer(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int count,
int metadata)
Removes items from a container
|
int |
removeFromContainerSlot(int x,
int y,
int z,
int slotId,
int count)
Removes items from a container slot
|
int |
removeFromContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int count)
Removes items from a container slot
|
void |
repairItem(int x,
int y,
int z,
int slotId)
Fully repairs an item in a container slot
|
void |
repairItem(int x,
int y,
int z,
int slotId,
int count)
Repairs an item in a container slot
|
void |
repairItem(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
Fully repairs an item in a container slot
|
void |
repairItem(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int count)
Repairs an item in a container slot
|
void |
setBlockId(int x,
int y,
int z,
int id)
Sets the id of the block at the given coordinates
|
void |
setBlockId(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id)
Sets the id of the block at the given position
|
void |
setBlockIdAndMetadata(int x,
int y,
int z,
int id,
int metadata)
Sets the id and damage value of a block
|
void |
setBlockIdAndMetadata(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int metadata)
Sets the id and damage value of a block
|
void |
setBlockMetadata(int x,
int y,
int z,
int metadata)
Sets the damage value of a block
|
void |
setBlockMetadata(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int metadata)
Sets the damage value of a block
|
int |
setContainerSlot(int x,
int y,
int z,
int slotId,
int id,
int count,
int metadata)
Sets a container slot
|
int |
setContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id,
int count,
int metadata)
Sets a container slot
|
void |
setTileEntityIntData(int x,
int y,
int z,
int index,
int data)
Sets a tile entity's integer data.
|
void |
setTileEntityIntData(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
int index,
int data)
Sets a tile entity's integer data.
|
void |
setTileEntityStringData(int x,
int y,
int z,
int index,
java.lang.String data)
Sets a tile entity's string data.
|
void |
setTileEntityStringData(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
int index,
java.lang.String data)
Sets a tile entity's string data.
|
void |
setTime(long time)
Sets the time
|
void |
setWeather(java.lang.String weather,
int duration)
Sets the weather
|
void |
shear(int x,
int y,
int z)
Shears a block if it can be sheared.
|
void |
shear(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
Shears a block if it can be sheared.
|
void |
spawnItem(double x,
double y,
double z,
int id,
int count,
int damage)
Spawns an item
|
void |
spawnItem(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int count,
int damage)
Spawns an item
|
void |
spawnMob(double x,
double y,
double z,
java.lang.String name)
Spawns a mob
|
void |
spawnMob(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
java.lang.String name)
Spawns a mob
|
public void setBlockId(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id)
position - The positionid - The id of the blockpublic void setBlockId(int x,
int y,
int z,
int id)
x - The x coordinatey - The y coordinatez - The z coordinateid - The id of the blockpublic void setBlockMetadata(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int metadata)
position - The positionmetadata - The damage value of the blockpublic void setBlockMetadata(int x,
int y,
int z,
int metadata)
x - The x coordinatey - The y coordinatez - The z coordinatemetadata - The damage value of the blockpublic void setBlockIdAndMetadata(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int metadata)
position - The positionid - The block's idmetadata - The block's damage valuepublic void setBlockIdAndMetadata(int x,
int y,
int z,
int id,
int metadata)
x - The x coordinatey - The y coordinatez - The z coordinateid - The block's idmetadata - The block's damage valuepublic void harvestBlock(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
position - The positionpublic void harvestBlock(int x,
int y,
int z)
x - The x coordinatey - The y coordinatez - The z coordinatepublic void setTime(long time)
time - The timepublic long getTime()
public void createExplosion(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
float strength,
boolean flaming)
position - The positionstrength - The strength of the explosionflaming - True if the explosion is a flaming explosionpublic void createExplosion(double x,
double y,
double z,
float strength,
boolean flaming)
x - The x coordinatey - The y coordinatez - The z coordinatestrength - The strength of the explosionflaming - True if the explosion is a flaming explosionpublic void createThunderbolt(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
position - The positionpublic void createThunderbolt(double x,
double y,
double z)
x - The x coordinatey - The y coordinatez - The z coordinatepublic void spawnMob(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
java.lang.String name)
position - The positionname - The name of the mobpublic void spawnMob(double x,
double y,
double z,
java.lang.String name)
x - The x coordinatey - The y coordinatez - The z coordinatename - The name of the mobpublic void spawnItem(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int count,
int damage)
position - The positionid - The item's idcount - The item's stack sizedamage - The item's damage valuepublic void spawnItem(double x,
double y,
double z,
int id,
int count,
int damage)
x - The x coordinatey - The y coordinatez - The z coordinateid - The item's idcount - The item's stack sizedamage - The item's damage valuepublic void setWeather(java.lang.String weather,
int duration)
weather - sun, rain or thunderingduration - The durationpublic int fillContainer(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int metadata)
position - The positionid - The item's idmetadata - The item's damage valuepublic int fillContainer(int x,
int y,
int z,
int id,
int metadata)
x - The x coordinatey - The y coordinatez - The z coordinateid - The item's idmetadata - The item's damage valuepublic void clearContainer(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
position - The positionpublic void clearContainer(int x,
int y,
int z)
x - The x coordinatey - The y coordinatez - The z coordinatepublic int addToContainer(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int count,
int metadata)
position - The positionid - The item's idcount - The item's stack sizemetadata - The item's damage valuepublic int addToContainer(int x,
int y,
int z,
int id,
int count,
int metadata)
x - The x coordinatey - The y coordinatez - The z coordinateid - The item's idcount - The item's stack sizemetadata - The item's damage valuepublic int removeFromContainer(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int count,
int metadata)
position - The positionid - The item's idcount - The item's stack sizemetadata - The item's damage valuepublic int removeFromContainer(int x,
int y,
int z,
int id,
int count,
int metadata)
x - The x coordinatey - The y coordinatez - The z coordinateid - The item's idcount - The item's stack sizemetadata - The item's damage valuepublic void clearContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
position - The positionslotId - The slot's idpublic void clearContainerSlot(int x,
int y,
int z,
int slotId)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idpublic int fillContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
position - The positionslotId - The slot's idpublic int fillContainerSlot(int x,
int y,
int z,
int slotId)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idpublic int setContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id,
int count,
int metadata)
position - The positionslotId - The slot's idid - The item's idcount - The item's stack sizemetadata - The item's damage valuepublic int setContainerSlot(int x,
int y,
int z,
int slotId,
int id,
int count,
int metadata)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idid - The item's idcount - The item's stack sizemetadata - The item's damage valuepublic int removeFromContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int count)
position - The positionslotId - The slot's idcount - The count of items to removepublic int removeFromContainerSlot(int x,
int y,
int z,
int slotId,
int count)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idcount - The count of items to removepublic int addToContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int count)
position - The positionslotId - The slot's idcount - The count to addpublic int addToContainerSlot(int x,
int y,
int z,
int slotId,
int count)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idcount - The count to addpublic void damageItem(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int count)
position - The positionslotId - The slot's idcount - The damage to add to the itempublic void damageItem(int x,
int y,
int z,
int slotId,
int count)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idcount - The damage to add to the itempublic void repairItem(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
position - The positionslotId - The slot's idpublic void repairItem(int x,
int y,
int z,
int slotId)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idpublic void repairItem(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int count)
position - The positionslotId - The slot's idcount - The damage to remove from the itempublic void repairItem(int x,
int y,
int z,
int slotId,
int count)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idcount - The damage to remove from the itempublic boolean hasEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
position - The positionslotId - The slot's idpublic boolean hasEnchantment(int x,
int y,
int z,
int slotId)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idpublic boolean hasEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id)
position - The positionslotId - The slot's idid - The id of the enchantmentpublic boolean hasEnchantment(int x,
int y,
int z,
int slotId,
int id)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idid - The id of the enchantmentpublic boolean hasEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id,
int level)
position - The positionslotId - The slot's idid - The id of the enchantmentlevel - The level of the enchantmentpublic boolean hasEnchantment(int x,
int y,
int z,
int slotId,
int id,
int level)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idid - The id of the enchantmentlevel - The level of the enchantmentpublic void clearEnchantments(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
position - The positionslotId - The slot's idpublic void clearEnchantments(int x,
int y,
int z,
int slotId)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idpublic void addEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id,
int level)
position - The positionslotId - The slot's idid - The id of the enchantmentlevel - The level of the enchantmentpublic void addEnchantment(int x,
int y,
int z,
int slotId,
int id,
int level)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idid - The id of the enchantmentlevel - The level of the enchantmentpublic void removeEnchantment(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId,
int id)
position - The positionslotId - The slot's idid - The id of the enchantmentpublic void removeEnchantment(int x,
int y,
int z,
int slotId,
int id)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idid - The id of the enchantmentpublic int getBlockId(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
position - The positionpublic int getBlockId(int x,
int y,
int z)
x - The x coordinatey - The y coordinatez - The z coordinatepublic int getBlockMetadata(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
position - The positionpublic int getBlockMetadata(int x,
int y,
int z)
x - The x coordinatey - The y coordinatez - The z coordinatepublic int getContainerSlotId(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
position - The positionslotId - The slot's idpublic int getContainerSlotId(int x,
int y,
int z,
int slotId)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - public int getContainerSlotMetadata(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
position - The positionslotId - The slot's idpublic int getContainerSlotMetadata(int x,
int y,
int z,
int slotId)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - The slot's idpublic int getContainerSlotStackSize(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slotId)
position - The positionslotId - The slot's idpublic int getContainerSlotStackSize(int x,
int y,
int z,
int slotId)
x - The x coordinatey - The y coordinatez - The z coordinateslotId - slotId The slot's idpublic int getContainerItemCount(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int id,
int metadata)
position - The positionid - The item's idmetadata - The item's damage valuepublic int getContainerItemCount(int x,
int y,
int z,
int id,
int metadata)
x - The x coordinatey - The y coordinatez - The z coordinateid - The item's idmetadata - The item's damage valuepublic boolean isFuelInContainerSlot(cubex2.mods.customstuff2.scripting.ScriptablePosition position,
int slot)
position - The positionslot - The slot's idpublic boolean isFuelInContainerSlot(int x,
int y,
int z,
int slot)
x - The x coordinatey - The y coordinatez - The z coordinateslot - The slot's idpublic java.lang.String getBiome(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
position - The positionpublic java.lang.String getBiome(int x,
int y,
int z)
x - The x coordinatey - The y coordinatez - The z coordinatepublic void shear(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
position - The positionpublic void shear(int x,
int y,
int z)
x - The x coordinatey - The y coordinatez - The z coordinatepublic int getTileEntityIntData(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
int index)
pos - positionindex - The index to read the data from (0 to 15)public int getTileEntityIntData(int x,
int y,
int z,
int index)
x - The x-coordinatey - The y-coordinatez - The z-coordinateindex - The index to read the data from (0 to 15)public java.lang.String getTileEntityStringData(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
int index)
pos - positionindex - The index to read the data from (0 to 15)public java.lang.String getTileEntityStringData(int x,
int y,
int z,
int index)
x - The x-coordinatey - The y-coordinatez - The z-coordinateindex - The index to read the data from (0 to 15)public void setTileEntityIntData(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
int index,
int data)
pos - positionindex - The index of the data (0 to 15)data - The data to set at the indexpublic void setTileEntityIntData(int x,
int y,
int z,
int index,
int data)
x - The x-coordinatey - The y-coordinatez - The z-coordinateindex - The index of the data (0 to 15)data - The data to set at the indexpublic void setTileEntityStringData(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
int index,
java.lang.String data)
pos - positionindex - The index of the data (0 to 15)data - The data to set at the indexpublic void setTileEntityStringData(int x,
int y,
int z,
int index,
java.lang.String data)
x - The x-coordinatey - The y-coordinatez - The z-coordinateindex - The index of the data (0 to 15)data - The data to set at the indexpublic int countEntities(cubex2.mods.customstuff2.scripting.ScriptablePosition pos,
float radius,
java.lang.String entities)
pos - The positionradius - The radius of the lookup cubeentities - The entities to search. Allowed values are 'hostile',
'animal', 'mob', 'player', 'item', 'all', any entityID and any
entity name. You can give multiple values by dividing them with a
','public int countEntities(int x,
int y,
int z,
float radius,
java.lang.String entities)
x - The x-coordinatey - The y-coordinatez - The z-coordinateradius - The radius of the lookup cubeentities - The entities to search. Allowed values are 'hostile',
'animal', 'mob', 'player', 'item', 'all', any entityID and any
entity name. You can give multiple values by dividing them with a
','public int getBlockLightLevel(cubex2.mods.customstuff2.scripting.ScriptablePosition position)
position - The block's positionpublic int getBlockLightLevel(int x,
int y,
int z)
x - The x-coordinatey - The y-coordinatez - The z-coordinate