Posted September 27, 201411 yr I am trying to add potion effects to armor without adding the visual swirls , any suggestions ? im currently using @Override public void onArmorTick(World world, EntityPlayer player, ItemStack itemStack) { if (itemStack.getItem().equals(LoonToolItems.obsidianLeggings)) player.addPotionEffect(new PotionEffect(Potion.moveSpeed.id, 40));
September 27, 201411 yr There are some things that potions do that you can do without the potion itself, speed is one of them: player.capabilitys.setMoveSpeed(1.5F); Former developer for DivineRPG, Pixelmon and now the maker of Essence of the Gods
September 28, 201411 yr Author that will work for the leggings, but i am using night vision, jump boost and resistance on other items
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.