Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on enable:
- set {_item} to emerald ore
- set 1st line of {_item}'s lore to "&apostaw na ziemi, aby aktywowac stoniarke!"
- set 2nd line of {_item}'s lore to "&bzniszcz zlotym kilofem, aby usunac stoniarke"
- register new shaped recipe for {_item} named "&2&lGenerator Stone" using obsidian, obsidian, obsidian, obsidian, diamond, obsidian, obsidian, stone, obsidian
- #on inventory close:
- # name of event-inventory starts with "&2&lDrop z ":
- # wait 2 ticks
- # loop all items in player's inventory:
- # loop-item is air:
- # continue
- # 1st line of lore of loop-item is "&eWroc do glownego menu":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- # stop
- # 1st line of lore of loop-item contains "&9drop ":
- # 2nd line of lore of loop-item is "&awlaczono" or "&4wylaczono":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- # stop
- # else if name of event-inventory is "&2&lMenu Dropu":
- # wait 2 ticks
- # loop all items in player's inventory:
- # loop-item is air:
- # continue
- # 1st line of lore of loop-item is "&eWroc do glownego menu":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- # stop
- # 1st line of lore of loop-item contains "&9drop ":
- # 2nd line of lore of loop-item is "&awlaczono" or "&4wylaczono":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- # stop
- #
- #
- #on inventory open:
- # name of event-inventory starts with "&2&lDrop z ":
- # loop all items in player's inventory:
- # loop-item is air:
- # continue
- # 1st line of lore of loop-item contains "&9drop ":
- # 2nd line of lore of loop-item is "&awlaczono" or "&4wylaczono":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- # else if name of event-inventory is "&2&lMenu Dropu":
- # loop all items in player's inventory:
- # loop-item is air:
- # continue
- # 1st line of lore of loop-item contains "&9drop ":
- # 2nd line of lore of loop-item is "&awlaczono" or "&4wylaczono":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- function woodDrop(p: player):
- open chest with 3 rows named "&2&lDrop z drewna" to {_p}
- if {drop.off.%{_p}%.wood.stick} is set:
- set {_p}'s current inventory's slot 0 to stick named "&ePatyk" with lore "&9drop 10%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 0 to stick named "&ePatyk" with lore "&9drop 10%%" and "&awlaczono"
- if {drop.off.%{_p}%.wood.charcoal} is set:
- set {_p}'s current inventory's slot 1 to charcoal named "&eWegiel" with lore "&9drop 5%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 1 to charcoal named "&eWegiel" with lore "&9drop 5%%" and "&awlaczono"
- if {drop.off.%{_p}%.wood.slimeball} is set:
- set {_p}'s current inventory's slot 2 to slimeball named "&eKula szlamu" with lore "&9drop 3%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 2 to slimeball named "&eKula szlamu" with lore "&9drop 3%%" and "&awlaczono"
- if {drop.off.%{_p}%.wood.log} is set:
- set {_p}'s current inventory's slot 3 to oak log named "&eDrewno" with lore "&9drop 3%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 3 to oak log named "&eDrewno" with lore "&9drop 3%%" and "&awlaczono"
- if {drop.off.%{_p}%.wood.sapling} is set:
- set {_p}'s current inventory's slot 4 to oak sapling named "&eSadzonki" with lore "&9drop 3%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 4 to oak sapling named "&eSadzonki" with lore "&9drop 3%%" and "&awlaczono"
- if {drop.off.%{_p}%.wood.prismarine} is set:
- set {_p}'s current inventory's slot 5 to prismarine crystal named "&eKrysztal Pryzmarynu" with lore "&9drop 1.5%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 5 to prismarine crystal named "&eKrysztal Pryzmarynu" with lore "&9drop 1.5%%" and "&awlaczono"
- set {_p}'s current inventory's slot 26 to barrier named "&4&lOut!" with lore "&eWroc do glownego menu"
- function invisibleDrop(p: player):
- open chest with 3 rows named "&2&lDrop z niewidzialnych blokow" to {_p}
- set {_p}'s current inventory's slot 0 to dead grass named "&eDeath Bush" with lore "&9drop 45%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.zelazo} is set:
- set {_p}'s current inventory's slot 1 to iron ingot named "&eZelazo" with lore "&9drop 30%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 1 to iron ingot named "&eZelazo" with lore "&9drop 30%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.ref} is set:
- set {_p}'s current inventory's slot 2 to golden apple named "&eRefile" with lore "&9drop 8%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 2 to golden apple named "&eRefile" with lore "&9drop 35%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.zloto} is set:
- set {_p}'s current inventory's slot 3 to golden ingot named "&eZloto" with lore "&9drop 20%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 3 to golden ingot named "&eZloto" with lore "&9drop 20%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.emerald} is set:
- set {_p}'s current inventory's slot 4 to emerald named "&eEmeraldy" with lore "&9drop 15%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 4 to emerald named "&eEmeraldy" with lore "&9drop 15%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.diament} is set:
- set {_p}'s current inventory's slot 5 to diamond named "&eDiamenty" with lore "&9drop 10%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 5 to diamond named "&eDiamenty" with lore "&9drop 10%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.kox} is set:
- set {_p}'s current inventory's slot 6 to enchanted golden apple named "&eKoxy" with lore "&9drop 10%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 6 to enchanted golden apple named "&eKoxy" with lore "&9drop 10%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.blaze} is set:
- set {_p}'s current inventory's slot 7 to blaze rod named "&eOgnista palka" with lore "&9drop 8%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 7 to blaze rod named "&eOgnista palka" with lore "&9drop 8%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.wither} is set:
- set {_p}'s current inventory's slot 8 to wither skeleton head named "&eGlowa Withera" with lore "&9drop 5%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 8 to wither skeleton head named "&eGlowa Withera" with lore "&9drop 5%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.star} is set:
- set {_p}'s current inventory's slot 9 to nether star named "&eNetherowa gwiazda" with lore "&9drop 1%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 9 to nether star named "&eNetherowa gwiazda" with lore "&9drop 1%%" and "&awlaczono"
- if {drop.off.%{_p}%.invisible.spawner} is set:
- set {_p}'s current inventory's slot 10 to spawner named "&eSpawner" with lore "&9drop 1%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 10 to spawner named "&eSpawner" with lore "&9drop 1%%" and "&awlaczono"
- set {_p}'s current inventory's slot 26 to barrier named "&4&lOut!" with lore "&eWroc do glownego menu"
- function stoneDrop(p: player):
- open chest with 3 rows named "&2&lDrop z kamienia" to {_p}
- if {drop.off.%{_p}%.stone.wegiel} is set:
- set {_p}'s current inventory's slot 0 to charcoal named "&eWegiel" with lore "&9drop 8%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 0 to charcoal named "&eWegiel" with lore "&9drop 8%%" and "&awlaczono"
- if {drop.off.%{_p}%.stone.zelazo} is set:
- set {_p}'s current inventory's slot 1 to iron ingot named "&eSztabka zelaza" with lore "&9drop 7%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 1 to iron ingot named "&eSztabka zelaza" with lore "&9drop 7%%" and "&awlaczono"
- if {drop.off.%{_p}%.stone.zloto} is set:
- set {_p}'s current inventory's slot 2 to golden ingot named "&eSztabka zlota" with lore "&9drop 5%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 2 to golden ingot named "&eSztabka zlota" with lore "&9drop 5%%" and "&awlaczono"
- if {drop.off.%{_p}%.stone.lapis} is set:
- set {_p}'s current inventory's slot 3 to lapis named "&eLapis" with lore "&9drop 3%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 3 to lapis named "&eLapis" with lore "&9drop 3%%" and "&awlaczono"
- if {drop.off.%{_p}%.stone.redstone} is set:
- set {_p}'s current inventory's slot 4 to redstone named "&eRedstone" with lore "&9drop 3%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 4 to redstone named "&eRedstone" with lore "&9drop 3%%" and "&awlaczono"
- if {drop.off.%{_p}%.stone.emerald} is set:
- set {_p}'s current inventory's slot 5 to emerald named "&eEmerald" with lore "&9drop 2%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 5 to emerald named "&eEmerald" with lore "&9drop 2%%" and "&awlaczono"
- if {drop.off.%{_p}%.stone.diament} is set:
- set {_p}'s current inventory's slot 6 to diamond named "&eDiament" with lore "&9drop 2%%" and "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 6 to diamond named "&eDiament" with lore "&9drop 2%%" and "&awlaczono"
- set {_p}'s current inventory's slot 26 to barrier named "&4&lOut!" with lore "&eWroc do glownego menu"
- function mainMenu(p: player):
- open chest with 5 rows named "&2&lMenu Dropu" to {_p}
- if {dropped.stone.%{_p}%} is not set:
- set {_p}'s current inventory's slot 20 to stone named "&eDrop ze stone" with lore "&aWykopano: 0"
- else:
- set {_p}'s current inventory's slot 20 to stone named "&eDrop ze stone" with lore "&aWykopano: %{dropped.stone.%{_p}%}%"
- if {dropped.invisible.%{_p}%} is not set:
- set {_p}'s current inventory's slot 22 to plain glass block named "&eDrop z niewidzialnych blokow" with lore "&aWykopano: 0"
- else:
- set {_p}'s current inventory's slot 22 to plain glass block named "&eDrop z niewidzialnych blokow" with lore "&aWykopano: %{dropped.invisible.%{_p}%}%"
- if {dropped.wood.%{_p}%} is not set:
- set {_p}'s current inventory's slot 24 to oak log named "&eDrop z drewna" with lore "&aWykopano: 0"
- else:
- set {_p}'s current inventory's slot 24 to oak log named "&eDrop z drewna" with lore "&aWykopano: %{dropped.wood.%{_p}%}%"
- if {drop.messages.%{_p}%} is set:
- set {_p}'s current inventory's slot 40 to book and quill named "&eInfo o dropie" with lore "&4wylaczono"
- else:
- set {_p}'s current inventory's slot 40 to book and quill named "&eInfo o dropie" with lore "&awlaczono"
- command /drop:
- permission: gracz.drop
- trigger:
- mainMenu(player)
- on inventory click:
- if inventory name of current inventory of player is "&2&lMenu Dropu":
- set clicked slot to air
- # STONE DROP
- if event-slot is slot 20 of player's current inventory:
- cancel event
- stoneDrop(player)
- # INVISIBLE DROP
- if event-slot is slot 22 of player's current inventory:
- cancel event
- invisibleDrop(player)
- # WOOD DROP
- if event-slot is slot 24 of player's current inventory:
- cancel event
- woodDrop(player)
- if event-slot is slot 40 of player's current inventory:
- cancel event
- if {drop.messages.%player%} is set:
- delete {drop.messages.%player%}
- else:
- set {drop.messages.%player%} to true
- mainMenu(player)
- # send "%click type%" to "szumielxd_" parsed as player
- # if click type is left mouse button with shift or right mouse button with shift:
- # wait 5 ticks
- # send "&4&l%player% Wykonuje" to "szumielxd_" parsed as player
- # if inventory name of current inventory of player do not start with "&2&lDrop z":
- # if inventory name of current inventory of player is not "&2&lMenu Dropu":
- # loop all items in player's inventory:
- # loop-item is air:
- # continue
- # 1st line of lore of loop-item contains "&9drop ":
- # 2nd line of lore of loop-item is "&awlaczono" or "&4wylaczono":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- # send "&4&lOszust"
- if inventory name of current inventory of player is "&2&lDrop z kamienia":
- set clicked slot to air
- if event-slot is slot 0 of player's current inventory:
- if {drop.off.%player%.stone.wegiel} is set:
- delete {drop.off.%player%.stone.wegiel}
- else:
- set {drop.off.%player%.stone.wegiel} to true
- stoneDrop(player)
- if event-slot is slot 1 of player's current inventory:
- cancel event
- if {drop.off.%player%.stone.zelazo} is set:
- delete {drop.off.%player%.stone.zelazo}
- else:
- set {drop.off.%player%.stone.zelazo} to true
- stoneDrop(player)
- if event-slot is slot 2 of player's current inventory:
- cancel event
- if {drop.off.%player%.stone.zloto} is set:
- delete {drop.off.%player%.stone.zloto}
- else:
- set {drop.off.%player%.stone.zloto} to true
- stoneDrop(player)
- if event-slot is slot 3 of player's current inventory:
- cancel event
- if {drop.off.%player%.stone.lapis} is set:
- delete {drop.off.%player%.stone.lapis}
- else:
- set {drop.off.%player%.stone.lapis} to true
- stoneDrop(player)
- if event-slot is slot 4 of player's current inventory:
- cancel event
- if {drop.off.%player%.stone.redstone} is set:
- delete {drop.off.%player%.stone.redstone}
- else:
- set {drop.off.%player%.stone.redstone} to true
- stoneDrop(player)
- if event-slot is slot 5 of player's current inventory:
- cancel event
- if {drop.off.%player%.stone.emerald} is set:
- delete {drop.off.%player%.stone.emerald}
- else:
- set {drop.off.%player%.stone.emerald} to true
- stoneDrop(player)
- if event-slot is slot 6 of player's current inventory:
- cancel event
- if {drop.off.%player%.stone.diament} is set:
- delete {drop.off.%player%.stone.diament}
- else:
- set {drop.off.%player%.stone.diament} to true
- stoneDrop(player)
- if event-slot is slot 26 of player's current inventory:
- cancel event
- mainMenu(player)
- # if click type is left mouse button with shift or right mouse button with shift:
- # wait 5 ticks
- # if inventory name of current inventory of player do not start with "&2&lDrop z":
- # if inventory name of current inventory of player is not "&2&lMenu Dropu":
- # loop all items in player's inventory:
- # loop-item is air:
- # continue
- # 1st line of lore of loop-item contains "&9drop ":
- # 2nd line of lore of loop-item is "&awlaczono" or "&4wylaczono":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- if inventory name of current inventory of player is "&2&lDrop z niewidzialnych blokow":
- set clicked slot to air
- if event-slot is slot 0 of player's current inventory:
- cancel event
- close player's inventory
- send "&cTego nikt ci nie pozwolil wylaczyc"
- if event-slot is slot 2 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.ref} is set:
- delete {drop.off.%player%.invisible.ref}
- else:
- set {drop.off.%player%.invisible.ref} to true
- invisibleDrop(player)
- if event-slot is slot 1 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.zelazo} is set:
- delete {drop.off.%player%.invisible.zelazo}
- else:
- set {drop.off.%player%.invisible.zelazo} to true
- invisibleDrop(player)
- if event-slot is slot 3 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.zloto} is set:
- delete {drop.off.%player%.invisible.zloto}
- else:
- set {drop.off.%player%.invisible.zloto} to true
- invisibleDrop(player)
- if event-slot is slot 4 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.emerald} is set:
- delete {drop.off.%player%.invisible.emerald}
- else:
- set {drop.off.%player%.invisible.emerald} to true
- invisibleDrop(player)
- if event-slot is slot 5 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.diament} is set:
- delete {drop.off.%player%.invisible.diament}
- else:
- set {drop.off.%player%.invisible.diament} to true
- invisibleDrop(player)
- if event-slot is slot 6 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.kox} is set:
- delete {drop.off.%player%.invisible.kox}
- else:
- set {drop.off.%player%.invisible.kox} to true
- invisibleDrop(player)
- if event-slot is slot 7 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.blaze} is set:
- delete {drop.off.%player%.invisible.blaze}
- else:
- set {drop.off.%player%.invisible.blaze} to true
- invisibleDrop(player)
- if event-slot is slot 8 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.wither} is set:
- delete {drop.off.%player%.invisible.wither}
- else:
- set {drop.off.%player%.invisible.wither} to true
- invisibleDrop(player)
- if event-slot is slot 9 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.star} is set:
- delete {drop.off.%player%.invisible.star}
- else:
- set {drop.off.%player%.invisible.star} to true
- invisibleDrop(player)
- if event-slot is slot 10 of player's current inventory:
- cancel event
- if {drop.off.%player%.invisible.spawner} is set:
- delete {drop.off.%player%.invisible.spawner}
- else:
- set {drop.off.%player%.invisible.spawner} to true
- invisibleDrop(player)
- if event-slot is slot 26 of player's current inventory:
- cancel event
- mainMenu(player)
- # if click type is left mouse button with shift or right mouse button with shift:
- # wait 5 ticks
- # if inventory name of current inventory of player do not start with "&2&lDrop z":
- # if inventory name of current inventory of player is not "&2&lMenu Dropu":
- # loop all items in player's inventory:
- # loop-item is air:
- # continue
- # 1st line of lore of loop-item contains "&9drop ":
- # 2nd line of lore of loop-item is "&awlaczono" or "&4wylaczono":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- if inventory name of current inventory of player is "&2&lDrop z drewna":
- set clicked slot to air
- if event-slot is slot 0 of player's current inventory:
- cancel event
- if {drop.off.%player%.wood.stick} is set:
- delete {drop.off.%player%.wood.stick}
- else:
- set {drop.off.%player%.wood.stick} to true
- woodDrop(player)
- if event-slot is slot 1 of player's current inventory:
- cancel event
- if {drop.off.%player%.wood.charcoal} is set:
- delete {drop.off.%player%.wood.charcoal}
- else:
- set {drop.off.%player%.wood.charcoal} to true
- woodDrop(player)
- if event-slot is slot 2 of player's current inventory:
- cancel event
- if {drop.off.%player%.wood.slimeball} is set:
- delete {drop.off.%player%.wood.slimeball}
- else:
- set {drop.off.%player%.wood.slimeball} to true
- woodDrop(player)
- if event-slot is slot 3 of player's current inventory:
- cancel event
- if {drop.off.%player%.wood.log} is set:
- delete {drop.off.%player%.wood.log}
- else:
- set {drop.off.%player%.wood.log} to true
- woodDrop(player)
- if event-slot is slot 4 of player's current inventory:
- cancel event
- if {drop.off.%player%.wood.sapling} is set:
- delete {drop.off.%player%.wood.sapling}
- else:
- set {drop.off.%player%.wood.sapling} to true
- woodDrop(player)
- if event-slot is slot 5 of player's current inventory:
- cancel event
- if {drop.off.%player%.wood.prismarine} is set:
- delete {drop.off.%player%.wood.prismarine}
- else:
- set {drop.off.%player%.wood.prismarine} to true
- woodDrop(player)
- if event-slot is slot 26 of player's current inventory:
- cancel event
- mainMenu(player)
- # if click type is left mouse button with shift or right mouse button with shift:
- # wait 5 ticks
- # if inventory name of current inventory of player do not start with "&2&lDrop z":
- # if inventory name of current inventory of player is not "&2&lMenu Dropu":
- # loop all items in player's inventory:
- # loop-item is air:
- # continue
- # 1st line of lore of loop-item contains "&9drop ":
- # 2nd line of lore of loop-item is "&awlaczono" or "&4wylaczono":
- # clear player's inventory
- # kill player
- # wait 2 ticks
- # execute console command "minecraft:kick %player% KYS i nie wracaj oszuscie"
- # BARRIER_BLOCK
- on break plain glass block:
- player's gamemode is survival or adventure:
- name of player's tool is not "&6&lBron Ostateczna":
- stop
- set {_x} to random number between 1 and 8
- add {_x} to player's xp
- add 1 to {dropped.invisible.%player%}
- player is in region "superkopalnia":
- chance of 1%:
- set {_double} to true
- chance of 45%:
- {_double} is true:
- drop 20 dead grass
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aDeath Bush'e!"
- else:
- drop 10 dead grass
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aDeath Bush'a!"
- chance of 30%:
- if {drop.off.%player%.invisible.zelazo} is set:
- exit 2 sections
- {_double} is true:
- drop 2 iron ingot
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aZelazne sztabki!"
- else:
- drop iron ingot
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aZelazna sztabke!"
- chance of 20%:
- if {drop.off.%player%.invisible.ref} is set:
- exit 2 sections
- {_double} is true:
- drop 2 golden apple item
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aRefy!"
- else:
- drop golden apple item
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aRefa!"
- chance of 20%:
- if {drop.off.%player%.invisible.zloto} is set:
- exit 2 sections
- {_double} is true:
- drop 2 golden ingot
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aZlote sztabki!"
- else:
- drop golden ingot
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aZlota sztabke!"
- chance of 15%:
- if {drop.off.%player%.invisible.emerald} is set:
- exit 2 sections
- {_double} is true:
- drop 2 emerald
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aEmeraldy!"
- else:
- drop emerald
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aEmeralda!"
- chance of 10%:
- if {drop.off.%player%.invisible.diament} is set:
- exit 2 sections
- {_double} is true:
- drop 2 diamond
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aDiamenty!"
- else:
- drop diamond
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aDiamenta!"
- chance of 10%:
- if {drop.off.%player%.invisible.kox} is set:
- exit 2 sections
- {_double} is true:
- drop 2 enchanted golden apple
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aKoxy!"
- else:
- drop enchanted golden apple
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aKoxa!"
- chance of 8%:
- if {drop.off.%player%.invisible.blaze} is set:
- exit 2 sections
- {_double} is true:
- drop 2 blaze rod
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aOgniste palki!"
- else:
- drop blaze rod
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aOgnista palke!"
- chance of 5%:
- if {drop.off.%player%.invisible.wither} is set:
- exit 2 sections
- {_double} is true:
- drop 2 wither skeleton head
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aGlowy withera!"
- else:
- drop wither skeleton head
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aGlowe withera!"
- chance of 1%:
- if {drop.off.%player%.invisible.star} is set:
- exit 2 sections
- {_double} is true:
- drop 2 nether star
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aNetherowe gwiazdy!"
- else:
- drop nether star
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aNetherowa gwiazde!"
- chance of 1%:
- if {drop.off.%player%.invisible.spawner} is set:
- exit 2 sections
- {_double} is true:
- drop 2 spawners
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aSpawnery!"
- else:
- drop spawner
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aSpawner!"
- chance of 0.2%:
- {_double} is true:
- drop 2 dragon heads
- message "&bZnalazles 2 &aGlowy &5Smoka kresu!"
- else:
- drop dragon head
- message "&bZnalazles 1 &aGlowe &5Smoka kresu!"
- # DREWNO
- on break log:
- player's gamemode is survival or adventure:
- add 1 to {dropped.wood.%player%}
- chance of 1%:
- set {_double} to true
- chance of 10%:
- if {drop.off.%player%.wood.stick} is set:
- exit 2 sections
- {_double} is true:
- drop 2 stick
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aPatyki!"
- else:
- drop stick
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aPatyk!"
- chance of 5%:
- if {drop.off.%player%.wood.charcoal} is set:
- exit 2 sections
- {_double} is true:
- drop 2 charcoal
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aWegiele!"
- else:
- drop charcoal
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aWegiel!"
- chance of 3%:
- if {drop.off.%player%.wood.slimeball} is set:
- exit 2 sections
- {_double} is true:
- drop 2 slimeball
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aKule Szlamu!"
- else:
- drop slimeball
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aKule Szlamu!"
- chance of 3%:
- if {drop.off.%player%.wood.log} is set:
- exit 2 sections
- {_double} is true:
- event-block is oak log:
- drop 2 oak log
- event-block is spruce log:
- drop 2 spruce log
- event-block is birch log:
- drop 2 birch log
- event-block is jungle log:
- drop 2 jungle log
- event-block is acacia log:
- drop 2 acacia log
- event-block is dark oak log:
- drop 2 dark oak log
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aPnie drzew!"
- else:
- event-block is oak log:
- drop oak log
- event-block is spruce log:
- drop spruce log
- event-block is birch log:
- drop birch log
- event-block is jungle log:
- drop jungle log
- event-block is acacia log:
- drop acacia log
- event-block is dark oak log:
- drop dark oak log
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aPien drzewa!"
- chance of 3%:
- if {drop.off.%player%.wood.sapling} is set:
- exit 2 sections
- {_double} is true:
- event-block is oak log:
- drop 2 oak sapling
- event-block is spruce log:
- drop 2 spruce sapling
- event-block is birch log:
- drop 2 birch sapling
- event-block is jungle log:
- drop 2 jungle sapling
- event-block is acacia log:
- drop 2 acacia sapling
- event-block is dark oak log:
- drop 2 dark oak sapling
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aSadzonki drzew!"
- else:
- event-block is oak log:
- drop oak sapling
- event-block is spruce log:
- drop spruce sapling
- event-block is birch log:
- drop birch sapling
- event-block is jungle log:
- drop jungle sapling
- event-block is acacia log:
- drop acacia sapling
- event-block is dark oak log:
- drop dark oak sapling
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aSadzonke drzewa!"
- chance of 1.5%:
- if {drop.off.%player%.wood.prismarine} is set:
- exit 2 sections
- {_double} is true:
- drop 2 prismarine crystal
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&bZnalazles &e2 &bKrysztaly pryzmarynu!"
- else:
- drop prismarine crystal
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&bZnalazles &e1 &bKrysztal pryzmarynu!"
- # KAMIEN
- on break stone:
- player's gamemode is survival or adventure:
- set {_x} to random number between 0.1 and 0.5
- add {_x} to player's xp
- add 1 to {dropped.stone.%player%}
- chance of 1%:
- set {_double} to true
- chance of 8%:
- if {drop.off.%player%.stone.wegiel} is set:
- exit 2 sections
- {_double} is true:
- drop 2 charcoal
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aWegle drzewne!"
- else:
- drop charcoal
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aWegiel drzewny!"
- chance of 7%:
- if {drop.off.%player%.stone.zelazo} is set:
- exit 2 sections
- {_double} is true:
- drop 2 iron ingot
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aZelazne sztabki!"
- else:
- drop iron ingot
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aZelazna sztabke!"
- chance of 5%:
- if {drop.off.%player%.stone.zloto} is set:
- exit 2 sections
- {_double} is true:
- drop 2 golden ingot
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aSztabki zlota!"
- else:
- drop golden ingot
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aSztabke zlota!"
- chance of 3%:
- if {drop.off.%player%.stone.lapis} is set:
- exit 2 sections
- {_double} is true:
- drop 2 lapis item
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aOdlamki lazurytu!"
- else:
- drop lapis item
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aZlota Odlamek lazurytu!"
- chance of 3%:
- if {drop.off.%player%.stone.redstone} is set:
- exit 2 sections
- {_double} is true:
- drop 2 redstone
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aCzerwone proszki!"
- else:
- drop redstone
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aCzerwony proszek!"
- chance of 2%:
- if {drop.off.%player%.stone.emerald} is set:
- exit 2 sections
- {_double} is true:
- drop 2 emerald
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aEmeraldy!"
- else:
- drop emerald
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aEmeralda!"
- chance of 2%:
- if {drop.off.%player%.stone.diament} is set:
- exit 2 sections
- {_double} is true:
- drop 2 diamond
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e2 &aDiamenty!"
- else:
- drop diamond
- if {drop.messages.%player%} is set:
- exit 3 sections
- message "&aZnalazles &e1 &aDiamenta!"
Advertisement
Add Comment
Please, Sign In to add comment