Cocoa beans cannot be placed via setblock/fill/clone on jungle logs if the log is in another chunk. To reproduce, place a log on the edge of a chunk and try to setblock a cocoa bean on each face; it will only succeed on faces within the same chunk as the log.
Comments 6
Clarified the description - the issue with with using setblock/fill/clone to try and set cocoa across chunk borders. Manually placing via right click works just fine.
Ok, I can see a difference when placing using commands, but I'm getting confusing results.
With a block placed at -2266,61,-1231 (chunk boundary at Z=-1232), I was only able to /setblock a cocoa pod at -2266,61,-1232, in the adjacent chunk. The 3 faces in the same chunk result in the message "The block couldn't be placed".
With a block placed at 208,79,16 (chunk boundaries at X=208 and Z=16), I couldn't /setblock a cocoa pod on any side.
So there's definitely a bug here, but it's a bit more complicated than your description says. I'll need to try some more locations and try to find a pattern that predicts the behavior.
My earlier confusion was a result of not realizing I needed to provide a data value for the cocoa when placing it. Now that I've corrected that, I can confirm this issue as stated in the description.
Cleaning up old tickets: This ticket has not been updated recently (~1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Could not confirm. I tried both north-south and east-west chunk boundaries. All the cocoa beans attached as expected. Would it be possible for you to upload a world that shows this bug reliably?