The bug
There is a context_int_provider type environment_attribute, which requires an integer attribute in attribute. However, there are no integer attributes, therefore it is impossible to create such a provider.
How to reproduce
/compute default integer {type:"environment_attribute",attribute:"visual/water_fog_color"}
/compute default integer {type:"environment_attribute",attribute:"visual/sun_angle"}
/compute default integer {type:"environment_attribute",attribute:"gameplay/water_evaporatess"}All of these commands fail to parse. There is no attribute you can type that will result in the command parsing.
I expect all of these examples to fail, but I expect there to be at least one functional attribute for this provider to exist.
Comments 2
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Can confirm.