https://github.com/apple502j/updateblockentity
Fixes a bug that deletes modded block entities
https://github.com/apple502j/updateblockentity
Last synced: 2 months ago
JSON representation
Fixes a bug that deletes modded block entities
- Host: GitHub
- URL: https://github.com/apple502j/updateblockentity
- Owner: apple502j
- License: apache-2.0
- Created: 2021-11-23T06:40:17.000Z (over 3 years ago)
- Default Branch: 1.18
- Last Pushed: 2021-12-08T08:03:11.000Z (over 3 years ago)
- Last Synced: 2025-03-16T23:42:06.629Z (2 months ago)
- Language: Java
- Size: 84 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# UpdateBlockEntity (Experimental)
Fixes [the bug](https://bugs.mojang.com/browse/MC-241670) that blocks chunks with modded block entities from being updated properly. **This is an experimental mod. Remember to back up worlds before opening, it can corrupt the world!**Supports 1.18 release. Licensed under Apache 2.0.
## How does this work?
This mod works by:1. updating worlds to data version 2841 (before the NBT changes).
2. copying the block entity NBTs to temporary tag.
3. updating worlds to the latest version from version 2841. This will cause ALL block entity NBTs to vanish if the chunk contained any modded block entities - including vanilla ones.
4. running datafiers manually to each block entity.
5. copying the block entity NBTs back to the intended location.