Witam jak dodać permisje do tego dropu, by włączać i wyłączać drop?
kod:
Spoiler
on mine of stone:
add 35 exp to player
if player's tool is a diamond pickaxe of fortune:
chance of 3.0%:
give 1 iron ingot to the player
chance of 5.0%:
give 1 gold ingot to the player
chance of 3.0%:
give 1 emerald to the player
chance of 4.0%:
give 1 diamond to the player
chance of 6.0%:
give 1 coal to the player
chance of 2.0%:
give 1 redstone to the player
chance of 6.0%:
give a random number between 1 and 1 of obsidian to the player
chance of 2.0%:
give a random number between 1 and 1 of tnt to the player
chance of 2.0%:
give a random number between 1 and 1 of ender pearl to the player
chance of 1.5%:
give a random number between 1 and 1 of apple to the player
chance of 2.0%:
give a random number between 1 and 1 of book to the player
else:
chance of 3.0%:
give 1 iron ingot to the player
chance of 5.0%:
give 1 gold ingot to the player
chance of 2.0%:
give 1 redstone to the player
chance of 3.0%:
give 1 emerald to the player
chance of 4.0%:
give 1 diamond to the player
chance of 6.0%:
give 1 coal to the player
chance of 6.0%:
give a random number between 1 and 1 of obsidian to the player
chance of 2.0%:
give a random number between 1 and 1 of tnt to the player
chance of 2.0%:
give a random number between 1 and 1 of ender pearl to the player
chance of 1.5%:
give a random number between 1 and 1 of apple to the player
chance of 2.0%:
give a random number between 1 and 1 of book to the player
Spoiler
command /drop:
trigger:
open chest with2 rows named "&8&l» &4&lDROP ZE STONE" to player
wait 2 tick
format slot 0 of player with1 of emerald named "&8&l» &aSzmaragd"with lore "&8&l» &6Szansa &8&l» &63.0 Procent" to close
format slot 1 of player with1 of gold ingot named "&8&l» &eZloto"with lore "&8&l» &6Szansa &8&l» &65.0 Procent" to close
format slot 2 of player with1 of diamond named "&8&l» &bDiament"with lore "&8&l» &6Szansa &8&l» &64.0 Procent" to close
format slot 3 of player with1 of iron ingot named "&8&l» &fZelazo"with lore "&8&l» &6Szansa &8&l» &63.0 Procent" to close
format slot 4 of player with1 of obsidian named "&8&l» &7Obsydian"with lore "&8&l» &6Szansa &8&l» &66.0 Procent" to close
format slot 5 of player with1 of ender pearl named "&8&l» &5EnderPerla"with lore "&8&l» &6Szansa &8&l» &62.0 Procent" to close
format slot 6 of player with1 of tnt named "&8&l» &cTNT"with lore "&8&l» &6Szansa &8&l» &62.0 Procent" to close
format slot 7 of player with1 of coal named "&8&l» &aWegiel"with lore "&8&l» &6Szansa &8&l» &66.0 Procent" to close
format slot 8 of player with1 of redstone named "&8&l» &4RedStone"with lore "&8&l» &6Szansa &8&l» &62.0 Procent" to close
format slot 9 of player with1 of apple named "&8&l» &cJablko"with lore "&8&l» &6Szansa &8&l» &61.5 Procent" to close
format slot 10 of player with1 of book named "&8&l» &3Ksiazka"with lore "&8&l» &6Szansa &8&l» &62.0 Procent" to close
Pytanie
Usunięty#3549 0
Witam jak dodać permisje do tego dropu, by włączać i wyłączać drop?
kod:
//Kod jest w spoilerach ~Derpy
Odnośnik do komentarza
Udostępnij na innych stronach
17 odpowiedzi na to pytanie
Rekomendowane odpowiedzi