TroZ / s2cb

Schematic To Command Block - A utility for Minecraft that will convert .schematic or .nbt structure files into commands that can be run in command blocks that will create the structure in game
Apache License 2.0
18 stars 7 forks source link

[Error] NBT that works in 1.16 does not in 1.18 #5

Closed Reibies closed 1 year ago

Reibies commented 1 year ago

Converting images with MapartCraft then attempting to convert the schematic in the latest version results in the following error: ERROR: java.lang.NullPointerException Cannot read field "type" because "b" is null

The same file works just fine in S2CBv1.16. and there is a few older versions of the same map art that also fails to work on the 1.18 but I have included one file that does work. zip file containing 2 nbt files

Reibies commented 1 year ago

Never mind unchecking Ignore Uneeded Block State fixes this