Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on tool change:
- if tool is enchanted with feather falling 1:
- set {RISE.%player%} to 0.1
- if tool is enchanted with feather falling 2:
- set {RISE.%player%} to 0.2
- if tool is enchanted with feather falling 3:
- set {RISE.%player%} to 0.3
- if tool is enchanted with protection 1:
- set {DRIVE.%player%} to 2
- if tool is enchanted with protection 2:
- set {DRIVE.%player%} to 1
- if tool is enchanted with protection 3:
- set {DRIVE.%player%} to 0.5
- if tool is enchanted with blast protection 1:
- set {MGCT.%player%} to 1 seconds
- if tool is enchanted with blast protection 2:
- set {MGCT.%player%} to 0.1 seconds
- if tool is enchanted with blast protection 3:
- set {MGCT.%player%} to 0 second
- on rightclick:
- player is not sneaking
- player's tool is enchanted with fortune
- set {_cooldown} to difference between {MG.%player%.lastused} and now
- if {_cooldown} is less than {MGCT.%player%}:
- stop
- push player upwards at speed {RISE.%player%}
- push player in direction of player at speed {DRIVE.%player%}
- chance of 10%:
- reduce level progress of player by 0.1
- set {MG.%player%.lastused} to now
Add Comment
Please, Sign In to add comment