code: @SubscribeEvent
      public void onClientTick(TickEvent.ClientTickEvent ev)
      {
          if (ev != null && ev.phase == Phase.START)
          {
              for (InternalKey binding : this.additionalKeys)
              {
                  if (binding.isKeyDown())
                  {
                      binding.onKeyDown();
                  }
                  if (binding.isPressed())
                  {
                      binding.onPressed();
                  }
              }
          }
      }
docs: Tick event called on the Client.<br>
  Used to simulate pressing and releasing of our additional keys.<br>
  This is about as close as we can (easily) get in the call stack to the point when Minecraft does the equivalent code for its own keys.
  @param ev ClientTickEvent for this tick.