Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

litematic files don't load #2700

Open
5 tasks done
spring-dependency-management opened this issue Jan 19, 2025 · 3 comments
Open
5 tasks done

litematic files don't load #2700

spring-dependency-management opened this issue Jan 19, 2025 · 3 comments
Labels
status:pending Pending acceptance or closure. type:feature-request Request for something new

Comments

@spring-dependency-management

WorldEdit Version

7.3.10-beta01

Platform Version

1.21.4 paper

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

Worldedit refuses to load litematic files, saying they don't exist, despite being in the directory

Expected Behavior

Worldedit should load litematic files the same as .schem or .schematic, its a very common format

Reproduction Steps

Place litematic file into schematics directory, try to load it, will say "schematic does not exist!"

Anything Else?

As a workaround does anyone know an easy way to convert litematic to schematic?

@spring-dependency-management spring-dependency-management added status:pending Pending acceptance or closure. type:bug Incorrect behavior, not working as intended labels Jan 19, 2025
@me4502
Copy link
Member

me4502 commented Jan 19, 2025

There's no written objective specification for the Litematic schematic format, so it's not something we can currently support.

We're open to supporting it, but we'd need a spec first so we can actually support it properly.

@me4502 me4502 added type:feature-request Request for something new and removed type:bug Incorrect behavior, not working as intended labels Jan 19, 2025
@spring-dependency-management
Copy link
Author

Just tried lite2edit and it works perfectly, all block data, tile entities etc copy
https://github.com/GoldenDelicios/Lite2Edit

the conversion code is very simple also, depending on how worldedit's code is structured it should be pretty simple to add, I will make a PR if so (we can have a disclaimer message when loading the litematic that it is being converted to schematic and stuff may break)

https://github.com/GoldenDelicios/Lite2Edit/blob/main/src/main/java/goldendelicios/lite2edit/Converter.java#L30

@me4502
Copy link
Member

me4502 commented Jan 19, 2025

It's not about how simple it is, it's about conformance to the format. There have been numerous different "flavours" of litematic schematic files output by various programs, it's important to objectively outline what the format is when adding support for it.

It's easy to reverse engineer the files and add hacky support, but doing it correctly requires a proper specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:pending Pending acceptance or closure. type:feature-request Request for something new
Projects
None yet
Development

No branches or pull requests

2 participants