Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Try to set night, no error, but not working


IgazHarcos
 Share

Recommended Posts

What...

You cannot ever get to the World object during preInit/Init/postInit, because they just does not exist!

And night is not 1200, but 12000.

 

So, subscribe to the WorldEvent.Load, and change the time there.

+ You'd better increasing tick till it is not day(!World#isDayTime()) because there are mods which changes length of day.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

+ I'd say this again:

+ You'd better increasing tick till it is not day(!World#isDayTime()) because there are mods which changes length of day.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.