Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muqsit/worldheighthack
Infinite world height in PocketMine!
https://github.com/muqsit/worldheighthack
Last synced: 23 days ago
JSON representation
Infinite world height in PocketMine!
- Host: GitHub
- URL: https://github.com/muqsit/worldheighthack
- Owner: Muqsit
- Created: 2020-02-12T01:50:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-12T13:53:39.000Z (almost 3 years ago)
- Last Synced: 2024-10-10T17:18:13.654Z (about 1 month ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 10
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WorldHeightHack
A plugin that stacks worlds to create an infinite height effect (https://forums.pocketmine.net/threads/exceeding-128-block-limit-height.16456/ 👀).# How It Works
The world starts from bedrock level (world: `world`, worldY: `0`) and can go as high as possible (world: `world.n`, worldY: `n`). Currently there's a hard-limit of 4 but can easily be modified.
4 subchunks (64 blocks) from the top (i.e from y=(256-64) to y=256) are used to synchronize the chunks from the world above to smoothen the transition effect when moving from one world to another.
Similarly, 4 subchunks from the bottom are used to synchronize subchunks from the world below.
So you are left with 8 subchunks (128 blocks) of modifyable space in each world (except the first and the last worlds — they'll have 4 extra subchunks of modifyable space as there's either no world above or below).