I planted a lot of trees in my map, and I wanted to replace all leaves IDs with only one block, just to prevent them from decay. I tried to transform all the different leaves data in only one block, but failed - it only works with some blocks. See the screenshots for understand better.
1- The entire cube is made of leaves with data value of 1 (spruce, check_decay: 0, decayable: 1).
2- The command run must replace all the cube with stone.
3- Instead, it only replaces some blocks in a very strange pattern.
4- See what happened.
Linked issues
Attachments
Comments 8
In this case no, because the entire cube on image 1 is made of one data value (1), and I have no custom resource pack.
Omitting the data value will not filter the type of leaf, and this isn't expected since the /fill must replace all the blocks, without mattering decay data in this case (as all of the blocks has the same data value).
And if this isn't a bug, why it's replacing blocks in this pattern? This is odd...
You do have to omit the data value of the leaves in order for it to fill the entire cube/work properly! Please see attached screenshots.
Ok, but this behavior is just wrong! WHY? Why you have to omit the data value of the leaves, since they have the same data value and are a block like any other? Why just the leaves has this behavior? Why this strange pattern happens? I just want answers for that questions, just because I don't understand why it happens!
The only explanation as to why this pattern occurs is because leaves can change their data value due to them decaying because they aren't connected to a wood block.
Blah: They can change their data value, but not in my case, because after running the command I still have leaves with data value of 1.
Kumasasa: The command is /fill 46 64 -9 50 80 -25 leaves 1.
Resolved to (reopened) MC-48277
Omit the data value of the leaves. MC-48277