mojira.dev
MC-299861

Predicate condition weather_check always fails in dimensions without skylight, despite rain showing visually

The predicate condition weather_check fails when run in a dimension with a dimension_typewith has_skylightset to false, despite these dimensions still displaying rain in all biomes with precipitation.

Steps to Reproduce:

  1. Enter the Nether dimension. /execute in minecraft:the_nether run tp 5 128 5

  2. Teleport onto the Nether Roof.

  3. use /fillbiome 0 0 0 8 255 8 plains to convert an area to a Plains biome.

  4. (optional) You may need to reload the world for rain to correctly display.

  5. use /weather rain to set the weather to rain.

  6. 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

Comments 2

We do not have enough information to reproduce this issue.

Please include the following information to help us understand your problem:

Steps to Reproduce:
1. (Explain what needs to be done for the issue to happen)
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

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

Hopefully the added information should be adequate to replicate and fix the bug.

Hannah Hadfield

(Unassigned)

Confirmed

Data Packs

1.21.8, 25w34b

Retrieved