Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on damage:
- victim is in world "World"
- victim is sheep:
- {pinata1} is true:
- cancel the event
- damage the victim by 0.25 hearts
- chance of 50%:
- drop a diamond block at the victim
- chance of 20%:
- drop an emerald block at the victim
- chance of 20%:
- drop an iron ingot at the victim
- chance of 10%:
- drop a diamond at the victim
- chance of 5%:
- drop a diamond sword of sharpness 2 at the victim
- chance of 5%:
- drop a diamond pick of efficiency 2 at the victim
- chance of 10%:
- drop steak at the victim
- chance of 0.1%:
- drop a diamond pick of efficiency 5, fortune 3, unbreaking 3 at the victim
- command /pinata:
- permission: dp.epic
- trigger:
- set {pinata} to true
- spawn 1 sheep
- set {pinata} to false
- broadcast "<red><italic>ThePrisonServer <reset><gray>> <red>Pinata? Yeah! Pinatas! Goto /spawn for the pinata!"
- give 2 leads to player
- on spawn of a sheep:
- {pinata} is true:
- apply regeneration 1 to entity for 999 days
- apply slowness 7 to entity for 999 days
- set the entity's display name to "<green>P<lime>i<yellow>n<orange>a<red>t<purple>a"
- set {pinata1} to true
- on death of a sheep:
- {pinata1} is not true:
- stop trigger
- world is not "World":
- stop trigger
- set {pinata1} to false
- set {_temp} to location 3 blocks above victim
- drop 3 raw beef at the victim
- loop 500 times:
- wait 0.05 seconds
- chance of 2%:
- drop a diamond block at {_temp}
- chance of 1%:
- drop an emerald block at {_temp}
- chance of 20%:
- drop an iron ingot at {_temp}
- chance of 10%:
- drop a diamond at {_temp}
- chance of 0.1%:
- drop a diamond sword of sharpness 2 at {_temp}
- chance of 0.1%:
- drop a diamond pick of efficiency 2 at {_temp}
- chance of 0.05%:
- drop a diamond pick of efficiency 5, fortune 3, unbreaking 3 at {_temp}
- chance of 0.05%:
- drop a diamond sword of sharpness 3, flame 1, unbreaking 1 at {_temp}
- chance of 1%:
- drop wool at {_temp}
- chance of 0.0001%:
- drop gold nugget named "<yellow><bold>BANANA" at {_temp}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement