Updated JPLua constants. Added entity flags.