setCollidesWithEntities

public void setCollidesWithEntities(boolean collides)

Sets whether the player collides with entities

Parameters

collides

whether the player should collide with entities or not.