Guide 1 Docs 2 Reference 3

Function of BlockAmendSpec

blockAmendSpec.on_use

Somebody right-clicked it; held is the item in hand. Answers "used" or "pass"; a missed deadline passes the click through.

blockAmendSpec.on_use((block: BlockAt, player: Player?, held: string?, base: (...any) -> any) -> Used?) → ?

Parameters

(blockBlockAt, player: Player?, held: string?, base: (...any) -> any) -> Usedoptional

Returns

?