Quark Oddities

Quark Oddities

22M Downloads

[1.14.4][Clarification] Question concerning Weather Sensor

KajesLorian opened this issue ยท 2 comments

commented

TL:DR: How exactly does the weather sensor detect rain? I attempted to block the sensor with a block and it still detected rain.

I use your weather sensor to stop the tried and true tradition of it always raining every morning that you sleep in a bed to skip the night. Using your sensor with a command block "Weather clear 9001" is perfect. However, since I'm a difficult person and would like it to rain naturally during the day from time to time, and occasionally storm, I set up a daylight detector to a piston that activates during morning light levels. This works to block your sensor from the sky, but when I make it ran during the day your sensor still detects it, even covered.

Am I doing something wrong, or is this a case of "That's not how it works and what your asking for would require a rewrite of the weather sensor block". I'm fine with either answer.

commented

Looking at the code for the weather sensor, it gets activated whenever it is in a biome that has rain (i.e. not a savanna, desert, etc.) and it is raining in that biome. There is no mention in the code for checking whether the weather sensor has access to daylight, which is why your contraption isn't working.

commented

That makes sense then. I'll probably hook the sensor itself to the other contraption, and pull it away from the redstone connection to the command block when I don't want it activated. Thank you.