Add player collision API

Add an API to control whether players can collide with other entities, such as mobs and projectiles