Set Effect

Mods
52,417 Downloads Last Updated: Dec 3, 2018 Game Version: Forge

Set Effect

 

Need a custom mod made for a reasonable price? Contact me!

bar

Allows modpack makers to apply an effect to players when wearing a full armour set.

 This mod requires Crafttweaker!
bar

 

Right now, you can only add potion effects, but I want to expand this into more advanced functions in the future.

On it's own this mod has NO EFFECT and it must be customized with Crafttweaker for it to have any effect.

bar

Please look at the documentation found on the wiki before asking questions.

If you still need help, feel free to hop into my Discord server (linked below) and ask there, I'll be happy to help.
bar

 

 

If you're looking for information on Set Effect 1.0, open the spoiler below.

Set Effect

 

Allows modpack makers to apply an effect to players when wearing a full armour set.

 

Right now, you can only add potion effects, but I want to expand this into more advanced functions in the future.


By default this mod adds the following behavior:

Wearing a full set of x will grant you the following effect:

Leather - Jump Boost

Gold - Haste

Chain - Speed

Iron - Fire resist

Diamond - Strength

These are only supposed to be examples, there's no specific reason I picked these effects, please customize to fit your modpack.


Config

This mod is designed to be used by modpack makers so it is highly configurable .


The JSON format

 

Each line of the config file represents one armor set, you will need to minify your json.

{
	"type": "diamond",
	"effects": [{
		"potion": "minecraft:strength",
		"amplifier": 0,
		"length": 10
	}]
}
 

Note how the effects section is an array, meaning you can add more than one effect per armor.

Example JSON:

 

The default leather armor config, apply jump boost 0 for 10 ticks.

{
	"type": "leather",
	"effects": [{
		"potion": "minecraft:jump_boost",
		"amplifier": 0,
		"length": 10
	}]
}

 

 Wearing chainmail, apply level 1 speed and level 10 regeneration.

{
	"type": "chainmail",
	"effects": [{
			"potion": "minecraft:speed",
			"amplifier": 0,
			"length": 10
		},
		{
			"potion": "minecraft:regeneration",
			"amplifier": 10,
			"length": 100
		}
	]
}

 

 

 

Discord

Come yell at me on Discord!

 

Donations

Give me your hard earned cash!

Comments

Posts Quoted: