Update AE2 dependency and implement required methods

This commit is contained in:
Michael Doyle committed 2025-01-05 14:15:06 -05:00
1 parent 0b67a8a4e7
commit b2a5c95974
2 files changed
+19 -1

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@
*/
dependencies {
api('com.github.GTNewHorizons:NotEnoughItems:2.7.13-GTNH:dev')
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-518-GTNH:dev')
api('com.github.GTNewHorizons:Applied-Energistics-2-Unofficial:rv3-beta-519-GTNH:dev')
api('curse.maven:cofh-core-69162:2388751')
api('com.github.GTNewHorizons:waila:1.8.2:dev')
api("com.github.GTNewHorizons:GTNHLib:0.6.0:dev")
@@ -54,6 +54,7 @@ public class FluidRepo implements IDisplayRepo {
protected IPartitionList<IAEItemStack> myPartitionList;
private String NEIWord = null;
private boolean hasPower;
private boolean paused = false;
public FluidRepo(final IScrollSource src, final ISortSource sortSrc) {
this.src = src;
@@ -245,4 +246,21 @@ public class FluidRepo implements IDisplayRepo {
public void setSearchString(@Nonnull final String searchString) {
this.searchString = searchString;
}
@Override
public boolean isPaused() {
return this.paused;
}
@Override
public void setPaused(boolean paused) {
if (this.paused != paused) {
this.paused = paused;
// Update view when un-paused
if (!paused) {
updateView();
}
}
}
}