Started by
Diwcox_
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make a mod that adds ores and all related items. It has uranium too, but because you get poisoned when you hold a piece of it, I wanted that whenever I hold uranium, I will get that effect unless I wear a mask. I know how to make a mask, but not how to make the uranium when help poisoned. Help please.
Try this! If the mask is on the head. Try replacing x with something 0, if it doesn't work, then with 3.
I think the item in hand procedure is easier
So you only have to check whether the mask is on
But that only works for the main hand i think... I also might be wrong