Hardcore Darkness

Hardcore Darkness

10M Downloads

Add support for the Calendar API

Sunconure11 opened this issue ยท 4 comments

commented

https://github.com/CallMeFoxie/Calendar/tree/1.7.10

This API cropped up recently, and I suggest you check it out for 1.7.10 and 1.8 builds of your mod, so lighting based on the moon cycle can be in sync with other mods that use it, or plan to use it (Stellar Skies, due to its longer lunar cycle, would be a good example)

commented

I don't use any time related methods in HardcoreDarkness, if mods like these don't patch vanilla methods so that they retain their meaning (Getting the moonphase) i can't really do anything about that.

commented

Alright. Is there a way I can get your mod to work better with Stellar Sky (regarding light changing with the phases of the moon), or am I going to have to see if the dev of Stellar Sky can do that?

commented

@Sunconure11 There's nothing the end-user can do to make the two mods work together. HardcoreDarkness calls info from a method getCurrentMoonPhaseFactorBody() in the World class for it's Moon Phase info, and StellarSky uses a method getMoonPhase() in the WorldProvider class.

I think there's differing opinions on which one is the correct one to use.

commented

I expect vanilla methods to work how they do in vanilla.