locationToTable

public static LuaTable locationToTable(Location location)

A fresh x/y/z/yaw/pitch/world table, sized for its six fields; world is left out when there is none.


public static LuaTable locationToTable(Location location, LuaString worldName)

locationToTable with the world name already made a Lua string, for a caller that builds many tables in one world; null leaves world out.