ViewEntity

  • If not spectating, returns true when the context entity is the local player entity, i.e. the one controlled by the client.

  • If spectating, returns true when the context entity is the entity being spectated.

  • If there is no context entity present, returns false.