mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-22 02:25:48 +01:00
Updated Chunks managment (markdown)
parent
27b4a6065b
commit
3a11148318
@ -9,4 +9,10 @@ When trying to load a chunk, the instance container does multiple checks in this
|
||||
When trying to save a chunk, [IChunkLoader#saveChunk](https://github.com/Minestom/Minestom/blob/master/src/main/java/net/minestom/server/instance/IChunkLoader.java#L30) is called
|
||||
|
||||
# Default behavior
|
||||
[BasicChunkLoader](https://github.com/Minestom/Minestom/blob/master/src/main/java/net/minestom/server/instance/MinestomBasicChunkLoader.java) is the default chunk loader used by all InstanceContainer, it does make use of the StorageLocation of the instance (WARNING: will not work if the storage location is null)
|
||||
[BasicChunkLoader](https://github.com/Minestom/Minestom/blob/master/src/main/java/net/minestom/server/instance/MinestomBasicChunkLoader.java) is the default chunk loader used by all InstanceContainer, it does make use of the StorageLocation of the instance (WARNING: will not work if the storage location is null)
|
||||
|
||||
# I still cannot join the instance
|
||||
Even if your instance is able to load chunks it doesn't mean that it will do so automatically. However, you can configure it to load them if itself.
|
||||
```java
|
||||
instanceContainer.enableAutoChunkLoad(true);
|
||||
```
|
Loading…
Reference in New Issue
Block a user