9

This question already has an answer here:

Is there a way to change the weather in Minecraft in Creative Mode? All it does is rain all the time. It's rained for three days. Is there a way, mods included, that can change it?

marked as duplicate by bearb001, Wondercricket, Virusbomb, FoxMcCloud, MBraedley Jul 11 at 15:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    the method is the same, but the question is different, one is for server control and the other is client side, but yes it's a bit duplicate – Celta Jun 15 '13 at 16:56
  • doesnt NEI change weather too? – Ender Jun 15 '13 at 17:05
  • 2
    Addendum to the answers: You have to have cheats enabled to use commands. If you don't want to enable cheats but don't mind installing mods (for some odd reason...), please specify that; I'm sure people will be more than willing to help :) – Schism Jun 15 '13 at 17:09
  • 2
    @fbueckert Hmm. It's arguably a duplicate: the commands are "server commands" but there is a single player feature to let you use server commands in single player. The difference is that you have to know how to enable them in single player, and that lots of people don't know the commands are the same and so won't go looking for server commands. I'm on the fence. – SevenSidedDie Jun 15 '13 at 17:45
  • There's really only one question, "How do I change the weather in minecraft"; splitting it into two questions, one for singleplayer, one for multiplayer, accomplishes little. These are clearly duplicate questions, and the other one should be broadened if that is felt necessary. – pppery Jul 10 at 22:28
15

To change the weather in Minecraft, use the /weather command.

The syntax is /weather [type] [seconds]. When you use it you set the weather to the specified type for the number of seconds you told it. The type can be either clear, rain, or thunder.

This command is only accessible if you have cheats enabled for your single player world (chosen when you made it) or are a server operator. If you're playing single player and don't have cheats on, you can turn them on temporarily: use the Open To LAN menu and make sure you choose cheats in the LAN options before starting the LAN game. Turning on cheats this way will only last until you quit the world and reopen it. (To more permanently turn on cheats you need a save editor like NBTedit.)

  • You can also set those commands in a Command Block as an OP in creative mode. – MisterBla Jun 15 '13 at 18:57
  • @RichardA Sure, but why? – SevenSidedDie Jun 15 '13 at 19:37
  • Just an idea. We're using it on my server because of Forestry. – MisterBla Jun 15 '13 at 19:44
  • @RichardA Ah. Yeah, as a convenience on a server that makes sense! – SevenSidedDie Jun 16 '13 at 0:49
  • 1
    @pppery Ah. Six years of development will do that. I don’t have time to edit at the moment; do you want to propose an edit to fix it? – SevenSidedDie Jul 10 at 22:58

Not the answer you're looking for? Browse other questions tagged or ask your own question.