aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--dependencies.gradle12
-rw-r--r--gradle.properties3
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/API/ITileWithGUI.java54
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/API/modularUI/BW_UITextures.java56
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/GuiHandler.java41
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/client/gui/BW_GUIContainer_HeatedWaterPump.java65
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/client/gui/BW_GUIContainer_RadLevel.java60
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/client/gui/BW_GUIContainer_Windmill.java82
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/client/gui/GT_GUIContainer_CircuitProgrammer.java51
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/client/gui/GT_GUIContainer_Destructopack.java53
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/client/gui/GT_GUIContainer_LESU.java121
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/client/gui/GT_GUIContainer_RadioHatch.java101
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/blocks/BW_TileEntityContainer.java10
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/blocks/BW_TileEntityContainer_Multiple.java9
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/items/Circuit_Programmer.java115
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/items/GT_Destructopack_Item.java37
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/classic/BW_TileEntity_HeatedWaterPump.java43
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/classic/BW_TileEntity_InfinityTank.java8
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/classic/BW_TileEntity_LESU_Redux.java8
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_DEHP.java8
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_LESU.java123
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/GT_TileEntity_Windmill.java104
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaBlastFurnace.java8
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaChemicalReactor.java8
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaDistillTower.java8
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaOilCracker.java8
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/multis/mega/GT_TileEntity_MegaVacuumFreezer.java8
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/tiered/GT_MetaTileEntity_RadioHatch.java204
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/neiHandler/BW_NEI_BioVatHandler.java2
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/neiHandler/BW_NEI_RadHatchHandler.java9
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/server/container/BW_Container_HeatedWaterPump.java195
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/server/container/BW_Container_RadioHatch.java207
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/server/container/BW_Container_Windmill.java39
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/server/container/GT_Container_CircuitProgrammer.java255
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/server/container/GT_Container_Item_Destructopack.java66
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/server/container/GT_Container_LESU.java56
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/server/container/GT_Container_RadioHatch.java156
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/server/container/Slots/BW_DelSlot.java39
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/server/container/Slots/BW_FuelSlot.java39
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/util/BWRecipes.java155
-rw-r--r--src/main/java/com/github/bartimaeusnek/crossmod/openComputers/TileEntity_GTDataServer.java8
-rw-r--r--src/main/resources/assets/bartworks/textures/GT2/gui/Destructopack.pngbin908 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GT2/gui/LESU.pngbin1158 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/GUI_CircuitP.pngbin1466 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/GUI_RSC.pngbin1340 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/GUI_Windmill.pngbin4857 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/GUIheatedPump.pngbin763 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/RadHatch.pngbin1214 -> 0 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/background/brown.pngbin0 -> 438 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/background/circuit_programmer.pngbin0 -> 994 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/overlay_slot/cross.pngbin0 -> 169 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/overlay_slot/dish.pngbin0 -> 202 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/overlay_slot/dna_flask.pngbin0 -> 170 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/overlay_slot/module.pngbin0 -> 196 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/overlay_slot/rod.pngbin0 -> 261 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/bw_logo_47x21.pngbin0 -> 215 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/decay_time_container.pngbin0 -> 240 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/decay_time_inside.pngbin0 -> 146 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/radiation.pngbin0 -> 243 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/radiation_shutter_frame.pngbin0 -> 156 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/radiation_shutter_inside.pngbin0 -> 133 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/sievert_container.pngbin0 -> 230 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/stored_eu_frame.pngbin0 -> 132 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/windmill_empty.pngbin0 -> 435 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/picture/windmill_rotating.pngbin0 -> 1002 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/progressbar/fuel.pngbin0 -> 236 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/progressbar/sievert.pngbin0 -> 249 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/progressbar/stored_eu_116.pngbin0 -> 145 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/slot/brown.pngbin0 -> 109 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/tab/title_angular_brown.pngbin0 -> 130 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/tab/title_brown.pngbin0 -> 154 bytes
-rw-r--r--src/main/resources/assets/bartworks/textures/GUI/tab/title_dark_brown.pngbin0 -> 150 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/gui/basicmachines/BW.GUI.BioLab.pngbin2000 -> 0 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/gui/basicmachines/BW.GUI.Radioactive.pngbin2899 -> 0 bytes
75 files changed, 739 insertions, 1896 deletions
diff --git a/.gitignore b/.gitignore
index 40fb5e4a7d..5fcf044de6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ whitelist.json
*.iws
src/main/resources/mixins.*.json
*.bat
+.vscode/ \ No newline at end of file
diff --git a/dependencies.gradle b/dependencies.gradle
index 055cd143d2..bf9bf42c0a 100644
--- a/dependencies.gradle
+++ b/dependencies.gradle
@@ -1,14 +1,18 @@
// Add your dependencies here
dependencies {
- compile("com.github.GTNewHorizons:GT5-Unofficial:5.09.41.99:dev")
+ compile("com.github.GTNewHorizons:GT5-Unofficial:5.09.41.148:dev")
compile("com.github.GTNewHorizons:StructureLib:1.2.0-beta.2:dev")
- compile("com.github.GTNewHorizons:TecTech:5.0.42:dev")
- compile("com.github.GTNewHorizons:NotEnoughItems:2.3.7-GTNH:dev")
+ compile("com.github.GTNewHorizons:TecTech:5.0.52:dev")
+ compile("com.github.GTNewHorizons:NotEnoughItems:2.3.14-GTNH:dev")
compile("com.github.GTNewHorizons:TinkersConstruct:1.9.4-GTNH:dev")
compile("com.github.GTNewHorizons:CodeChickenLib:1.1.5.5:dev")
compile("com.github.GTNewHorizons:CodeChickenCore:1.1.6:dev")
- compile("com.github.GTNewHorizons:Galacticraft:3.0.44-GTNH:dev")
+ compile("com.github.GTNewHorizons:Galacticraft:3.0.47-GTNH:dev") {
+ exclude group:"com.github.GTNewHorizons", module:"SpongePoweredMixin"
+ exclude group:"com.github.GTNewHorizons", module:"SpongeMixins"
+ }
+ compile("com.github.GTNewHorizons:ModularUI:1.0.23:dev")
compile("com.github.GTNewHorizons:GalacticGregGT5:1.0.8:dev") {
exclude group:"com.github.GTNewHorizons", module:"bartworks"
}
diff --git a/gradle.properties b/gradle.properties
index 0773d1e210..973bce915d 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -55,6 +55,9 @@ coreModClass = ASM.BWCorePlugin
# that is annotated with @Mod) you want this to be true. When in doubt: leave it on false!
containsMixinsAndOrCoreModOnly = false
+# Enables Mixins even if this mod doesn't use them, useful if one of the dependencies uses mixins.
+forceEnableMixins = true
+
# If enabled, you may use 'shadowImplementation' for dependencies. They will be integrated in your jar. It is your
# responsibility check the licence and request permission for distribution, if required.
usesShadowedDependencies = false
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/API/ITileWithGUI.java b/src/main/java/com/github/bartimaeusnek/bartworks/API/ITileWithGUI.java
deleted file mode 100644
index 38b762fa9a..0000000000
--- a/src/main/java/com/github/bartimaeusnek/bartworks/API/ITileWithGUI.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2018-2020 bartimaeusnek
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-package com.github.bartimaeusnek.bartworks.API;
-
-import com.github.bartimaeusnek.bartworks.MainMod;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.tileentity.TileEntity;
-
-public interface ITileWithGUI {
-
- /**
- * @return the ID of the GUI, see @link com.github.bartimaeusnek.bartworks.GuiHandler
- */
- int getGUIID();
-
- /**
- * gets called from BW_TileEntityContainer(or _Multiple) when right clicked.
- *
- * @param tileEntity this tile entity
- * @param player the player right clicking it
- * @return true always.
- */
- default boolean openGUI(TileEntity tileEntity, EntityPlayer player) {
- if (!tileEntity.getWorldObj().isRemote)
- player.openGui(
- MainMod.MOD_ID,
- getGUIID(),
- tileEntity.getWorldObj(),
- tileEntity.xCoord,
- tileEntity.yCoord,
- tileEntity.zCoord);
- return true;
- }
-}
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/API/modularUI/BW_UITextures.java b/src/main/java/com/github/bartimaeusnek/bartworks/API/modularUI/BW_UITextures.java
new file mode 100644
index 0000000000..86d9d2c0b8
--- /dev/null
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/API/modularUI/BW_UITextures.java
@@ -0,0 +1,56 @@
+package com.github.bartimaeusnek.bartworks.API.modularUI;
+
+import static com.github.bartimaeusnek.bartworks.MainMod.MOD_ID;
+
+import com.gtnewhorizons.modularui.api.drawable.AdaptableUITexture;
+import com.gtnewhorizons.modularui.api.drawable.UITexture;
+import java.util.stream.Collectors;
+import java.util.stream.IntStream;
+
+public class BW_UITextures {
+
+ public static final AdaptableUITexture BACKGROUND_BROWN =
+ AdaptableUITexture.of(MOD_ID, "GUI/background/brown", 176, 166, 3);
+ public static final UITexture BACKGROUND_CIRCUIT_PROGRAMMER =
+ UITexture.fullImage(MOD_ID, "GUI/background/circuit_programmer");
+
+ public static final AdaptableUITexture SLOT_BROWN = AdaptableUITexture.of(MOD_ID, "GUI/slot/brown", 18, 18, 1);
+
+ public static final UITexture OVERLAY_SLOT_DISH = UITexture.fullImage(MOD_ID, "GUI/overlay_slot/dish");
+ public static final UITexture OVERLAY_SLOT_DNA_FLASK = UITexture.fullImage(MOD_ID, "GUI/overlay_slot/dna_flask");
+ public static final UITexture OVERLAY_SLOT_MODULE = UITexture.fullImage(MOD_ID, "GUI/overlay_slot/module");
+ public static final UITexture OVERLAY_SLOT_ROD = UITexture.fullImage(MOD_ID, "GUI/overlay_slot/rod");
+ public static final UITexture OVERLAY_SLOT_CROSS = UITexture.fullImage(MOD_ID, "GUI/overlay_slot/cross");
+
+ public static final UITexture PROGRESSBAR_SIEVERT = UITexture.fullImage(MOD_ID, "GUI/progressbar/sievert");
+ public static final UITexture PROGRESSBAR_STORED_EU_116 =
+ UITexture.fullImage(MOD_ID, "GUI/progressbar/stored_eu_116");
+ public static final UITexture PROGRESSBAR_FUEL = UITexture.fullImage(MOD_ID, "GUI/progressbar/fuel");
+
+ public static final UITexture PICTURE_BW_LOGO_47X21 = UITexture.fullImage(MOD_ID, "GUI/picture/bw_logo_47x21");
+ public static final UITexture PICTURE_SIEVERT_CONTAINER =
+ UITexture.fullImage(MOD_ID, "GUI/picture/sievert_container");
+ public static final UITexture PICTURE_DECAY_TIME_CONTAINER =
+ UITexture.fullImage(MOD_ID, "GUI/picture/decay_time_container");
+ public static final UITexture PICTURE_DECAY_TIME_INSIDE =
+ UITexture.fullImage(MOD_ID, "GUI/picture/decay_time_inside");
+ public static final UITexture PICTURE_RADIATION = UITexture.fullImage(MOD_ID, "GUI/picture/radiation");
+ public static final UITexture PICTURE_WINDMILL_EMPTY = UITexture.fullImage(MOD_ID, "GUI/picture/windmill_empty");
+ public static final UITexture[] PICTURE_WINDMILL_ROTATING = IntStream.range(0, 4)
+ .mapToObj(i ->
+ UITexture.partly(MOD_ID, "GUI/picture/windmill_rotating", 32, 128, 0, i * 32, 32, (i + 1) * 32))
+ .collect(Collectors.toList())
+ .toArray(new UITexture[0]);
+ public static final UITexture PICTURE_STORED_EU_FRAME = UITexture.fullImage(MOD_ID, "GUI/picture/stored_eu_frame");
+ public static final UITexture PICTURE_RADIATION_SHUTTER_FRAME =
+ UITexture.fullImage(MOD_ID, "GUI/picture/radiation_shutter_frame");
+ public static final AdaptableUITexture PICTURE_RADIATION_SHUTTER_INSIDE =
+ AdaptableUITexture.of(MOD_ID, "GUI/picture/radiation_shutter_inside", 51, 48, 1);
+
+ public static final AdaptableUITexture TAB_TITLE_BROWN =
+ AdaptableUITexture.of(MOD_ID, "GUI/tab/title_brown", 28, 28, 4);
+ public static final AdaptableUITexture TAB_TITLE_DARK_BROWN =
+ AdaptableUITexture.of(MOD_ID, "GUI/tab/title_dark_brown", 28, 28, 4);
+ public static final AdaptableUITexture TAB_TITLE_ANGULAR_BROWN =
+ AdaptableUITexture.of(MOD_ID, "GUI/tab/title_angular_brown", 28, 28, 4);
+}
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/GuiHandler.java b/src/main/java/com/github/bartimaeusnek/bartworks/GuiHandler.java
index d074e32c53..28dbaf5250 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/GuiHandler.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/GuiHandler.java
@@ -23,17 +23,7 @@
package com.github.bartimaeusnek.bartworks;
import com.github.bartimaeusnek.bartworks.API.SideReference;
-import com.github.bartimaeusnek.bartworks.client.gui.BW_GUIContainer_HeatedWaterPump;
-import com.github.bartimaeusnek.bartworks.client.gui.BW_GUIContainer_RadLevel;
-import com.github.bartimaeusnek.bartworks.client.gui.GT_GUIContainer_CircuitProgrammer;
-import com.github.bartimaeusnek.bartworks.client.gui.GT_GUIContainer_Destructopack;
-import com.github.bartimaeusnek.bartworks.common.tileentities.classic.BW_TileEntity_HeatedWaterPump;
-import com.github.bartimaeusnek.bartworks.server.container.BW_Container_HeatedWaterPump;
-import com.github.bartimaeusnek.bartworks.server.container.BW_Container_RadioHatch;
-import com.github.bartimaeusnek.bartworks.server.container.GT_Container_CircuitProgrammer;
-import com.github.bartimaeusnek.bartworks.server.container.GT_Container_Item_Destructopack;
import cpw.mods.fml.common.network.IGuiHandler;
-import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
@@ -41,43 +31,12 @@ public class GuiHandler implements IGuiHandler {
@Override
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
- switch (ID) {
- case 0:
- return new GT_Container_Item_Destructopack(player.inventory);
- case 1:
- return new GT_Container_CircuitProgrammer(player.inventory);
- case 2: {
- if (world.getTileEntity(x, y, z) instanceof IGregTechTileEntity) {
- IGregTechTileEntity te = (IGregTechTileEntity) world.getTileEntity(x, y, z);
- return new BW_Container_RadioHatch(player.inventory, te.getMetaTileEntity());
- }
- }
- case 3:
- return new BW_Container_HeatedWaterPump(
- (BW_TileEntity_HeatedWaterPump) world.getTileEntity(x, y, z), player);
- }
return null;
}
@Override
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
if (SideReference.Side.Client) {
- switch (ID) {
- case 0:
- return new GT_GUIContainer_Destructopack(player.inventory);
- case 1:
- return new GT_GUIContainer_CircuitProgrammer(player.inventory);
- case 2: {
- if (world.getTileEntity(x, y, z) instanceof IGregTechTileEntity) {
- IGregTechTileEntity te = (IGregTechTileEntity) world.getTileEntity(x, y, z);
- return new BW_GUIContainer_RadLevel(
- new BW_Container_RadioHatch(player.inventory, te.getMetaTileEntity()));
- }
- }
- case 3:
- return new BW_GUIContainer_HeatedWaterPump(new BW_Container_HeatedWaterPump(
- (BW_TileEntity_HeatedWaterPump) world.getTileEntity(x, y, z), player));
- }
} else return getServerGuiElement(ID, player, world, x, y, z);
return null;
}
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/client/gui/BW_GUIContainer_HeatedWaterPump.java b/src/main/java/com/github/bartimaeusnek/bartworks/client/gui/BW_GUIContainer_HeatedWaterPump.java
deleted file mode 100644
index d92ed0012f..0000000000
--- a/src/main/java/com/github/bartimaeusnek/bartworks/client/gui/BW_GUIContainer_HeatedWaterPump.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) 2018-2020 bartimaeusnek
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-package com.github.bartimaeusnek.bartworks.client.gui;
-
-import com.github.bartimaeusnek.bartworks.MainMod;
-import com.github.bartimaeusnek.bartworks.server.container.BW_Container_HeatedWaterPump;
-import net.minecraft.client.gui.inventory.GuiContainer;
-import net.minecraft.inventory.Container;
-import net.minecraft.util.ResourceLocation;
-import org.lwjgl.opengl.GL11;
-
-public class BW_GUIContainer_HeatedWaterPump extends GuiContainer {
- private static final ResourceLocation furnaceGuiTextures =
- new ResourceLocation(MainMod.MOD_ID + ":textures/GUI/GUIheatedPump.png");
- final BW_Container_HeatedWaterPump container;
-
- public BW_GUIContainer_HeatedWaterPump(Container p_i1072_1_) {
- super(p_i1072_1_);
- this.container = (BW_Container_HeatedWaterPump) p_i1072_1_;
- }
-
- @Override
- protected void drawGuiContainerBackgroundLayer(float p_146976_1_, int p_146976_2_, int p_146976_3_) {
- GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
- this.mc.getTextureManager().bindTexture(BW_GUIContainer_HeatedWaterPump.furnaceGuiTextures);
- int k = (this.width - this.xSize) / 2;
- int l = (this.height - this.ySize) / 2;
- this.drawTexturedModalRect(k, l, 0, 0, this.xSize, this.ySize);
- // this.drawString(this.fontRendererObj, "Fuel:" + container.fuel + " Water:" + container.water, k, l,
- // 0xffffff);
-
- if (this.container.fuel > 0) {
- this.mc.getTextureManager().bindTexture(BW_GUIContainer_HeatedWaterPump.furnaceGuiTextures);
- int ik = Math.max(this.container.maxfuel, 200);
- int i1 = ((this.container.fuel * 13) / ik);
- this.drawTexturedModalRect(k + 56, l + 36 + 12 - i1, 176, 13 - i1, 14, i1 + 1);
- }
-
- // if (this.container.water > 0){
- // this.mc.getTextureManager().bindTexture( new ResourceLocation("textures/blocks/water_still.png"));
- // this.drawTexturedModalRect(k+85,l+32,32,32,18,18);
- // }
-
- }
-}
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/client/gui/BW_GUIContainer_RadLevel.java b/src/main/java/com/github/bartimaeusnek/bartworks/client/gui/BW_GUIContainer_RadLevel.java
deleted file mode 100644
index 6d234b69dd..0000000000
--- a/src/main/java/com/github/bartimaeusnek/bartworks/client/gui/BW_GUIContainer_RadLevel.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2018-2020 bartimaeusnek
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-package com.github.bartimaeusnek.bartworks.client.gui;
-
-import com.github.bartimaeusnek.bartworks.Mai