Issue Context
So I created a scoreboard system that manages a custom currency called "Sky Coins", the issue is with the cactus data (see recreation steps). There are issues with the game understanding the data for cactus and it is causing systems to break.
Steps to reproduce
Place any solid block.
Place any pressure plate on top of the solid block.
Command Block A: Repeat, Unconditional, Needs Redstone
/clear @p[x=,y=,z=~,r=2] cactus 0 1Command Block B: Chain, Conditional, Always Active
/scoreboard players add @p[x=,y=,z=~,r=2] SkyCoins 5
Expected outcome
Cactus should be cleared from player inventory when stood on the pressure plate then 5 coins should be given to the player for each 1 cactus that is cleared.
Actual outcome
The system usually follows the expected outcome but every now and then I get complaints from players about it not working and upon testing this seems to be an issue with the cactus data. Perhaps there is a bug that causes farmed cactus to have a different data value than the cactus from the creative menu or the "/give" command? Unfortunately, I am unsure on how to forcibly make the outcome not work, it seems to be random from the testing I've done. This is not the first time this has occurred, it happened a lot with the cactus on a previous map I made.
Comments 3
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Bedrock's notion of data values is notoriously old and legacy and unreliable, to fix your creation just use -1 instead of 0