mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-23 05:19:49 +00:00
3da14b3bbe
* Replace ore dictionary bus Extra Cells ore dict bus -> export bus w/ ore dict card (retains ore filter setting, not verified they are 1:1) * Add OpenComputer migration Moves migration to postInit, and migrates OC upgrades. * Remap wireless w/ correct encryption key + power Basically now works without needing to relink in security term * Update buildscript * spotless apply * spotlessApply (#125) Co-authored-by: GitHub GTNH Actions <> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
22 lines
685 B
Java
22 lines
685 B
Java
package com.glodblock.github.nei;
|
|
|
|
import net.minecraft.client.gui.inventory.GuiContainer;
|
|
|
|
import com.glodblock.github.client.gui.GuiFluidMonitor;
|
|
import com.glodblock.github.client.gui.GuiItemMonitor;
|
|
|
|
import codechicken.nei.api.INEIGuiAdapter;
|
|
|
|
public class NEIGuiHandler extends INEIGuiAdapter {
|
|
|
|
@Override
|
|
public boolean hideItemPanelSlot(GuiContainer gui, int x, int y, int w, int h) {
|
|
if (gui instanceof GuiItemMonitor) {
|
|
return ((GuiItemMonitor) gui).hideItemPanelSlot(x, y, w, h);
|
|
} else if (gui instanceof GuiFluidMonitor) {
|
|
return ((GuiFluidMonitor) gui).hideItemPanelSlot(x, y, w, h);
|
|
}
|
|
return false;
|
|
}
|
|
}
|