maruohon / litematica

A modern client-side schematic mod for Minecraft
GNU Lesser General Public License v3.0
691 stars 193 forks source link

Failing to Save Schematics #402

Open annapurrr opened 2 years ago

annapurrr commented 2 years ago

Minecraft version 1.17.1

Mod version and malilib version litematica: 0.0.0-dev.20210713.103711 malilib: 0.10.0-dev.24

Description of the bug Whenever I try to save a new version, it comes up with an error saying "Failed to write the schematic to file".

Screenshots 2021-08-25 (1)

maruohon commented 2 years ago

You can't use slashes in file names (in general). I'll add better error messages for trying to use illegal characters in file names in future versions.

Unrelated, but in general most users should not be using the Schematic Projects feature of Litematica. It's kind of a special and rarely useful feature, and I will probably hide it by default in upcoming versions so that new users don't "accidentally" use it when they shouldn't. The main use of that mode is to allow easier/faster saving and loading of different "snapshots" of a given build in iterative design work. To accommodate this functionality, it somewhat changes how the area selections and schematic placement work and behave, making things more difficult and confusing to do for "normal" situations.

Josker0 commented 1 month ago

I have the same problem but I don't have any illegal characters image