Date: 2020/01/03 16:39:04 UTC-08:00
Type: Denizen Script
sucking:
type: world
debug: false
events:
on player right clicks block with vacuum:
- if <context.click_type> == RIGHT_CLICK_BLOCK:
# - narrate SUCC
#- playeffect effect:blockdust_<context.location.material> at:<context.location.center> quantity:25 offset:0.25,0.25,0.25
#quantity could also be 50 offset:0.35,0.35,0.35
- playeffect effect:cloud at:<context.location.center> quantity:1
- modifyblock <context.location> air naturally
- define drop:<context.location.find.entities[DROPPED_ITEM].within[3].get[1]||null>
- if <[drop]> == null:
- stop
- adjust <[drop]> pickup_delay:0.1s
- push <[drop]> o:<[drop].location> destination:<player.location.add[0,2,0]> ignore_collision speed:0.6
on player picks up <[drop]>: