physicsOrCreate

fun physicsOrCreate(world: World): Sync<PaperWorldPhysics>

Gets the physics state of a world if it already exists, or creates a new physics state if it does not exist.


open override fun physicsOrCreate(world: RWorld): Sync<PaperWorldPhysics>