Jump to content

[1.20.1] Apply custom full armor effects


Recommended Posts

Hi, I need suggestions.
I am a beginner in Minecraft Modding. I would like to apply custom effects to some armors, something like: more chance to drop seeds, change zombie awareness, drop more pieces of wood when chopping logs, and things like that.
How would you recommend me to do it, is there any library that has something similar and which ones would you recommend me?.

Link to comment
Share on other sites

  • 4 weeks later...

You could try and manage custom armour features from inside armourTick. You would need to create a custom item called, for example, SapphireChestplateItem. It would extend ModAmrorItem. Your code might look like this:


public void onArmorTick(){

//your code here


If onArmorTick is to slow for you, you can listen for server ticks and loop through the servers players and if the current one if wearing your armor, do whatever you want.


btw this is only is you want the result of the effect, not like a full blown armour independent effect, e.g night vision

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.