HomeJavaDatapacksCured Pork
Cured Pork
DatapacksJava

Cured Pork

by OpenBagTwo · on Modrinth

Which Minecraft do you have?

Every version of the game needs its own build. Pick yours, then download — the wrong build installs fine and then does nothing in the game. This mod is built for Data pack only.

⬇ Download for 1.16.5–26.2⬇ Download for 1.16.2–1.16.4
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Cured Pork: A Datapack for Immunizing Piglins from Zombification

This is a "vanilla-plus" datapack which allows the player to "immunize" piglins from being zombified by giving them enchanted golden apples.

How It Works

Piglins who travel to the Overworld of The End will normally zombify after 15 seconds unless they have the NBT tag IsImmuneToZombification with a value of true.

This datapack runs a command every second that searches for any piglin (or piglin brute*) that is holding an enchanted golden apple and gives them that tag.

*if you can figure out how to get the brute to pick up the apple

Why Would I Want This?

¯\_(ツ)_/¯ That's your business.

Maybe you want to have a piglin bartering station in the overworld.

Maybe you're trying to cheese your way to collecting a piglin head.

Maybe you're trying to create a menagerie and are finding it difficult to keep your dolphins alive in the Nether.

Maybe you're doing some Star Trek roleplay and want a Tellarite on your bridge crew.

Compatibility

This datapack has been tested on versions:

and should work on all versions in between.

Contributing

Find a bug? Have a suggestion or a question? Want to contribute a new feature or enhancement? Open an issue!

License

All code and assets in this project are licensed by me (@OpenBagTwo) under the GNU Affero General Public License and, broadly speaking, may be used, modified and re-distributed freely, on servers, in modpacks or in any other derivative works, so long as:

  1. You credit the authors of this project (@OpenBagTwo and any other contributors)
  2. You make the full source code of this project (including any modifications) available to everyone using the datapack (including players on servers where this pack is installed)
  3. Any redistributions of this project or distributions of any modified works retain this license.
Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more