testwater: type: world events: on player enters antiwater: - if == north: - adjust velocity:0,0.5,0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - else if == south: - adjust velocity:0,0.5,0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - if == southwest: - adjust velocity:0.5,0.5,-0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - else if == northeast: - adjust velocity:0.5,0,-0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - if == southeast: - adjust velocity:-0.5,0.5,-0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - else if == northwest: - adjust velocity:-0.5,0.5,-0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - if == northeast: - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - adjust velocity:-0.5,0.5,0.5 - else if == southwest: - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - adjust velocity:-0.5,0.5,0.5 - if == northwest: - adjust velocity:0.5,0.5,0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - else if == southeast: - adjust velocity:0.5,0.5,0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - if == south: - adjust velocity:0,0.5,-0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - else if == north: - adjust velocity:0,0.5,-0.5 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - if == east: - adjust velocity:-0.5,0.5,0 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - else if == west: - adjust velocity:-0.5,0.5,0 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - if == west: - adjust velocity:0.5,0.5,0 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - else if == east: - adjust velocity:0.5,0.5,0 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - if == east: - adjust velocity:-0.5,0.5,0 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: - else if == west: - adjust velocity:-0.5,0.5,0 - playsound sound:entity_elder_guardian_curse pitch:0.5 - actionbar "You cannot enter the water!" targets: