world entity storage and checks now done in lua