Basically i want every block to be auto picked up when broken. This is the first skript i tried then realized fortune nor silk touch works with this. i know why im jsut not sure how to implement it.
code i've tried before realizing i only want fortune working only on ores like in vanilla mc.
The problem is the blocks dont drop after broken. I need only want fortune to work like vanilla and i need to add silk touch compability.
Yes ive searched around and used the docs still no luck.
Code:
on block break:
if player's gamemode is not creative:
if player has permission "block.tp":
cancel event
set block to air
give drops of event-block to player
code i've tried before realizing i only want fortune working only on ores like in vanilla mc.
Code:
on block break:
if player's gamemode is not creative:
if player has permission "block.tp":
cancel event
set {_amount} to 1
if player's tool is enchanted with fortune 1:
chance of 33%:
set {_amount} to 2
if player's tool is enchanted with fortune 2:
chance of 25%:
set {_amount} to 2
chance of 25%:
set {_amount} to 3
if player's tool is enchanted with fortune 3:
chance of 20%:
set {_amount} to 2
chance of 20%:
set {_amount} to 3
chance of 20
set {_amount} to 4
give {_amount} of event-block to player
The problem is the blocks dont drop after broken. I need only want fortune to work like vanilla and i need to add silk touch compability.
Yes ive searched around and used the docs still no luck.