public boolean equals(Object par1Obj)
    {
        if (par1Obj != null && par1Obj instanceof NBTBase)
        {
            NBTBase var2 = (NBTBase)par1Obj;
            return this.getId() != var2.getId() ? false : ((this.name != null || var2.name == null) && (this.name == null || var2.name != null) ? this.name == null || this.name.equals(var2.name) : false);
        }
        else
        {
            return false;
        }
    }