on fish:
if fish state = caught fish:
if event-world is "world":
if player's tool is enchanted with luck of the sea 6:
chance of 45%:
set item of caught entity to paper of unbreaking 1 named "&bKertas Hoki" with lore "&eTukarkan dengan gacha"
chance of 25%:
set item of caught entity to coal
chance of 20%:
set item of caught entity to enchanted book of mending
else:
chance of 0.5%:
set item of caught entity to white wool of unbreaking 1 named "&6ESBER" with lore "&6Selamat Kamu dapat Esber"
chance of 20%:
set item of caught entity to coal
chance of 18%:
set item of caught entity to paper of unbreaking 1 named "&bKertas Hoki" with lore "&eTukarkan dengan gacha"
I made custom loot fishing to get other items such as mending books, well here the mending books cannot be used to enchant
if fish state = caught fish:
if event-world is "world":
if player's tool is enchanted with luck of the sea 6:
chance of 45%:
set item of caught entity to paper of unbreaking 1 named "&bKertas Hoki" with lore "&eTukarkan dengan gacha"
chance of 25%:
set item of caught entity to coal
chance of 20%:
set item of caught entity to enchanted book of mending
else:
chance of 0.5%:
set item of caught entity to white wool of unbreaking 1 named "&6ESBER" with lore "&6Selamat Kamu dapat Esber"
chance of 20%:
set item of caught entity to coal
chance of 18%:
set item of caught entity to paper of unbreaking 1 named "&bKertas Hoki" with lore "&eTukarkan dengan gacha"
I made custom loot fishing to get other items such as mending books, well here the mending books cannot be used to enchant