animations_world: debug: false type: world events: # common on player joins: - foreach key:slot as:item: - if <[item].has_flag[animations]>: - inventory set slot:<[slot]> origin:air on player scrolls their hotbar: - if : - take flagged:animations quantity:255 on player clicks item in inventory: - if : - determine cancelled passively - inventory set slot:hand origin:air - inventory update on player drops item: - if : - remove # animationmode on player shoots bow: - if : - determine cancelled passively - take flagged:animations quantity:255 # raisehand on trident launched: - if : - determine cancelled passively - take flagged:animations quantity:255 player: # shield on player lowers item: - if : - take flagged:animations quantity:255