reset_chunk
This commit is contained in:
1 parent
786ae4ae7f
commit
7af08306e4
6 files changed
+134
-21
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package carpet.fakes;
|
||||
|
||||
import com.mojang.datafixers.util.Either;
|
||||
import net.minecraft.server.world.ChunkHolder;
|
||||
import net.minecraft.util.math.ChunkPos;
|
||||
import net.minecraft.util.thread.ThreadExecutor;
|
||||
import net.minecraft.world.chunk.Chunk;
|
||||
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
public interface ChunkHolderInterface
|
||||
{
|
||||
CompletableFuture<Either<Chunk, ChunkHolder.Unloaded>> setDefaultProtoChunk(ChunkPos chpos, ThreadExecutor<Runnable> executor);
|
||||
}
|
||||
@@ -4,7 +4,5 @@ import net.minecraft.util.math.ChunkPos;
|
||||
|
||||
public interface ThreadedAnvilChunkStorageInterface
|
||||
{
|
||||
//boolean isChunkLoaded(ChunkPos chpos);
|
||||
//void forceUnloadChunk(ChunkPos chpos);
|
||||
void regenerateChunk(ChunkPos chpos);
|
||||
}
|
||||
Reference in new issue
Block a user