aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/api/interfaces/IChunkLoader.java
blob: cec4d12716e4bda33e7217bf46fbacb2995c75cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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();
}