mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-14 01:14:07 +00:00
* Update build script * Update build script to import fix for shadow in dev and sources artifacts * Update fixed build script to shadow csv dependency in dev jar as well * Moved jitpack * Move new files
22 lines
633 B
Java
22 lines
633 B
Java
package codechicken.nei.recipe;
|
|
|
|
import codechicken.nei.PositionedStack;
|
|
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
import net.minecraft.inventory.Slot;
|
|
|
|
import java.util.List;
|
|
|
|
public class BrewingOverlayHandler extends DefaultOverlayHandler
|
|
{
|
|
@Override
|
|
public Slot[][] mapIngredSlots(GuiContainer gui, List<PositionedStack> ingredients)
|
|
{
|
|
Slot[][] map = super.mapIngredSlots(gui, ingredients);
|
|
Slot[] potSlots = new Slot[3];
|
|
for(int i = 0; i < 3; i++)
|
|
potSlots[i] = (Slot) gui.inventorySlots.inventorySlots.get(i);
|
|
map[1] = potSlots;
|
|
return map;
|
|
}
|
|
}
|