getEntities(): Entity[]
Entity
Gets all entities in the world.
Entity[]
getPlayers(): EntityPlayer[]
EntityPlayer
Gets all players in the world.
EntityPlayer[]
rayTraceBlocks(from, to): RaytraceResult
from
to
RaytraceResult
Ray traces through the world from one point to another.
Vec3
from - The starting position of the ray.
to - The ending position of the ray.
The result of the ray trace, or null if no intersection was found.
Last updated 3 months ago