mirror of
https://github.com/GTNewHorizons/WirelessCraftingTerminal.git
synced 2026-11-26 06:42:55 +00:00
Compare commits
3
Commits
master
...
1.11.8-pre
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
12a108ba9e | ||
|
|
25300d4e03 | ||
|
|
3f65118f1e |
No files matched your search
+4
-4
@@ -1,11 +1,11 @@
|
|||||||
// Add your dependencies here
|
// Add your dependencies here
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-464-GTNH:dev")
|
api("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-533-GTNH:dev")
|
||||||
|
|
||||||
implementation("com.github.GTNewHorizons:Baubles:1.0.4:dev")
|
implementation("com.github.GTNewHorizons:Baubles:1.0.4:dev")
|
||||||
compileOnly("curse.maven:cofh-core-69162:2388751")
|
compileOnly("curse.maven:cofh-core-69162:2388751")
|
||||||
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.6.39-GTNH:dev")
|
compileOnly("com.github.GTNewHorizons:NotEnoughItems:2.7.27-GTNH:dev")
|
||||||
compileOnly("com.github.GTNewHorizons:MouseTweaks:2.4.17-GTNH:dev") { transitive = false }
|
compileOnly("com.github.GTNewHorizons:MouseTweaks:2.4.20-GTNH:dev") { transitive = false }
|
||||||
compileOnly("com.github.GTNewHorizons:EnderIO:2.8.18:dev") { transitive = false }
|
compileOnly("com.github.GTNewHorizons:EnderIO:2.9.2:dev") { transitive = false }
|
||||||
}
|
}
|
||||||
Vendored
BIN
Binary file not shown.
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.27'
|
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.31'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
+14
-1
@@ -37,6 +37,7 @@ import appeng.api.config.TerminalFontSize;
|
|||||||
import appeng.api.config.TerminalStyle;
|
import appeng.api.config.TerminalStyle;
|
||||||
import appeng.api.config.YesNo;
|
import appeng.api.config.YesNo;
|
||||||
import appeng.api.storage.data.IAEItemStack;
|
import appeng.api.storage.data.IAEItemStack;
|
||||||
|
import appeng.api.storage.data.IDisplayRepo;
|
||||||
import appeng.api.util.IConfigManager;
|
import appeng.api.util.IConfigManager;
|
||||||
import appeng.api.util.IConfigurableObject;
|
import appeng.api.util.IConfigurableObject;
|
||||||
import appeng.client.ActionKey;
|
import appeng.client.ActionKey;
|
||||||
@@ -88,7 +89,7 @@ public class GuiWirelessCraftingTerminal extends AEBaseGui
|
|||||||
public static int craftingGridOffsetX = 80;
|
public static int craftingGridOffsetX = 80;
|
||||||
public static int craftingGridOffsetY;
|
public static int craftingGridOffsetY;
|
||||||
private static String memoryText = "";
|
private static String memoryText = "";
|
||||||
private final ItemRepo repo;
|
private final IDisplayRepo repo;
|
||||||
private final int offsetX = 8;
|
private final int offsetX = 8;
|
||||||
private final IConfigManager configSrc;
|
private final IConfigManager configSrc;
|
||||||
private GuiTabButton craftingStatusBtn;
|
private GuiTabButton craftingStatusBtn;
|
||||||
@@ -654,6 +655,18 @@ public class GuiWirelessCraftingTerminal extends AEBaseGui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void handleKeyboardInput() {
|
||||||
|
super.handleKeyboardInput();
|
||||||
|
|
||||||
|
// Pause the terminal when holding shift
|
||||||
|
this.repo.setPaused(hasShiftDown());
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean hasShiftDown() {
|
||||||
|
return Keyboard.isKeyDown(Keyboard.KEY_LSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_RSHIFT);
|
||||||
|
}
|
||||||
|
|
||||||
protected boolean isPowered() {
|
protected boolean isPowered() {
|
||||||
return this.repo.hasPower();
|
return this.repo.hasPower();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user