NBT file not loading
YuuichiHeinhz opened this issue ยท 1 comments
Describe the Bug
so i having some issues with some not many of my NBT files that they gave this error here
Could someone help me out? ;3
[Server thread/ERROR]: Failed to load Schematic for Printing
java.lang.NullPointerException: Cannot invoke "net.minecraft.nbt.CompoundTag.m_128456_()" because the return value of "net.minecraft.world.item.ItemStack.m_41783_()" is null
at com.simibubi.create.foundation.utility.NBTProcessors.withUnsafeNBTDiscarded(NBTProcessors.java:95) ~[create-1.20.1-0.5.1.e.jar%23215!/:0.5.1.e]
at com.simibubi.create.content.schematics.SchematicWorld.m_7967_(SchematicWorld.java:83) ~[create-1.20.1-0.5.1.e.jar%23215!/:0.5.1.e]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:734) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at net.minecraft.world.level.ServerLevelAccessor.m_47205_(ServerLevelAccessor.java:11) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.lambda$addEntitiesToWorld$5(StructureTemplate.java:435) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?]
at net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.addEntitiesToWorld(StructureTemplate.java:427) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.m_230328_(StructureTemplate.java:337) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at com.simibubi.create.content.schematics.SchematicPrinter.loadSchematic(SchematicPrinter.java:103) ~[create-1.20.1-0.5.1.e.jar%23215!/:0.5.1.e]
at com.simibubi.create.content.schematics.packet.SchematicPlacePacket.lambda$handle$2(SchematicPlacePacket.java:43) ~[create-1.20.1-0.5.1.e.jar%23215!/:0.5.1.e]
at net.minecraft.util.thread.BlockableEventLoop.m_18693_(BlockableEventLoop.java:67) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:770) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:161) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:753) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:747) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:139) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:733) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:665) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23260!/:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[16:01:30] [Server thread/ERROR]: Failed to load Schematic for Printing
Reproduction Steps
1.i use and load the schematic
2.when i place it on the floor it just not load in game
3.
...
Expected Result
to place my building
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
0.5.1e
Minecraft Version
1.18.2
Forge Version
40.2.10
Other Mods
No response
Additional Context
No response