wVibzz / ImmersiveWinds

Immersive Winds
https://modrinth.com/mod/immersive-winds
5 stars 1 forks source link

More responsive weather update #5

Closed BakinDP closed 6 months ago

BakinDP commented 6 months ago

What was done:

  1. Swapped weird WorldTickCallback with modern, identically weird ServerTickEvents
  2. "Fixed" ServerTickEvents behavior by tick division (every 2nd and 3rd ticks appear as impossible mix of different weather states, race may take place or idunno)
  3. Implemented weather states and corresponding weather update function

To do:

  1. Fix behavior of ServerTickEvents or find better solution
  2. Improve weather state tracking
wVibzz commented 6 months ago

yo thanks for this! I'm not going to add it just yet because I am currently updating to 0.5, if you want I am looking for some help if you want to add me on discord: vibzz

BakinDP commented 6 months ago

Sorry, I am not a Java developer and currently my help will be of not so much of use. I've studied things just to code this and still very strugling with understanding events and listeners (it's not a thing in C, lol). Once I overcome my difficulties, will join you right away!

wVibzz commented 6 months ago

no worries! ill try these out after i update and i might include it to 0.5, ill give credit aswell