nonamecrackers2 / simple-clouds

Rendering mod that overhauls Minecraft's clouds and weather
Other
32 stars 6 forks source link

[Suggestion]: API for overriding the cloud speed (and other cloud manager properties) without changing the saved/player set value #1

Open Steveplays28 opened 1 month ago

Steveplays28 commented 1 month ago

Guidelines

Description of feature request

Hi, it'd be cool to have an API that allows overriding the cloud speed (and other cloud manager properties), without changing the serialized values. I want to add Simple Clouds compatibility to Realistic Sleep, in the form of a cloud speed multiplier while sleeping.

I could directly call the CloudManager, but that can cause edge cases (e.x. disconnect while sleeping and/or changing Simple Clouds' cloud speed via the config while sleeping).

nonamecrackers2 commented 1 month ago

Honestly this is a great idea, an API could work really well

exocyt0sis commented 1 month ago

This is the mod I've been waiting for! The YouTube announcement video almost had me gasp for air - it surpasses, by a good margin, any other weather mod out there, and I love how well it blends with the "vanilla" aestethics.

I've read the Youtube comments/replies, and I'm really excited about future versions of Simple Clouds. It shows so much promise, and I'm confident you already have a ton of features planned for it. For that particular reason, making suggestions seem superfluous. However, if there's one thing I'd like to propose it's - just like Steveplays28 has already done - aa API. Why? Well…

  1. An API would allow other mods to be cross-compatible with Simple Clouds without you guys having to do any heavy lifting - mod authors wanting to support your cloud and weather tech would do the job themselves.
  2. Other mods would be able to use the cloud Tech in all sorts of crazy ways. Take the Advanced Chimneys and Pollution of the Realms mods, for example - they add a very interesting pollution dynamic to the game, giving players incentive to be smart about how they route smoke and ultimately deal with toxic gases. The mods have been around for years, they are always updated to the lastest Minecraft versions and they have a die-hard audience (with around 45 million downloads in total, according to Curseforge stats!). However - they are beginning to look dated. The pollution is visualized by standard Minecraft blocks, which raise to the top of the sky and remain there more or less static. It's a bit underwhelming, so to speak. An API with a few methods and properties would allow Advanced Chimneys and Pollution of the Realms to, perhaps, generate some thick, nasty ground based smog instead! Perhaps an API would let mod authors to change cloud volume, hues and translucency, too?
  3. As the mod grows, so can the API. For instance, entertain the thought that Simple Clouds will implement a wind system. Third party mods could easily be made aware of the current wind direction (sailing ship mods come to mind!) and wind speed (Create wind mills, anyone?), and seamlessly blend in with the current weather.

Last, but perhaps not least, mod interoperability drags in new users from both sides. The Create and Farmer's Delight both come to mind - their respective authors have created mod eco systems within the modding community, spawning hundreds and hundreds of mods that rely on the "mother mods". The Simple Clouds mod has a unique opportunity to serve the same function for Minecraft weather as Create does for machinary and contraptions, so here's hoping that an API would likely open up quite a few new doors.

Any any case, Simple Clouds totally knocked my socks off! Your mod came from nowhere, and whatever you have planned for it the mod deserves a boatload of downloads! Well done! 👍

nonamecrackers2 commented 1 month ago

Thank you so much for the feedback, and I'm thrilled you like it! I definitely agree that an API could open a lot of doors and make this mod a lot bigger and more accessible, so I definitely want to get a start on one that people can add to to help further polish it. Thanks again!