Closed Stereowalker closed 3 years ago
So, when you say an API, what really do you require access to? Changing temperatures?
@Stereowalker Hello I have been doing some preliminary integration. Give me until end of today (Sun 02 2021) and I will post a small list of thing that would be helpful (I will update this comment). So far the temperature adjustment is proving the most tricky because it's not clear how you're scaling between temperature ranges from just looking at SurviveEvents and even if I stand right next to a source block of lava (in a plains biome) without any armor -- there isn't any change to my player temperature! (Normal game level, survival mode). Currently using 3.0.5 version...
The promised list (a little late sorry, but I wanted to make sure I had good idea how Survive's internals work)
I have got a good handle on how I might integrate with Survive for several of my mods: Armor Underwear (temperature) and VanillaFoodPantry (hunger/thirst/stamina), PinklySheep (everything). Alas I was not able to finish for a few reasons: here are my thoughts/reasons. (LONG. Please PM for specifics, or better, leave any questions in follow-up comments.)
Kudos Nice mod! It is neat that core body temp is the underlying mechanism being emulated...that's pretty cool IMO. As I was integrating multiple mods, I kept thinking "ooo.... this is gonna be good when finished!" I am really looking forward to completing the integration.
Advice offered (enhancements..emphasis temperature mechanics)
Issues encountered
You seem to be using an outdated version of the mod, because you stated that the temperatures are reliant on armor materials. There have been two major changes since then. 1, armor temperatures are no longer dependent on armor materials as there are armors available that don't rely on this function
2, body temperatures are now manipulated by temperature modifiers. This allows other mods to manipulate the temperature more freely, and it allows for everyone to see exactly what is manipulating the body's temperature. Though adding an event here will also allow for more dynamic manipulation.
As for your remaining suggestions, I'll take them into serious consideration for the next release
Uploaded initial stab at Survive support in Armor Underwear on CurseForge: https://www.curseforge.com/minecraft/mc-mods/armor-underwear-mod/files/3172173. Post new issues as needed.
Well, I've created the feature request on GitHub