And if i set the variable (in varible list) to 4, i get the effect when i wear boots, but when I wear full armor not (or better I get it intermittently D: )
@#5.1.1.1 I've asked this question before as well. When you put the armor on, it adds a number to the variable, and if the variable is some number, the potion effect is given. However, there is some way for when you take off the armor it decreases the variable amount, but idk what it is :/
and if you know to add atributes to the armor please tell me too
I know how to do the potion thing im making a video on it soon kk
This is the code for enchantments:
boolean flag = par3EntityPlayer.capabilities.isCreativeMode || EnchantmentHelper.getEnchantmentLevel(Enchantment.infinity.effectId, par1ItemStack) > 0;
{This was part of the guns source code}
Channel: https://www.youtube.com/channel/UCvBajyINm0zREapGpfujj0w
I would like to mention all the thumbnails are the same im making custom ones for each series soon.
https://youtu.be/0NcKDNoO_K8 [the video on how to do the potion armor]
@#5 It does not work for me :/
dunno, maybe I set variable (in variable list) wrong, but I did exactly what you did...
@#5.1 ok so are you not getting an effect or is it showing up as an error?
@#5.1.1 no effect.
And if i set the variable (in varible list) to 4, i get the effect when i wear boots, but when I wear full armor not (or better I get it intermittently D: )
@#5.1.1.1 I've asked this question before as well. When you put the armor on, it adds a number to the variable, and if the variable is some number, the potion effect is given. However, there is some way for when you take off the armor it decreases the variable amount, but idk what it is :/
Put the potion effect on the boots have them only work if the variable is 3 them have the boots set the variable from 3 to 4
@#6 nope... intermittence like in your video :/ I tried to add the "0 to 4" event to leggins insted of chestplate, but nothing changes...
It seems the variable takes too much time to do that "circle" from 0 to 4 so we get intermittence
@#6.1 lol fail
it seems to work if i add more ticks to the potion effect... :P
Thx for this @SpideyBren2000
@#5 @#5 The video link doesn't work.
@#5.1.1.1 Then try to add "1" for each piece of armor you are currently wearing, If the number is 4, you get the set bonus. Simple :)