@@ -302,7 +302,7 @@ public void render(int mx, int my, float partialTick) {
302302 int mouseY = my - ((this .height - this .ySize ) / 2 ) - 14 - ((category .getBackground ().getHeight () + 4 ) * i );
303303 renderer .getTooltip (tooltipBuilder , ingredient .getIngredient (), isCtrl , isShift );
304304 slot .getTooltips (tooltipBuilder , ingredient .getIngredient (), mouseX , mouseY , isCtrl , isShift );
305- tooltipBuilder .addAll (category .getTooltips (recipe , mouseX , mouseY ));
305+ tooltipBuilder .addAll (category .getTooltips (recipe , slot , mouseX , mouseY ));
306306 if (list instanceof IngredientList && ((IngredientList ) list ).itemGroup != null ) {
307307 tooltipBuilder .add (TextFormatting .formatted (I18n .getInstance ().translateKeyAndFormat ("tmb.tooltip.itemGroup" , ((IngredientList ) list ).itemGroup ), TextFormatting .LIGHT_GRAY ));
308308 }
@@ -381,9 +381,10 @@ private void renderCatalysts(IRecipeCategory<?> category, int mx, int my, IToolt
381381
382382 GL11 .glEnable (3042 );
383383 GL11 .glColor4f (1.0F , 1.0F , 1.0F , 1.0F );
384- this .mc .textureManager .loadTexture ("/assets/tmb/textures/gui/gui_vanilla.png" ).bind ();
385384
386385 for (int i = 0 ; i < catalysts .size (); i ++) {
386+ this .mc .textureManager .loadTexture ("/assets/tmb/textures/gui/gui_vanilla.png" ).bind ();
387+
387388 ITypedIngredient <Object > ingredient = (ITypedIngredient <Object >) catalysts .get (i );
388389 int x = ((this .width - this .xSize ) / 2 ) - 20 ;
389390 int y = ((this .height - this .ySize ) / 2 ) + (4 + (22 * i ));
0 commit comments