- check_circle Advancements
- check_circle Functions
- check_circle Predicates
Published Aug 27th, 2023, 8/27/23 7:23 am
- 564 views, 12 today
- 35 downloads, 0 today
5
A new small datapack for rp or convenience purposes, you can now cure and immunise zoglins!
Want some hoglins for your overworld? Farm or just because you like the feral big pigs?
Here you go!
Throw them a potion of weakness and feed them a golden carrot, and wait for a bit! (you'll see particles and hear the curing sound when it works)
I made it a golden carrot because those guys don't do much, and I figured they weren't worth a golden apple
It should be multiplayer compatible, but I haven't tested it
I did optimise it though, so it only fire when needed.
Now the logic of it in brief:
- when weak zoglin is near player holding golden carrot summon interaction entity to be able to right click it
- if it's right clicked, take the carrot, and start the curing
- when the curing timer is done, summon a new hoglin to replace the zoglin (and some cleanup)
Ta-da!
(this could probably be modified to cure piglins as well, it would work nearly identical, but adding the transfer of inventory if the zombie piglin has items etc would need a few more lines, and I can't be bothered when I got a plugin for that already XD)
Want some hoglins for your overworld? Farm or just because you like the feral big pigs?
Here you go!
Throw them a potion of weakness and feed them a golden carrot, and wait for a bit! (you'll see particles and hear the curing sound when it works)
I made it a golden carrot because those guys don't do much, and I figured they weren't worth a golden apple
It should be multiplayer compatible, but I haven't tested it
I did optimise it though, so it only fire when needed.
Now the logic of it in brief:
- when weak zoglin is near player holding golden carrot summon interaction entity to be able to right click it
- if it's right clicked, take the carrot, and start the curing
- when the curing timer is done, summon a new hoglin to replace the zoglin (and some cleanup)
Ta-da!
(this could probably be modified to cure piglins as well, it would work nearly identical, but adding the transfer of inventory if the zombie piglin has items etc would need a few more lines, and I can't be bothered when I got a plugin for that already XD)
Compatibility | Minecraft 1.19 |
to | Minecraft 1.20 |
Tags |
tools/tracking
6051628
119
cure-and-immunise-zoglins
Create an account or sign in to comment.