User blog:Babyrabbit1029/"Clear Skies" Weather Machine

If you don't want rain, snow, or thunderstorms in your Minecraft world, there's a simple machine to minimize bad weather. It consists of only two blocks, but a little effort must be taken to properly place and conceal it. One part is a Command Block with the command: " ". The other settings are left at default. The second part is an inverted Daylight Sensor. It must be directly on top of the command block, or directly beside for its redstone signal to trigger the command block. To attach the sensor to the command block, the sneak function is used. The device must have a direct view of the sky. Any opaque block above it will block sunlight and cause the machine to not work. The device can be hidden by placing translucent blocks above it, such as slabs, stairs, or carpets. When beginning a flat world, I dig down two blocks, place the command block and inverted sensor, and place a dark green carpet above the sensor, to minimize its appearance. In more established maps, I place them under a stair in front of a building. The assembly is triggered when the inverted sensor detects a decrease in sunlight. It works in worlds with "always daytime" turned on because the only cause for darkness is weather. In worlds with normal day cycles, the loss of light at start of night will run the command every twenty minutes. The duration of the command exceeds this time and prevents any bad weather.