Compare commits

...
Author SHA1 Message Date
Martin Robertz 8fec3f735a update deps 2025-04-30 19:38:59 +02:00
Martin Robertz 88f819a78e update 2025-04-30 19:24:24 +02:00
Martin Robertz 7fd84009da Merge remote-tracking branch 'lordIcocain/use-ae2-interface-terminal' into dev 2025-04-30 19:23:43 +02:00
lordIcocain 1a67c6ab04 Merge branch 'master' into use-ae2-interface-terminal 2025-04-29 07:10:21 +03:00
lordIcocain e5ec99d062 use ae2 gui 2025-04-29 07:01:47 +03:00
Martin Robertz eeffc6ced3 Merge remote-tracking branch 'lordIcocain/fix-math-for-cell-restriction' into dev 2025-04-21 10:22:24 +02:00
Martin Robertz 64ad32a11d Merge remote-tracking branch 'lordIcocain/interface-terminal-fix' into dev 2025-04-21 10:22:20 +02:00
Martin Robertz 5df88b5df1 Merge branch 'master' into dev 2025-04-21 10:22:16 +02:00
Martin Robertz bd67f35f36 update 2025-04-21 10:21:36 +02:00
lordIcocainandMaya a03db709ba copy of fix interface terminal crash (#285)
Co-authored-by: Maya <[email protected]>
2025-04-21 05:55:27 +00:00
Maya 474295701d Merge branch 'master' into interface-terminal-fix 2025-04-21 00:51:58 -05:00
lordIcocainandMaya 56703bf498 Fix math when cell restricted and new fluid added (#284)
Co-authored-by: Maya <[email protected]>
2025-04-21 05:51:46 +00:00
Maya c8aa35b384 Merge branch 'master' into fix-math-for-cell-restriction 2025-04-21 00:48:20 -05:00
Martin Robertz 8046bc08a0 update 2025-04-20 21:40:47 +02:00
Martin Robertz 5f68e4a08b Merge remote-tracking branch 'lordIcocain/interface-terminal-fix' into dev 2025-04-20 21:35:19 +02:00
Martin Robertz 2c8fb5801e Merge remote-tracking branch 'lordIcocain/fix-math-for-cell-restriction' into dev 2025-04-20 21:35:15 +02:00
lordIcocain b02b659d68 fix 2025-04-20 21:12:47 +03:00
lordIcocain f78951bfea fix 2025-04-20 20:27:04 +03:00
4 changed files with 90 additions and 1397 deletions

No files matched your search

+7 -7
View File
@@ -34,11 +34,11 @@
* For more details, see https://docs.gradle.org/8.0.1/userguide/java_library_plugin.html#sec:java_library_configurations_graph
*/
dependencies {
api('com.github.GTNewHorizons:NotEnoughItems:2.7.38-GTNH:dev')
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-584-GTNH:dev')
api('com.github.GTNewHorizons:NotEnoughItems:2.7.40-GTNH:dev')
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-591-GTNH-pre:dev')
api('curse.maven:cofh-core-69162:2388751')
api('com.github.GTNewHorizons:waila:1.8.4:dev')
api("com.github.GTNewHorizons:GTNHLib:0.6.19:dev")
api("com.github.GTNewHorizons:GTNHLib:0.6.21:dev")
implementation("com.github.GTNewHorizons:WirelessCraftingTerminal:1.12.0:dev") {
exclude group: 'com.github.GTNewHorizons', module: 'Applied-Energistics-2-Unofficial'
@@ -46,9 +46,9 @@ dependencies {
compileOnly('com.github.GTNewHorizons:Baubles-Expanded:2.1.6-GTNH:dev')
compileOnly('com.github.GTNewHorizons:ExtraCells2:2.5.35:dev') { transitive = false }
compileOnly('com.github.GTNewHorizons:ForestryMC:4.10.6:dev')
compileOnly('com.github.GTNewHorizons:EnderIO:2.9.7:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.51.240:dev') {
compileOnly('com.github.GTNewHorizons:ForestryMC:4.10.7:dev')
compileOnly('com.github.GTNewHorizons:EnderIO:2.9.8:dev')
compileOnly('com.github.GTNewHorizons:GT5-Unofficial:5.09.51.261:dev') {
exclude group: 'com.github.GTNewHorizons', module: 'AE2FluidCraft-Rework'
exclude group: 'com.github.GTNewHorizons', module: 'Applied-Energistics-2-Unofficial'
}
@@ -57,7 +57,7 @@ dependencies {
compileOnly('com.gregoriust.gregtech:gregtech_1.7.10:6.14.23:dev') { transitive = false }
compileOnly('com.github.GTNewHorizons:OpenComputers:1.11.13-GTNH:dev') { transitive = false }
compileOnly('com.github.GTNewHorizons:ThaumicEnergistics:1.7.7-GTNH:dev') { transitive = false }
compileOnly("com.github.GTNewHorizons:Hodgepodge:2.6.35:dev") { transitive = false }
compileOnly("com.github.GTNewHorizons:Hodgepodge:2.6.40:dev") { transitive = false }
runtimeOnlyNonPublishable("com.github.GTNewHorizons:DuraDisplay:1.3.4:dev")
}
File diff suppressed because it is too large. Load diff
@@ -14,7 +14,6 @@ import com.glodblock.github.client.gui.GuiFluidCraftingWireless;
import com.glodblock.github.client.gui.GuiFluidPatternExWireless;
import com.glodblock.github.client.gui.GuiFluidPatternWireless;
import com.glodblock.github.client.gui.GuiFluidPortableCell;
import com.glodblock.github.client.gui.GuiInterfaceWireless;
import com.glodblock.github.client.gui.GuiLevelWireless;
import com.glodblock.github.client.gui.container.base.FCBaseContainer;
import com.glodblock.github.common.item.ItemWirelessUltraTerminal;
@@ -162,16 +161,14 @@ public abstract class FCBaseMEGui extends AEBaseMEGui {
this.setOffsetY(this.getOffsetY() + 20);
termBtns.add(this.FluidTerminal);
}
if (!(this instanceof GuiInterfaceWireless)) {
this.buttonList.add(
this.InterfaceTerminal = new GuiFCImgButton(
this.guiLeft - 18,
this.getOffsetY(),
"INTERFACE_TEM",
"YES"));
this.setOffsetY(this.getOffsetY() + 20);
termBtns.add(this.InterfaceTerminal);
}
this.buttonList.add(
this.InterfaceTerminal = new GuiFCImgButton(
this.guiLeft - 18,
this.getOffsetY(),
"INTERFACE_TEM",
"YES"));
this.setOffsetY(this.getOffsetY() + 20);
termBtns.add(this.InterfaceTerminal);
if (!(this instanceof GuiLevelWireless)) {
this.buttonList.add(
this.LevelTerminal = new GuiFCImgButton(this.guiLeft - 18, this.getOffsetY(), "LEVEL_TEM", "YES"));
@@ -397,8 +397,10 @@ public class FluidCellInventory implements IFluidCellInventory {
if (cardDistribution) {
remainingFluidCount = this.getRemainingFluidCountDist(null);
} else {
remainingFluidCount = this.getRemainingFluidCount()
- ((long) this.getBytesPerType() * singleByteAmount);
remainingFluidCount = Math.min(
getRemainingFluidCount(),
getFreeBytes() * singleByteAmount + getUnusedFluidCount()
- (long) getBytesPerType() * singleByteAmount);
}
if (remainingFluidCount > 0) {