1

Problem with /fill command

Skitto493's Avatar Skitto4931/19/15 4:39 pm
1 emeralds 592 4
1/20/2015 8:47 pm
Jmal116's Avatar Jmal116
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.
Posted by Skitto493's Avatar
Skitto493
Level 55 : Grandmaster Dragon
91

Create an account or sign in to comment.

4

1
01/19/2015 8:09 pm
Level 33 : Artisan Engineer
Jmal116
Jmal116's Avatar
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.
1
01/19/2015 8:33 pm
Level 55 : Grandmaster Dragon
Skitto493
Skitto493's Avatar
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.
1
01/20/2015 8:47 pm
Level 33 : Artisan Engineer
Jmal116
Jmal116's Avatar
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
01/20/2015 11:09 am
Level 20 : Expert Network
Imadbush
Imadbush's Avatar
Mcedit?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome