So this works almost to where I want it to,
was wondering if I could make it not break past the WorldGuard Regions
Not break certain blocks
Do damage to the pickaxe when it breaks something
And have fortune effect when it breaks a block
If this is wrong area let me know, new to the forums of skript, as well as new to using skript
on mine:
if player is holding diamond pickaxe with lore "&7Test":
set {_1} to location of event-block
set {_2} to location of event-block
add 1 to y-coord of {_1}
subtract 1 from y-coord of {_2}
add 1 to z-coord of {_1}
subtract 1 from z-coord of {_2}
add 1 to x-coord of {_1}
subtract 1 from x-coord of {_2}
loop blocks within {_1} to {_2}:
skellett break loop-value naturally using player's tool
Pastebin:
https://pastebin.com/TB1r3XmA
was wondering if I could make it not break past the WorldGuard Regions
Not break certain blocks
Do damage to the pickaxe when it breaks something
And have fortune effect when it breaks a block
If this is wrong area let me know, new to the forums of skript, as well as new to using skript
on mine:
if player is holding diamond pickaxe with lore "&7Test":
set {_1} to location of event-block
set {_2} to location of event-block
add 1 to y-coord of {_1}
subtract 1 from y-coord of {_2}
add 1 to z-coord of {_1}
subtract 1 from z-coord of {_2}
add 1 to x-coord of {_1}
subtract 1 from x-coord of {_2}
loop blocks within {_1} to {_2}:
skellett break loop-value naturally using player's tool
Pastebin:
https://pastebin.com/TB1r3XmA