mojira.dev
MC-148987

Some structures throw an error and get placed into the world only partially when being loaded in with a structure block

The bug

When trying to load in the attached structure (

[media]

) with a structure block, it will only get loaded in halfway, even though there are more blocks specified in the structure file.

Additionally, upon loading the structure, the server will log the following error:

1.14

Error executing task on Server java.lang.NullPointerException
	at jn.a(SourceFile:32)
	at bui.a(SourceFile:70)
	at cji.a(SourceFile:235)
	at cji.b(SourceFile:178)
	at cji.a(SourceFile:174)
	at bum.c(SourceFile:430)
	at bum.C(SourceFile:381)
	at vy.a(SourceFile:584)
	at pd.a(SourceFile:107)
	at pd.a(SourceFile:14)
	at kc.a(SourceFile:15)
	at kc$$Lambda$3104/1407888700.run(Unknown Source)
	at rh.run(SourceFile:18)
	at agh.h(SourceFile:135)
	at agl.h(SourceFile:23)
	at agh.p(SourceFile:114)
	at net.minecraft.server.MinecraftServer.aW(SourceFile:702)
	at net.minecraft.server.MinecraftServer.p(SourceFile:696)
	at agh.c(SourceFile:123)
	at net.minecraft.server.MinecraftServer.o(SourceFile:681)
	at net.minecraft.server.MinecraftServer.run(SourceFile:636)
	at java.lang.Thread.run(Thread.java:745)

Original description

i dont know if this is happening because, its a prerelease version but whenever i move my creation "Revacraft" with a structure block it creates this mess i hav 1 image to show what its suppose to look like

from what i kept getting.png is from what i got from a 1.13.2 version on the .nbt file

from original.png is to show what the front is suppose to look like

both proof to to show that i am doing it within the prerelease 5

and output to load proof is self-explanatory

Update: still getting these issues from the structure block but i have more bad news the output from load proof version of the error has pretty much not loaded most of the interior and from what i kept getting it has all the interior from the bottom half but as shown there is no top half, did structure blocks change in any way during the snapshots or prereleases?

Linked issues

Attachments

Comments 5

Please attach the structure file that you're trying to load here.

i have added the nbt file i am having issues with i also have the world file that is seen through the pictures if you want to see what it is supposed to look like

Can confirm. Loading the attached structure into the world throws this error message:

Error executing task on Server java.lang.NullPointerException
	at jn.a(SourceFile:32)
	at bui.a(SourceFile:70)
	at cji.a(SourceFile:235)
	at cji.b(SourceFile:178)
	at cji.a(SourceFile:174)
	at bum.c(SourceFile:430)
	at bum.C(SourceFile:381)
	at vy.a(SourceFile:584)
	at pd.a(SourceFile:107)
	at pd.a(SourceFile:14)
	at kc.a(SourceFile:15)
	at kc$$Lambda$3104/1407888700.run(Unknown Source)
	at rh.run(SourceFile:18)
	at agh.h(SourceFile:135)
	at agl.h(SourceFile:23)
	at agh.p(SourceFile:114)
	at net.minecraft.server.MinecraftServer.aW(SourceFile:702)
	at net.minecraft.server.MinecraftServer.p(SourceFile:696)
	at agh.c(SourceFile:123)
	at net.minecraft.server.MinecraftServer.o(SourceFile:681)
	at net.minecraft.server.MinecraftServer.run(SourceFile:636)
	at java.lang.Thread.run(Thread.java:745)

And the structure only loads in halfway even though there are blocks also above that specified in the structure file.

I experienced this when one of my structures included repeaters.

I can attach another example later.

just to give an update, i have fixed my structure by saving it in 1.14.4 and placing it with the errors and then making it look the same by placing everything just like the original and then voila it works, not the best solution, but it works

Dremore

(Unassigned)

Confirmed

(Unassigned)

structure_block

Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1, Minecraft 1.14.2, Minecraft 1.14.3, ..., Minecraft 1.14.4 Pre-Release 6, 1.14.4 Pre-Release 7, 1.14.4, 1.15.1, 1.15.2

Retrieved