Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################
- # Skrypt minecraft #
- # versja 0.1 magiczna #
- # By MondzoTv :D #
- # Zakaz usuwania #
- # Pozwalam edytowac #
- ########################
- variables:
- {Mb::9} = Potion of Regeneration
- {Mb::8} = Potion of Swiftness
- {Mb::7} = Potion of Healing
- {Mb::6} = Potion of Healing
- {Mb::5} = Potion of Healing
- {Mb::4} = Potion of Strength
- {Mb::3} = Potion of Strength
- {Mb::2} = 2 golden Apple
- {Mb::1} = 2 Potion of Regeneration
- {Mb::29} = 2 Potion of Swiftness
- {Mb::28} = 3 Potion of Strength
- {Mb::27} = 7 Potion of Strength
- {Mb::26} = 5 emerald
- {Mb::25} = 3 Gold Ingot
- {Mb::24} = 5 Potion of Healing
- {Mb::23} = 32 Arrow
- {Mb::22} = Diamond Sword
- {Mb::21} = 2 diamond
- {Mb::19} = 2 Potion of Healing
- {Mb::18} = Diamond Leggings
- {Mb::17} = Diamond Sword
- {Mb::16} = iron ingot
- {Mb::15} = Gold Ingot
- {Mb::14} = 12 Iron Ingot
- {Mb::13} = Diamond Axe
- {Mb::12} = emerald
- {Mb::11} = 5 Diamond
- {Mb::20} = Diamond Axe
- {Mb::10} = 32 Arrow
- {Mb::59} = Diamond Leggings
- {Mb::58} = Diamond Boots
- {Mb::57} = Diamond Chestplate
- {Mb::56} = Diamond Chestplate
- {Mb::55} = Diamond Boots
- {Mb::54} = Diamond Leggings
- {Mb::53} = Diamond Boots
- {Mb::52} = Diamond Helmet
- {Mb::51} = Diamond Helmet
- {enchantment::1} = sharpness 2
- {enchantment::2} = sharpness 4
- {enchantment::3} = sharpness 5
- {enchantment::4} = sharpness 8
- {enchantment::5} = Fire aspect 4
- {enchantment::6} = knockback 4
- {enchantment::7} = knockback 8
- {enchantment::14} = protection 4
- {enchantment::13} = protection 7
- {enchantment::12} = protection 10
- {enchantment::11} = protection 12
- command /cleartt:
- permission: op
- trigger:
- clear {Mb::*}
- clear {enchantment::*}
- message "cleared"
- command /box <player> <number>:
- permission: op
- trigger:
- give argument 2 of chest named "&6Magiczna_Skrzynia" to argument 1
- on place of a chest:
- player is holding a chest named "&6Magiczna_Skrzynia":
- cancel event
- remove 1 chest named "&6Magiczna_Skrzynia" from player
- loop random integer between 3 and 5 times:
- set {_item} to "%{Mb::%random integer between 1 and 59%}%" parsed as itemtype
- if {_item} is Diamond Helmet or Diamond Boots or Diamond Chestplate or Diamond Leggings:
- enchant {_item} with {enchantment::%random integer between 11 and 14%}
- set line 1 of lore of {_item} to "&6Magiczna Skrzynie"
- if {_item} is Diamond Axe or Diamond Sword:
- enchant {_item} with {enchantment::%random integer between 1 and 7%}
- set line 1 of lore of {_item} to "&6Magiczna Skrzynie"
- give {_item} to the player
- message "&2>>&eOtworzyłes &6Magiczna Skrzynie"
- on break stone:
- chance of 1%:
- drop chest named "&6Magiczna_Skrzynia"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement