Hello guys.
When I try to enter
/fill ~0 ~0 ~0 ~0 ~1 ~0 standing_sign 0 replace air
it says "Data tag parsing failed: Invalid tag encountered, expected '{' as first char."
The strange thing: when I remove the block it should only replace (In this case, air) it does not give the error. When I use a different block to replace the air with instead of standing_sign, it does not give the error.
When I try to enter
/fill ~0 ~0 ~0 ~0 ~1 ~0 standing_sign 0 replace air
it says "Data tag parsing failed: Invalid tag encountered, expected '{' as first char."
The strange thing: when I remove the block it should only replace (In this case, air) it does not give the error. When I use a different block to replace the air with instead of standing_sign, it does not give the error.
Create an account or sign in to comment.
4
1
The command itself is correct, and it should work with pretty much any other block that isn't a sign.
This is a known issue with the fill command, however I believe mojang is putting off fixing it until at least the next version, if at all. The bug here is that you can't use block entities if you want to use the replace syntax for fill. This includes things like signs, command blocks, chests, really any block that has a data tag attached to it. For whatever reason as soon as the game sees a block entity, it automatically defaults to the version of the fill command with a data tag instead of replace. Seems like an easy fix to me, but there's probably more to it than just that.
If all you want to do is put a sign right above the command block, then it might be easier to just use /setblock or something.
This is a known issue with the fill command, however I believe mojang is putting off fixing it until at least the next version, if at all. The bug here is that you can't use block entities if you want to use the replace syntax for fill. This includes things like signs, command blocks, chests, really any block that has a data tag attached to it. For whatever reason as soon as the game sees a block entity, it automatically defaults to the version of the fill command with a data tag instead of replace. Seems like an easy fix to me, but there's probably more to it than just that.
If all you want to do is put a sign right above the command block, then it might be easier to just use /setblock or something.
1
Okay, thanks.
Using /setblock would take ages. I have giant energy barriers, and want them to be replace with signs so the mobs can get through.
Using /setblock would take ages. I have giant energy barriers, and want them to be replace with signs so the mobs can get through.
1
Well if the barrier is a solid wall, then you shouldn't need to worry about setting it to replace air. All you have to do is something along the lines /fill x y z x2 y2 z2 standing_sign and you should be pretty much good to go.
1
Mcedit?