diff options
| author | Matej Dipčár <492666@mail.muni.cz> | 2022-09-22 23:35:44 +0200 |
|---|---|---|
| committer | Matej Dipčár <492666@mail.muni.cz> | 2022-09-23 02:15:59 +0200 |
| commit | 6c9bfa90bc569b5526408c81e33985824af1a31c (patch) | |
| tree | 2ce5ac94e895c950793e0b41101bc7a895993f27 /src/main/java/gregtech/common/covers | |
| parent | e6a24cc54979933a0b520a1ff7e284ad6f95bb6e (diff) | |
| download | GT5-Unofficial-6c9bfa90bc569b5526408c81e33985824af1a31c.tar.gz GT5-Unofficial-6c9bfa90bc569b5526408c81e33985824af1a31c.tar.bz2 GT5-Unofficial-6c9bfa90bc569b5526408c81e33985824af1a31c.zip | |
Rename `In`, `Out` to `Internal`, `External`
Diffstat (limited to 'src/main/java/gregtech/common/covers')
| -rw-r--r-- | src/main/java/gregtech/common/covers/GT_Cover_RedstoneWirelessBase.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/gregtech/common/covers/GT_Cover_RedstoneWirelessBase.java b/src/main/java/gregtech/common/covers/GT_Cover_RedstoneWirelessBase.java index a942d39b57..a024400094 100644 --- a/src/main/java/gregtech/common/covers/GT_Cover_RedstoneWirelessBase.java +++ b/src/main/java/gregtech/common/covers/GT_Cover_RedstoneWirelessBase.java @@ -15,6 +15,7 @@ import gregtech.api.util.GT_Utility; import gregtech.api.util.ISerializableObject; import net.minecraft.client.gui.GuiButton; import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.util.ResourceLocation; import net.minecraftforge.fluids.Fluid; public abstract class GT_Cover_RedstoneWirelessBase extends GT_CoverBehavior { @@ -198,10 +199,13 @@ public abstract class GT_Cover_RedstoneWirelessBase extends GT_CoverBehavior { private static final int spaceX = 18; private static final int spaceY = 18; + private static final String guiTexturePath = "gregtech:textures/gui/GuiCoverLong.png"; + private final int textColor = this.getTextColorOrDefault("text", 0xFF555555); public GUI(byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity) { - super(aTileEntity, 176, 107, GT_Utility.intToStack(aCoverID)); + super(aTileEntity, 250, 107, GT_Utility.intToStack(aCoverID)); + this.mGUIbackgroundLocation = new ResourceLocation(guiTexturePath); this.side = aSide; this.coverID = aCoverID; this.coverVariable = aCoverVariable; |
