Andrews54757 / tweakfork

A modified small client-side Minecraft mod that adds various configurable tweaks - plus some more
GNU Lesser General Public License v3.0
80 stars 9 forks source link

Add weather override tweak #23

Closed Yukino0812 closed 3 years ago

Yukino0812 commented 3 years ago

Similar to the tweakDayCycleOverride tweak, adding a tweak to override the client side weather.

It works well in single player mode, but not fully works in multi-player mode, where lightning can't spawn if override weather to thundering mode, cause the lightning is spawned by server side while it's not actually a thunder weather on server side. Maybe we can simulate lightning by calculating the random lightning event on client side, but i don't think it's worth to do so. I'm wondering if there are any other way to implement overriding weather.

Yukino0812 commented 3 years ago

Awesome! But small changes:

  1. Imports should be individually listed (no wildcards "*").
  2. Translate key namespace is tweakeroo not tweakfork.

Fixed.