-
Bug
-
Resolution: Fixed
-
22w19a
-
None
-
Confirmed
-
Dedicated Server
-
Normal
Steps to reproduce:
- Download the below nbt file. (An end city structure template file.)
- Download the 22w19a server jar from this link.
- Put both of them in the same folder.
- Run the data generator using the below command:
java -DbundlerMainClass="net.minecraft.data.Main" -jar server.jar --dev --input <path>
...where <path> is the folder in which you placed the nbt file.
You should see the following log:
Starting net.minecraft.data.Main
[16:09:26] [ServerMain/INFO]: Building unoptimized datafixer
[16:09:26] [ServerMain/INFO]: Starting provider: NBT to SNBT
[16:09:27] [ServerMain/INFO]: Converted fat_tower_base from NBT to SNBT
[16:09:27] [ServerMain/INFO]: NBT to SNBT finished after 49 ms
[16:09:27] [ServerMain/INFO]: All providers took: 50 ms
[16:09:27] [ServerMain/INFO]: Caching: total files: 1, old count: 0, new count: 1, removed stale: 1, written: 0
If you check the generated folder, nothing but the cache file will be there, instead of the snbt version of fat_tower_base and the cache.
The last line,
[16:09:27] [ServerMain/INFO]: Caching: total files: 1, old count: 0, new count: 1, removed stale: 1, written: 0
Did not exist before 1.19 snapshots, and I suspect that the
removed stale:
portion has something to do with this.
- blocks
-
MC-131740 Re-running the data generator in the same folder causes previously generated -reports and- .snbt files to be deleted
- Resolved