I want to replace all the copper doors in an area with a different oxidized variant. For this example, I want to replace not oxidized with oxidized. Of course this has to be done with two commands for the two halves. But the commands are having no effect.
I want to replace the doors no matter their orientation, open-ness, etc. So here's a simplified example of the command:
/fill 53 102 9 53 102 9 oxidized_copper_door[half=upper]
When I run this, there is a copper door in that block, from y=101 to y102, so 102 is the upper part. (See attached.)
Nothing happens. It says "No blocks were filled". This is what it says if you use fill to replace (say) sand with sand, so maybe it thinks the two door types are the same. The debug info shows that the block at that place is a copper_door, not an oxidized_copper_door. If I change the half to "lower", a change is made.
So in effect it's acting as if the copper_door is an oxidized_copper_door.
This does not happen for wooden doors, I have that working fine for changing the door type.
Linked issues
Attachments
Comments 2
I was doing this all in functions and replacing both halves. But that doesn't work either. The space has to be air (maybe water works too). You can't replace a door with another door. You can only remove the door via fill or such and then place a new door. (The wood function did that, but I'd forgotten (years have passed). So yes, wood and copper behave the same.)
Yes, I agree this is a duplicate of MC-192791, sort of. I'll leave a comment there.
I can't seem to reproduce any difference in behaviour between wooden and copper doors, here. If you're certain there's a difference, please give specific details about how to observe/replicate this, else this is a duplicate of MC-192791.