custom_blocks_handler_events: type: world events: on player places sponge: - if : - determine passively cancelled - define uuid - wait 1t - spawn armor_stand[equipment=air|air|air|]>;gravity=false] save:as - modifyblock spawner - adjust spawner_type: - note as:customBlock_block_<[uuid]> - flag server customBlock_stand_<[uuid]>: on player breaks spawner: - if : - define uuid - determine passively ]>].equipment.helmet.scriptname>]>]> - wait 1t - remove ]>]> - note remove as:customBlock_block_<[uuid]> - flag server customBlock_stand_<[uuid]>:!