Nearest Entity (Any Type)

local e = nearestEntity_get()

Nearest Entity of Specific Type

local e = nearestEntity_get("minecraft:cow")

Returned Entity Table

{
  x = number,
  y = number,
  z = number,
  id = string,
  name = string,
  is_player = bool,
  is_mob = bool,
  is_living = bool,
  is_ageable = bool,
  is_monster = bool,
  is_animal = bool,
  is_item = bool,
  is_baby = bool
}

Returns nil if none found.