Function of World
world.on_block_place
Tells after a block was placed, with its canonical name. Observe-only; player is nil when nobody placed it or they left.
world.on_block_place(fn: (player: Player?, pos: Vec3, block: string) -> ()) → Connection
Parameters
Returns
Connection