aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/api/interfaces
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-12-30 23:19:38 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-12-30 23:19:38 +0000
commit3a9f2400d30a319990e2ec792fef963cb2f1d3df (patch)
tree8fb5f7b1d462589cf8a502180ab317f596e77c66 /src/Java/gtPlusPlus/api/interfaces
parenta3777ddeab2cce237cf9a4a3891483c3aaf08d3d (diff)
downloadGT5-Unofficial-3a9f2400d30a319990e2ec792fef963cb2f1d3df.tar.gz
GT5-Unofficial-3a9f2400d30a319990e2ec792fef963cb2f1d3df.tar.bz2
GT5-Unofficial-3a9f2400d30a319990e2ec792fef963cb2f1d3df.zip
+ Added a Debug command for GT++ Chunkloading capabilities.
% Retiered Chunkloaders. $ Potentially Fixed Chunkloaders. Thanks to @Repo-alt if such is the case.
Diffstat (limited to 'src/Java/gtPlusPlus/api/interfaces')
-rw-r--r--src/Java/gtPlusPlus/api/interfaces/IChunkLoader.java33
-rw-r--r--src/Java/gtPlusPlus/api/interfaces/IChunkLoaderTile.java10
2 files changed, 33 insertions, 10 deletions
diff --git a/src/Java/gtPlusPlus/api/interfaces/IChunkLoader.java b/src/Java/gtPlusPlus/api/interfaces/IChunkLoader.java
new file mode 100644
index 0000000000..c04e25f570
--- /dev/null
+++ b/src/Java/gtPlusPlus/api/interfaces/IChunkLoader.java
@@ -0,0 +1,33 @@
+package gtPlusPlus.api.interfaces;
+
+import java.util.Set;
+
+import net.minecraft.world.ChunkCoordIntPair;
+
+public interface IChunkLoader {
+
+ public long getTicksRemaining();
+
+ public void setTicksRemaining(long aTicks);
+
+ public ChunkCoordIntPair getResidingChunk();
+
+ public void setResidingChunk(ChunkCoordIntPair aCurrentChunk);
+
+ public boolean getChunkLoadingActive();
+
+ public void setChunkLoadingActive(boolean aActive);
+
+ public boolean getDoesWorkChunkNeedReload();
+
+ public void setDoesWorkChunkNeedReload(boolean aActive);
+
+ public boolean addChunkToLoadedList(ChunkCoordIntPair aActiveChunk);
+
+ public boolean removeChunkFromLoadedList(ChunkCoordIntPair aActiveChunk);
+
+ public Set<ChunkCoordIntPair> getManagedChunks();
+
+ public int getChunkloaderTier();
+
+}
diff --git a/src/Java/gtPlusPlus/api/interfaces/IChunkLoaderTile.java b/src/Java/gtPlusPlus/api/interfaces/IChunkLoaderTile.java
deleted file mode 100644
index 16152668fc..0000000000
--- a/src/Java/gtPlusPlus/api/interfaces/IChunkLoaderTile.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package gtPlusPlus.api.interfaces;
-
-import net.minecraft.inventory.IInventory;
-import net.minecraft.world.chunk.storage.IChunkLoader;
-
-public interface IChunkLoaderTile extends IInventory, IChunkLoader{
-
- long getTicksRemaining();
-
-}