Jump to content

Recommended Posts

Posted (edited)

Hi people of the Forge Forum! I want to make a tool in my mod give the player a broken version of it. I am stumped as I have no idea of how to check the state of a tool. Thanks in advance! 

Edited by CraftKing7777
Posted

I'm a bit of a noob. Would you mind assisting me in putting it in my class?

 

//------------------------------------------------

package com.MilkyRacingMowers.item;

import net.minecraft.block.Block;
import net.minecraft.item.ItemSword;

public class GlassSword2 extends ItemSword{

    public GlassSword2(ToolMaterial glass) {
        super(glass);
    }    
}
 //--------------------------------------   

Any time I try do do anything with override it underlines the '@'

 

 

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.