-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When loading a world from a schematic like this:
WorldFile file = factory.openWorldFile(BuiltInWorldFileType.SCHEMATIC, Path.of(schematicPath));
file.toWorld(factory, virtualWorld, 0, 100, 0);block data is not loaded correctly.
For example, buttons lose their data: 
The same problem happens with other blocks: diorite is transformed into stone, red carpet into white carpet, etc.
To Reproduce
Steps to reproduce the behavior:
- Load a schematic with
BuiltInWorldFileType.SCHEMATICthat contains blocks with custom data (block states / metadata). - Start the server and check whether these blocks keep their correct data.
Expected behavior
All blocks, including their block data (block states / metadata), should be placed correctly at the right positions.
Server Info (please complete the following information):
- All Limbo plugins versions:
- Limbo API latest version (it happens on "all" versions)
I tried to fix this with Copilot; it correctly patched the issue by editing MCEditSchematicFile and legacyblocks.json. However, I don’t find this solution very clean, as it requires manually adding each ID to the file.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working