The predicate condition weather_check
fails when run in a dimension with a dimension_type
with has_skylight
set to false, despite these dimensions still displaying rain in all biomes with precipitation.
Steps to Reproduce:
Enter the Nether dimension.
/execute in minecraft:the_nether run tp 5 128 5
Teleport onto the Nether Roof.
use
/fillbiome 0 0 0 8 255 8 plains
to convert an area to a Plains biome.(optional) You may need to reload the world for rain to correctly display.
use
/weather rain
to set the weather to rain.run
/execute if predicate {condition:"weather_check","raining":true}
Observed Results:
Rain will visually show in the world, but the weather_check
predicate will always fail because the Nether dimension_type
has its has_skylight
value set to false.
Expected Results:
Rain should either not show and the predicate should continue to fail, or rain should continue to show and the weather_check
predicate will accurately detect that the weather is raining and/or storming and pass.
Environment
[Debug]: Client version info:
id = 1.21.7
name = 1.21.7
data = 4438
series = main
protocol = 772 (0x304)
build_time = Mon Jun 30 10:29:28 BST 2025
pack_resource = 64
pack_data = 81
stable = yes
We do not have enough information to reproduce this issue.
Please include the following information to help us understand your problem:
Please also attach any needed commands, add-ons/behavior packs, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.
Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.
This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki