Item Effect When Worn (MC Forge 1.20.1) #366
Unanswered
Marquito3388
asked this question in
Q&A
Replies: 1 comment 7 replies
-
public void curioTick(SlotContext slotContext, int index, LivingEntity entity, ItemStack stack) This is an incorrect method signature, it doesn't override anything from the
That step is unnecessary if you are implementing the |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I am currently making a mod that requires Curios and I am having some trouble with my curio item. So I made it so I can equip the item BUT it wont give me the effect. I looked over some other mods and I decided to use the method that Botania did (which for me seemed simple compared to others). This is how my item class looks like right now:
The item class makes sense to me but the item wont give me the Fire Resistance effect when I equip it. Is there something that I am missing? I saw that the documentation also says to add this to the mod main class inside the setup method:
CuriosApi.registerCurio(CurioModItems.MY_ITEM, new CurioItem());
but mine is not working because it says that it expects an argument but I dont know what argument to pass. How do I do this?
Beta Was this translation helpful? Give feedback.
All reactions