mojira.dev
MCPE-228047

minecraft:weather always returns rain even if it's not raining

minecraft:weather always returns rain even if it's not raining

Steps:

  1. Generate a world with the seed 933362424

  2. activate the addon that is attached to the report

as expected: update labels is state clear

What happens: the label is state rain

Note:

If you have an old version of the borrell addon because in MCPE-227764 a version was uploaded that used weather_at_position

Attachments

Comments 2

The unexpected behavior is related to the order of triggers in the minecraft:environment_sensor component in the player.json file in the behavior pack. You can get the expected behavior if you rearrange the weather-related triggers this way:
{ "filters": { "all_of": [ { "test": "weather", "value": "rain" } ] }, "event": "star:0110:1" }, { "filters": { "all_of": [ { "test": "weather", "value": "thunderstorm" } ] }, "event": "star:0110:2" }, { "filters": { "all_of": [ { "test": "weather", "value": "clear" } ] }, "event": "star:0110:0" },

I do not know why the order of the triggers makes a difference.

Timer RP

(Unassigned)

1479085

Confirmed

Multiple

1.21.110.26 Preview, 1.21.101 Hotfix

Retrieved