SHARE
TWEET

アイスシールド(旧)

TEKITOU-123 Apr 20th, 2019 (edited) 158 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on rightclick holding a enchanted book:
  2.     if name of player's tool is "&3&lアイスシールド":
  3.         player's level progress is larger than 0.07
  4.         loop 20 times:
  5.             spawn falling block of packed ice block at player's head
  6.             push last spawned falling block forwards at speed random number from 0.01 to 0.5
  7.             push last spawned falling block backwards at speed random number from 0.01 to 0.5
  8.             push last spawned falling block to the left at speed random number from 0.01 to 0.5
  9.             push last spawned falling block to the right at speed random number from 0.01 to 0.5
  10.             push last spawned falling block upwards at speed random number from 0.1 to 0.5
  11.             push last spawned falling block under at speed random number from 0.01 and 0.1
  12.         show 100 Snow Shovel particles at player offset by 2.5, 2.5, 2.5 with speed 0.3
  13.         show 100 Snowball particles at player offset by 2.5, 2.5, 2.5 with speed 0.3
  14.         play sound "entity.experience_orb.pickup" with volume 10 and pitch 1 at player for players in radius 10 of player
  15.         play sound "entity.player.levelup" with volume 10 and pitch 1 at player for players in radius 10 of player
  16.         reduce the player's level progress by 0.05
  17. on block stop falling:
  18.     cancel event
  19. on item spawn:
  20.     if event-item is packed ice block:
  21.         cancel event
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top