mirror of
https://github.com/GTNewHorizons/ThaumicEnergistics.git
synced 2026-10-25 20:32:27 +00:00
Adapt to AE2 changes (#84)
This commit is contained in:
1 parent
c4a148d5be
commit
5bc849f61c
6 files changed
+19
-20
No files matched your search
+6
-6
@@ -1,20 +1,20 @@
|
||||
// Add your dependencies here
|
||||
|
||||
dependencies {
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.7.29-GTNH:dev")
|
||||
implementation("com.github.GTNewHorizons:NotEnoughItems:2.7.38-GTNH:dev")
|
||||
implementation("com.github.GTNewHorizons:CodeChickenCore:1.4.1:dev")
|
||||
implementation("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-538-GTNH:dev")
|
||||
implementation("com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-584-GTNH:dev")
|
||||
implementation("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev")
|
||||
implementation("curse.maven:thaumcraft-nei-plugin-225095:2241913") { transitive = false }
|
||||
|
||||
compileOnly('com.github.GTNewHorizons:ExtraCells2:2.5.35:dev') { transitive = false }
|
||||
compileOnly('com.github.GTNewHorizons:AE2FluidCraft-Rework:1.4.28-gtnh:dev') { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:waila:1.8.2:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.121:dev") { transitive = false }
|
||||
compileOnly('com.github.GTNewHorizons:AE2FluidCraft-Rework:1.4.46-gtnh:dev') { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:waila:1.8.4:dev") { transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.51.240:dev") { transitive = false }
|
||||
compileOnly("curse.maven:computercraft-67504:2269339") { transitive = false }
|
||||
compileOnly("curse.maven:cofh-lib-220333:2388748") { transitive = false }
|
||||
compileOnly("net.industrial-craft:industrialcraft-2:2.2.828-experimental:dev") { transitive = false }
|
||||
|
||||
runtimeOnlyNonPublishable('com.github.GTNewHorizons:GTNHLib:0.6.10:dev')
|
||||
runtimeOnlyNonPublishable('com.github.GTNewHorizons:GTNHLib:0.6.19:dev')
|
||||
runtimeOnly("com.github.GTNewHorizons:Baubles:1.0.4:dev")
|
||||
}
|
||||
+1
-1
@@ -14,7 +14,7 @@ modId = thaumicenergistics
|
||||
modGroup = thaumicenergistics
|
||||
|
||||
# Whether to use modGroup as the maven publishing group.
|
||||
# Due to a history of using JitPack, the default is com.github.GTNewHorizons for all mods.
|
||||
# When false, com.github.GTNewHorizons is used.
|
||||
useModGroupForPublishing = false
|
||||
|
||||
# Updates your build.gradle and settings.gradle automatically whenever an update is available.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
||||
networkTimeout=10000
|
||||
validateDistributionUrl=true
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
|
||||
+3
-1
@@ -1,3 +1,5 @@
|
||||
// Add any additional repositories for your dependencies here
|
||||
|
||||
repositories {}
|
||||
repositories {
|
||||
mavenLocal()
|
||||
}
|
||||
@@ -51,17 +51,8 @@ public class GuiCraftAmountBridge extends GuiCraftAmount {
|
||||
if (btn == this.buttonReturnToTerminalHost) {
|
||||
// Change back to host GUI
|
||||
this.host.launchGUI(this.player);
|
||||
} else if (btn == this.nextBtn) {
|
||||
try {
|
||||
// Parse the amount
|
||||
long amount = Long.parseLong(this.amountTextField.getText());
|
||||
|
||||
// Ask server to show confirm gui
|
||||
Packet_S_ConfirmCraftingJob.sendConfirmAutoCraft(this.player, amount, isShiftKeyDown());
|
||||
} catch (final NumberFormatException e) {
|
||||
// Reset amount to 1
|
||||
this.amountTextField.setText("1");
|
||||
}
|
||||
} else if (btn == this.nextBtn && btn.enabled) {
|
||||
Packet_S_ConfirmCraftingJob.sendConfirmAutoCraft(this.player, this.getAmountLong(), isShiftKeyDown());
|
||||
} else {
|
||||
// Call super
|
||||
super.actionPerformed(btn);
|
||||
|
||||
@@ -90,6 +90,12 @@ public class HandlerWirelessEssentiaTerminal extends WirelessAELink
|
||||
@Override
|
||||
public void setHasInfiniteStore(boolean b) {}
|
||||
|
||||
@Override
|
||||
public boolean getHasInfiniteStore() {
|
||||
// Ignored
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public double getEnergyDemand(final double d, final Set<IEnergyGrid> seen) {
|
||||
// Ignored
|
||||
|
||||
Reference in new issue
Block a user