Infection Immunity (1.3.2 ) - SmileycorpMC/The-Hordes GitHub Wiki

New to 1.3.2 is the immunity potion effect, entities will be cured of infection when they gain immunity, and cannot be infected while they have it.

Immunity items are configured via datapack, and have two properties item this is the registry name of the item you wish to give immunity when consumed, and duration, this is the time in ticks it gives the immune effect for.

The default file can be found at data/<identifier>/horde_data/immunity_items.json in your datapack.

Below are the settings for the default datapack:

Default Immunity Items
[
	{
		"item": "minecraft:enchanted_golden_apple",
		"duration": 150
	}
]
⚠️ **GitHub.com Fallback** ⚠️