Hey everyone! I used to use SkStuff to add NBT data to placed command blocks. Unfortunately that no longer works with 1.12 (maybe 1.11 even?).
I would spawn in a command block then add this code (or something like it):
add "{Command:/summon Item %{_x}% %{_y}% %{_z}% {Item:{id:wooden_sword,Count:1,tag:{display:{Name:""knife""}}}},TrackOutput:0}" to nbt of block at {_loc}
Now it just throws an error in console when it tries to input NBT data into a command block.
I've even tried the forked version of SkStuff. Can anyone think of any work around or another way to inject command blocks with commands?
Thanks
I would spawn in a command block then add this code (or something like it):
add "{Command:/summon Item %{_x}% %{_y}% %{_z}% {Item:{id:wooden_sword,Count:1,tag:{display:{Name:""knife""}}}},TrackOutput:0}" to nbt of block at {_loc}
Now it just throws an error in console when it tries to input NBT data into a command block.
I've even tried the forked version of SkStuff. Can anyone think of any work around or another way to inject command blocks with commands?
Thanks