world
This page will go over the `world` namespace
Last updated
This page will go over the `world` namespace
Last updated
getLoadedEntities():
[]
Gets an array of loaded entities in the current world
getLivingEntities():
[]
Gets an array of loaded living entities (i.e. pig, player, cow) in the current world
getPlayers():
[]
Gets an array of loaded players in the current world
getEntityByID(int id):
Checks the world for a entity with the matching id
. If one is found this function will return a Entity
object, if no matching Entity is found this will return null.
raytraceBlocks(
from,
to, boolean stopOnLiquid, boolean ignoreBlocksWithoutBoundingBox, boolean returnLastUncollidableBlock):
Raytrace in between the from
and to
vectors and will return the result as RaytraceResult
.