-
[1.8.9] Chane Vanilla Armor Values
Can I please have an example of how to do what I asked in the first post? Then I can manage it from there and won't need any more help.
-
[1.8.9] Chane Vanilla Armor Values
Still don't know
-
[1.8.9] Chane Vanilla Armor Values
I know but what I mean is I'm not sure how to use the forge methods with it, like the ItemArmor.ArmorMaterial
-
[1.8.9] Chane Vanilla Armor Values
It's used to manipulate classes and everything in that class, right?
-
[1.8.9] Chane Vanilla Armor Values
Yes and I don't know how to do that in forge, like what would an example be?
-
[1.8.9] Chane Vanilla Armor Values
Then what do I do, I'm not an expert.
-
[1.8.9] Chane Vanilla Armor Values
So like this as an example? ItemArmor.ArmorMaterial.IRON.getDamageReductionAmount(0);
-
[1.8.9] Chane Vanilla Armor Values
Can I have an example please? And would I make a new class for this or put it in my normal item classes?
-
[1.8.9] Chane Vanilla Armor Values
How would I change the vanilla armor values?
-
[1.8.9] Enchantment Effect Only When Held Item
Okay then instead of making it glow how would I do it so on held it changes to another item and when that other item is stopped being held it changes to the original item?
-
[1.8.9] Enchantment Effect Only When Held Item
How would I make it so that the item only glows when it's held and doesn't glow when it's not held? @SideOnly(Side.CLIENT) @Override public boolean hasEffect(ItemStack stack) { return true; }
-
[1.8.9] EnumChatFormatting
True it's limited but like Draco said it's exactly what I wanted However if I was to want to use different colors, would it be like this?: @Override public EnumRarity getRarity(ItemStack stack) { if (this == ModItems.Sword) { return EnumChatFormatting.AQUA; } else { return EnumChatFormatting.WHITE; } }
-
[1.8.9] EnumChatFormatting
Never mind, I looked into the Golden Apple code and found they color their items in terms of rarity which is exactly what I wanted to do so I just used the same code with my items. @Override public EnumRarity getRarity(ItemStack stack) { if (this == ModItems.Sword) { return EnumRarity.EPIC; } else { return EnumRarity.COMMON; } }
-
[1.8.9] EnumChatFormatting
That's not what I meant either way, if I return it, it won't change the color?
-
[1.8.9] EnumChatFormatting
What would an example of returning it be like? I'm not anything of an expert yet.
IPS spam blocked by CleanTalk.