Minecraft Mods

Discussion in 'General Help' started by TheAJ471, Dec 3, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    TheAJ471

    So I recently started trying to make mods for minecraft because I have had a good time making plugins. So I am following tutorials and I have this custom item, Obsidian Stick, and how do I make it do damage to players/mobs? Like more damage than a hand would.

    I cant find how to use .setDamage but I dont know if you would even use this.

    Also this is for 1.7.10

    Code:java
    1. oStick = new Item().setUnlocalizedName("oStick")
    2. .setCreativeTab(CreativeTabs.tabMisc)
    3. .setTextureName(RefStrings.MODID + ":OStick")
    4. .setMaxStackSize(1);
     
  2. Offline

    TheAJ471

    Fixed my problem :D
     
Thread Status:
Not open for further replies.

Share This Page