Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options: <!--- Linijka dodaje nam opcje do skryptu.-------!>
- CobbleX: smooth bricks
- wymagane_cmd: 576 cobblestone
- obrazenia: 10
- enchant: thorns 3
- nazwa: "&7Cobble&aX"
- cWiad: &aPostawiles &7&lCobble&a&lX&f!
- # Zelazo:
- dIron: 20
- # Zloto:
- dGold: 15
- # Diamenty:
- dDiax: 10
- # Emeraldy:
- dEmer: 10
- #Perly kresu:
- dPerla: 10
- #Biblioteczki:
- dBiblio: 10
- #Obsydian:
- dObsy: 50
- #Wegiel:
- dWegiel: 70
- mIron: &bTwoja niespodzianka to: &7Zelazo
- mGold: &bTwoja niespodzianka to: &6Zloto
- mDiax: &bTwoja niespodzianka to: &bDiament
- mEmer: &bTwoja niespodzianka to: &aEmerald
- mPerla: &bTwoja niespodzianka to: &9Perla Kresu
- mBiblio: &bTwoja niespodzianka to: &cBiblioteczka
- mObsy: &bTwoja niespodzianka to: &3Obsydian
- mWegiel: &bTwoja niespodzianka to: &0Wegiel
- tag: &b[&7Cobble&aX&b]
- on load:
- set {_nazwa} to "&7Cobble&aX"
- Recipe.new{ {_nazwa} }
- {_nazwa}.Recipe.registerIngredient{1, 64 cobblestone}
- {_nazwa}.Recipe.registerIngredient{2, 64 cobblestone}
- {_nazwa}.Recipe.registerIngredient{3, 64 cobblestone}
- {_nazwa}.Recipe.registerIngredient{4, 64 cobblestone}
- {_nazwa}.Recipe.registerIngredient{5, 64 cobblestone}
- {_nazwa}.Recipe.registerIngredient{6, 64 cobblestone}
- {_nazwa}.Recipe.registerIngredient{7, 64 cobblestone}
- {_nazwa}.Recipe.registerIngredient{8, 64 cobblestone}
- {_nazwa}.Recipe.registerIngredient{9, 64 cobblestone}
- {_nazwa}.Recipe.registerResult{4 decorated bricks of thorns 3 named "&7Cobble&aX"}
- {_nazwa}.Recipe.register
- on place of decorated bricks:
- send "{@cWiad}"
- on mine decorated bricks:
- if player's gamemode is survival:
- if player's tool is pickaxe:
- set event-block to air
- cancel event
- chance of {@dIron}%:
- give 1 iron ingot to the player
- send "{@tag} {@mIron}"
- chance of {@dGold}%:
- give 1 gold ingot to the player
- send "{@tag} {@mGold}"
- chance of {@dDiax}%:
- give 1 diamond to the player
- send "{@tag} {@mDiax}"
- chance of {@dEmer}%:
- give 1 emerald to the player
- send "{@tag} {@mEmer}"
- chance of {@dPerla}%:
- give 1 ender pearl to the player
- send "{@tag} {@mPerla}"
- chance of {@dBiblio}%:
- give 1 bookshelf to the player
- send "{@tag} {@mBiblio}"
- chance of {@dObsy}%:
- give 1 obsidian to the player
- send "{@tag} {@mObsy}"
- chance of {@dWegiel}%:
- give 1 coal to the player
- send "{@tag} {@mWegiel}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement