mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 10:34:40 +00:00
fix crafting terminal
This commit is contained in:
1 parent
e8e27d421a
commit
2632a9b1cd
6 files changed
+112
-70
No files matched your search
@@ -346,48 +346,28 @@ public abstract class FCGuiMonitor<T extends IAEStack<T>> extends AEBaseMEGui
|
||||
if (drawSwitchGuiBtn) drawSwitchGuiBtns();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private void drawSwitchGuiBtns() {
|
||||
if (!(this instanceof GuiFluidCraftingWireless)) {
|
||||
this.buttonList.add(
|
||||
this.CraftingTerminal = new GuiFCImgButton(
|
||||
this.guiLeft - 18,
|
||||
this.offsetY,
|
||||
"CRAFT_TEM",
|
||||
"YES",
|
||||
false));
|
||||
this.CraftingTerminal = new GuiFCImgButton(this.guiLeft - 18, this.offsetY, "CRAFT_TEM", "YES"));
|
||||
this.offsetY += 20;
|
||||
}
|
||||
if (!(this instanceof GuiFluidPatternWireless)) {
|
||||
this.buttonList.add(
|
||||
this.PatternTerminal = new GuiFCImgButton(
|
||||
this.guiLeft - 18,
|
||||
this.offsetY,
|
||||
"PATTERN_TEM",
|
||||
"YES",
|
||||
false));
|
||||
this.PatternTerminal = new GuiFCImgButton(this.guiLeft - 18, this.offsetY, "PATTERN_TEM", "YES"));
|
||||
this.offsetY += 20;
|
||||
}
|
||||
if (!(this instanceof GuiFluidPortableCell)) {
|
||||
this.buttonList.add(
|
||||
this.FluidTerminal = new GuiFCImgButton(
|
||||
this.guiLeft - 18,
|
||||
this.offsetY,
|
||||
"FLUID_TEM",
|
||||
"YES",
|
||||
false));
|
||||
this.buttonList
|
||||
.add(this.FluidTerminal = new GuiFCImgButton(this.guiLeft - 18, this.offsetY, "FLUID_TEM", "YES"));
|
||||
this.offsetY += 20;
|
||||
}
|
||||
if (ModAndClassUtil.ThE && !(this instanceof GuiEssentiaTerminal)) {
|
||||
this.buttonList.add(
|
||||
this.EssentiaTerminal = new GuiFCImgButton(
|
||||
this.guiLeft - 18,
|
||||
this.offsetY,
|
||||
"ESSENTIA_TEM",
|
||||
"YES",
|
||||
false));
|
||||
this.EssentiaTerminal = new GuiFCImgButton(this.guiLeft - 18, this.offsetY, "ESSENTIA_TEM", "YES"));
|
||||
this.offsetY += 20;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void setSearchString(String memoryText, boolean updateView) {
|
||||
|
||||
Reference in new issue
Block a user