An open API service indexing awesome lists of open source software.

https://github.com/2mal3/chunk-loader

Adds a chunk loader to the game that allows you to permanently load chunks.
https://github.com/2mal3/chunk-loader

datapack mc-build mcfunction minecraft

Last synced: 2 months ago
JSON representation

Adds a chunk loader to the game that allows you to permanently load chunks.

Awesome Lists containing this project

README

        

# Chunk Loader

![GitHub release (latest by date)](https://img.shields.io/github/v/release/2mal3/Chunk-Loader?style=flat-square) ![GitHub all releases](https://img.shields.io/github/downloads/2mal3/Chunk-Loader/total?style=flat-square) ![Minecraft](https://img.shields.io/badge/Minecraft-1.21-orange?style=flat-square)

With Chunk Loader Datapack the Chunk Loader is added to the game. With it - surprise - you can permanently load chunks.
This means that you can be anywhere in the world, while the chunk in which the Chunk Loader is placed is still loaded.

In order for the Chunk Loader to load the chunk, it needs 3 Redstone Dust per minute. To fill, simply right-click and place it inside. As soon as there is no more Redstone dust inside, the chunk loader stops working and the chunk will be unloaded until new Redstone dust is added.

### Crafting recipe

![Crafting Picture](https://github.com/2mal3/Chunk-Loader/blob/master/images/crafting.jpg)

### Settings

- deactivate fuel consumption: `/scoreboard players set $require_fuel chlo.data 0`
- deactivate ambient sound: `/scoreboard players set $sound chlo.data 0`
- change fuel consumption speed: `/scoreboard players set $fuel_time chlo.data

## Chunk loading

Because of technical reasons, the Chunk Loader loads the chunks as the following. (every box is a chunk)
| . | . | . |. | . |
| --- | --- | --- | --- | --- |
| . | TI | TI | TI | . |
| . | TI | ET | TI | . |
| . | TI | TI | TI | . |
| . | . | . | . | . |

- `.`: Not loaded, but mobs count for the mob cap
- `TI`: Normal except plant growth, mob spawning and mob ticking (movement)
- `ET`: Normal except plant growth and mob spawning

_Additional info: https://gist.github.com/Drovolon/24bfaae00d57e7a8ca64b792e14fa7c6_

## Technical Notes

- **ONLY** the latest version of the datapack for Fabric and Vanilla 1.21.1 is supported
- bug reports and suggestions are **ONLY** accepted on [GitHub](https://github.com/2mal3/Chunk-Loader-Datapack/issues)
- the Chunk Loader can also be obtained with the command `/loot give @s loot chlo:chunk_loader`
- there could be problems with other datapacks that forceload many chunks themselves
- to uninstall run the command `/function chlo:core/uninstall`
- datapack was created with the help of [beet](https://github.com/mcbeet/beet)