No idea what is going on with this one.... I am using command blocks to summon villagers and then removing the command block. However, when I save and quit and relog the command block has reappeared (some times with command some times without.) and the villager is gone.
I assume that this is some sort of save crash bug that will be very hard to duplicate... however, I did not see another post for this so I figured I should say something. If it will help I can try to post screenshots, or I can create a debug log (If that is helpful). Please let me know if there is a way to force a save or if there is something wrong with my file. Every block placement I do is saved, but the summoned creatures are not.
Here is a sample of one of the many commands I am using.
/summon Villager ~ ~-2 ~ {Profession:5,PersistenceRequired: 1,CustomName:Cow Herd,CustomNameVisible:1,Attributes:[{Name:generic.movementSpeed,Base:0}],Offers:{Recipes:[ {buy:{id:0},sell:{id:323,Count:1,tag:{display:{Name:”Cow Herd”,Lore:[“You Heard of cows?”]}}}},{buy:{id:371,Count:3},sell:{id:335,Count:1, tag:{display:{Name:"Bessy’s Milk"}}}}]}}
Linked issues
Attachments
Comments 9
[12:12:53 INFO]: Client> [12:12:53] [Server thread/INFO]: Saving chunks for level 'The Mesa King'/Overworld
[12:12:53 INFO]: Client> s: Saving entity NBT
[12:12:53 INFO]: Client> at sk.e(SourceFile:1123)
[12:12:53 INFO]: Client> at sk.d(SourceFile:1090)
[12:12:53 INFO]: Client> at atc.a(SourceFile:210)
[12:12:53 INFO]: Client> at atc.a(SourceFile:99)
[12:12:53 INFO]: Client> at oa.b(SourceFile:161)
[12:12:53 INFO]: Client> at oa.a(SourceFile:192)
[12:12:53 INFO]: Client> at ob.a(SourceFile:663)
[12:12:53 INFO]: Client> at net.minecraft.server.MinecraftServer.a(SourceFile:305)
[12:12:53 INFO]: Client> at cby.v(SourceFile:124)
[12:12:53 INFO]: Client> at net.minecraft.server.MinecraftServer.run(SourceFile:387)
[12:12:53 INFO]: Client> at mr.run(SourceFile:657)
[12:12:53 INFO]: Client> Caused by: java.lang.NullPointerException
[12:12:53 INFO]: Client> at aik.j(SourceFile:114)
[12:12:53 INFO]: Client> at ail.a(SourceFile:125)
[12:12:53 INFO]: Client> at aai.b(SourceFile:206)
[12:12:53 INFO]: Client> at sk.e(SourceFile:1111)
[12:12:53 INFO]: Client> ... 10 more
I have read the other bug reports and I believe that mine is slightly different... every report I have read talks about the chunk reverting. However, the only thing that does not save in my chunks is the out put of my command blocks, it seems that the commands are the only thing effected, is this a broken chunk or is something else going on?
This is not resolved! I placed a command block in a brand new world and ran this command
/summon Villager ~ ~-2 ~ {PersistenceRequired: 1,CustomName:Lever Game Champion,CustomNameVisible:1, Attributes:[{Name:generic.movementSpeed,Base:0}],Offers:{Recipes:[ {buy:{id:0},sell:{id:323,Count:1,tag:{display:{Name:”Local Lever Game Champion”,Lore:[“Some day I will beat, the legendry Teep!”]}}}}]}}
Relogged and the villager was gone!
Can confirm:
[19:49:40 INFO]: Client> [19:49:40] [Server thread/INFO]: Saving chunks for level 'New World222'/Overworld
[19:49:40 INFO]: Client> s: Saving entity NBT
[19:49:40 INFO]: Client> at sk.e(SourceFile:1123)
[19:49:40 INFO]: Client> at sk.d(SourceFile:1090)
[19:49:40 INFO]: Client> at atc.a(SourceFile:210)
[19:49:40 INFO]: Client> at atc.a(SourceFile:99)
[19:49:40 INFO]: Client> at oa.b(SourceFile:161)
[19:49:40 INFO]: Client> at oa.a(SourceFile:192)
[19:49:40 INFO]: Client> at ob.a(SourceFile:663)
[19:49:40 INFO]: Client> at net.minecraft.server.MinecraftServer.a(SourceFile:305)
[19:49:40 INFO]: Client> at cby.v(SourceFile:124)
[19:49:40 INFO]: Client> at net.minecraft.server.MinecraftServer.run(SourceFile:387)
[19:49:40 INFO]: Client> at mr.run(SourceFile:657)
[19:49:40 INFO]: Client> Caused by: java.lang.NullPointerException
[19:49:40 INFO]: Client> at aik.j(SourceFile:114)
[19:49:40 INFO]: Client> at ail.a(SourceFile:125)
[19:49:40 INFO]: Client> at aai.b(SourceFile:206)
[19:49:40 INFO]: Client> at sk.e(SourceFile:1111)
[19:49:40 INFO]: Client> ... 10 more
[19:49:40 INFO]: Client> [19:49:40] [Server thread/INFO]: Saving chunks for level 'New World222'/Nether
[19:49:40 INFO]: Client> [19:49:40] [Server thread/INFO]: Saving chunks for level 'New World222'/The End
Villagers apparently cannot buy air. Doesn't throw exceptions with
summon Villager ~ ~-2 ~ {PersistenceRequired: 1,CustomName:Lever Game Champion,CustomNameVisible:1, Attributes:[{Name:generic.movementSpeed,Base:0}],Offers:{Recipes:[ {buy:{id:1},sell:{id:323,Count:1,tag:{display:{Name:”Local Lever Game Champion”,Lore:[“Some day I will beat, the legendry Teep!”]}}}}]}}
Difference:
buy:{id:0}
-->
buy:{id:1}
When it happens...
Please attach the complete output of the "Development console" which can be found on the second tab of the launcher.
If the launcher closes after game start, please edit your profile and select "Launcher visibility" then, "Keep the launcher open".