O3Bubbles09
Members-
Posts
4 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
-
Personal Text
I am new!
O3Bubbles09's Achievements
Tree Puncher (2/8)
0
Reputation
-
Hello, I just started to make a mod again after a LONG while. I was wondering how to go about making new armor in Minecraft 1.8. Any help would be nice. Thanks in advance!
-
You know there is an easier way to do this right? package O3Bubbles09.testmod.armor; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.EnumArmorMaterial; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import net.minecraftforge.common.IArmorTextureProvider; public class ArmorFlyingArmor extends ItemArmor implements IArmorTextureProvider { public ArmorFlyingArmor(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) { super(par1, par2EnumArmorMaterial, par3, par4); } public void onArmorTickUpdate(World world, EntityPlayer player, ItemStack itemStack) { if(!world.isRemote) { player.capabilities.allowFlying = true; } super.onArmorTickUpdate(world, player, itemStack); } public String getArmorTextureFile(ItemStack itemstack) { return null; } }
-
In your "Multi tools" class there should be a blocksEffectiveAgainst in there you just have to put all the blocks you want it to work on... I suggest saving time by going to the ItemPickaxe class as well as ItemAxe, ItemSpade and what ever else you want. hope this helped
-
I have no idea how to create a config file... I thought it was BlockID = config.getOrCreateBlockIdProperty("Block", DefaultID).getInt(); any help is appreciated.