Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #Tag skryptu
- tag:
- #Ustawiasz na co ma się zmienić ruda po wykopaniu stone/air, air czyli ma zniknąć
- ustaw: stone
- #Ustawienie Procentkow (Nie Edytuj -Dix)
- redstone: 3
- diamond: 1.5
- iron: 4
- gold: 3
- coal: 4
- lapis: 1.4
- kwarc: 2
- #Wysokosc wydobycia (Nie Edytuj -Dix)
- ydiamond: 25
- yiron: 100
- ygold: 40
- ycoal: 150
- yredstone: 20
- ylapis: 40
- ykwarc: 255
- errord: &b&lDiament &7wypada tylko ze stone, wiecej informacji &8&o/stone! #diamond
- errori: &8&lZelazo &7wypada tylko ze stone, wiecej informacji &8&o/stone! #iron
- errorg: &6&lZloto &7wypada tylko ze stone, wiecej informacji &8&o/stone! #gold
- errorc: &8&lWegiel &7wypada tylko ze stone, wiecej informacji &8&o/stone! #wegiel
- errorr: &4&lRedstone &7wypada tylko ze stone, wiecej informacji &8&o/stone! #wegiel
- errorl: &3&lLapis Lazuli &7wypada tylko ze stone, wiecej informacji &8&o/stone! #lapis
- errork: &f&lKwarc &7wypada tylko ze netherracka, wiecej informacji &8&o/stone! #kwarc
- #Wiadomosci przy wl/wyl (Nie Edytuj -Dix)
- offd: &bWylaczono wypadanie diamentu #diamond
- ond: &bWlaczono wypadanie diamentu #diamond
- offi: &fWylaczono wypadanie zelaza #iron
- oni: &fWlaczono wypadanie zelaza #iron
- offg: &eWylaczono wypadanie zlota #gold
- ong: &eWlaczono wypadanie zlota #gold
- offe: &2Wylaczono wypadanie szmaragdu #emerald
- one: &2Wlaczono wypadanie szmaragdu #emerald
- #NIE RUSZAJ TEGO (Nie Edytuj -Dix)
- variables:
- {vdiamond} = true #diamond
- {viron} = true #iron
- {vgold} = true #gold
- {vcoal} = true #coal
- {vredstone} = true #redstone
- {vlapis} = true #lapis
- {vkwarc} = true #lkwarc
- #Anty Bug TNT (Nie Edytuj -Dix)
- on explode:
- if entity is TNT:
- loop blocks in radius 10:
- if loop-block is diamond ore:
- set loop-block to {@ustaw}
- if loop-block is gold ore:
- set loop-block to {@ustaw}
- if loop-block is iron ore:
- set loop-block to {@ustaw}
- if loop-block is emerald ore:
- set loop-block to {@ustaw}
- if loop-block is lapis lazuli ore:
- set loop-block to {@ustaw}
- if loop-block is coal ore:
- set loop-block to {@ustaw}
- if loop-block is redstone ore:
- set loop-block to {@ustaw}
- #Ogolny Drop na zelazku (Nie Edytuj -Dix)
- On Mine Of Stone:
- if {vdiamond} is true:
- if player's y-coordinate is smaller than {@ydiamond}:
- if player is holding diamond pickaxe or iron pickaxe:
- chance of {@diamond}%:
- player's gamemode is survival
- give diamond to the player
- stop
- if {viron} is true:
- if player's y-coordinate is smaller than {@yiron}:
- if player is holding diamond pickaxe or iron pickaxe or stone pickaxe:
- chance of {@iron}%:
- player's gamemode is survival
- give iron ore to the player
- stop
- if {vgold} is true:
- if player's y-coordinate is smaller than {@ygold}:
- if player is holding diamond pickaxe or iron pickaxe:
- chance of {@gold}%:
- player's gamemode is survival
- give gold ore to the player
- stop
- if {vcoal} is true:
- if player's y-coordinate is smaller than {@ycoal}:
- chance of {@coal}%:
- player's gamemode is survival
- give coal to the player
- stop
- if {vredstone} is true:
- if player's y-coordinate is smaller than {@yredstone}:
- if player is holding diamond pickaxe or iron pickaxe:
- chance of {@redstone}%:
- player's gamemode is survival
- drop a random number between 1 and 6 of redstone
- stop
- if {vlapis} is true:
- if player's y-coordinate is smaller than {@ylapis}:
- chance of {@lapis}%:
- player's gamemode is survival
- drop a random number between 1 and 6 of lapis
- stop
- #Nie edytuj (Nie Edytuj -Dix)
- On Mine Of Diamond Ore:
- if {vdiamond} is true:
- cancel event
- set block to air
- message "{@errord}"
- stop
- On Mine Of Iron Ore:
- if {viron} is true:
- cancel event
- set block to air
- message "{@errori}"
- stop
- On Mine Of Gold Ore:
- if {vgold} is true:
- cancel event
- set block to air
- message "{@errorg}"
- stop
- On Mine Of Coal Ore:
- if {vcoal} is true:
- cancel event
- set block to air
- message "{@errorc}"
- stop
- On Mine Of Redstone Ore:
- if {vredstone} is true:
- cancel event
- set block to air
- message "{@errorr}"
- stop
- On Mine Of Lapis Lazuli Ore:
- if {vlapis} is true:
- cancel event
- set block to air
- message "{@errorl}"
- stop
- on mine of stone:
- chance of 90%:
- add 1 exp to player
- chance of 10%:
- add 2 exp to player
- On Mine Of Netherrack:
- if {vkwarc} is true:
- if player's y-coordinate is smaller than {@ykwarc}:
- chance of {@kwarc}%:
- player's gamemode is survival
- drop a random number between 1 and 3 of nether quartz
- stop
- On Mine Of Nether Quartz Ore:
- if {vkwarc} is true:
- cancel event
- set block to netherrack
- message "{@errork}"
- stop
- On Mine Of Netherrack:
- chance of 25%:
- add 2 exp to player
Advertisement
Add Comment
Please, Sign In to add comment