MC ToolboxMC TOOLBOX

Minecraft Time & Weather Commands

Generate /time, /weather, and gamerule commands. Works for Java and Bedrock Edition.

Time Controls
Operation
Time of Day
Gamerule
Daylight cycle: enabled
Weather Controls
Weather Type
Duration (seconds)
Gamerule
Weather cycle: enabled
Generated Commands
/time set
/time set 6000
/weather
/weather clear
/gamerule doDaylightCycle
/gamerule doDaylightCycle true
/gamerule doWeatherCycle
/gamerule doWeatherCycle true
Tip: 24,000 ticks = 1 full Minecraft day (20 real minutes). Use /time add to advance time without resetting it.

Time, Weather, and Gamerule Notes

Minecraft time is measured in ticks, with 24,000 ticks making one full day. Use named presets like day, noon, night, and midnight for quick commands, or enter a custom tick value when you need a specific lighting angle for screenshots, farms, or map scenes.

Weather commands can be temporary or open-ended depending on whether you include a duration. The daylight and weather cycle gamerules are useful for build worlds and servers, but remember to turn them back on if your survival players expect normal day-night and storm behavior.

Frequently Asked Questions

How long is a Minecraft day?

One full day/night cycle is 24,000 ticks, equal to exactly 20 real-world minutes (at default game speed).

Can I freeze time permanently?

Yes - toggle "Daylight cycle" off. This sets /gamerule doDaylightCycle false, freezing the sun and moon in place.

What does the weather duration do?

It controls how many seconds the weather persists before changing. Leave it blank and the game picks a random duration.

Do these commands work on Bedrock?

Yes. /time, /weather, and /gamerule use identical syntax in both Java and Bedrock editions.

Ghi chú về Thời gian, Thời tiết và Luật chơi

Thời gian Minecraft được đo bằng tick, 24.000 tick tạo thành một ngày. Sử dụng các cài đặt sẵn có tên như day, noon, night, midnight để tạo lệnh nhanh hoặc nhập giá trị tick tùy chỉnh khi bạn cần góc chiếu sáng cụ thể cho ảnh chụp màn hình, trang trại hoặc cảnh bản đồ.

Lệnh thời tiết có thể tạm thời hoặc vô thời hạn tùy thuộc vào việc bạn có bao gồm thời lượng hay không. Luật chơi chu kỳ ngày đêm và thời tiết rất hữu ích cho thế giới xây dựng và máy chủ, nhưng hãy nhớ bật lại nếu người chơi sinh tồn của bạn mong đợi hành vi ngày đêm và bão bình thường.

Câu hỏi thường gặp

Một ngày Minecraft dài bao lâu?

Một chu kỳ ngày/đêm đầy đủ là 24.000 tick, tương đương chính xác 20 phút thực tế (ở tốc độ trò chơi mặc định).

Tôi có thể đóng băng thời gian vĩnh viễn không?

Có - tắt "Chu kỳ ngày đêm". Điều này đặt /gamerule doDaylightCycle false, đóng băng mặt trời và mặt trăng tại chỗ.

Thời lượng thời tiết có tác dụng gì?

Nó kiểm soát thời tiết tồn tại trong bao nhiêu giây trước khi thay đổi. Để trống và trò chơi sẽ chọn thời lượng ngẫu nhiên.

Các lệnh này có hoạt động trên Bedrock không?

Có. /time, /weather và /gamerule sử dụng cú pháp giống hệt nhau trên cả hai phiên bản Java và Bedrock.