With the new changes to the API spawnEntity(Entity entity) has changed to spawnEntity(Entity entity, Cause cause). The docs/cookbook appear out of date with this change, so my question is what is the proper way to generate a cause for this method? For instance, when trying to spawn an entity with a command.
Thanks!