Mods / Dryable Ground Storage

Category: #Crafting #QoL #Tweak
Author: Aristine
Side: Both
Created: Apr 2nd at 5:39 AM
Last modified: Apr 2nd at 5:40 AM
Downloads: 1048
Follow Unfollow 43

Latest file for Various v1.19.x:
DryableGroundStorage.zip 1-click install


For whatever reason, ground storage has the same dry/melt transition multiplier as chests (0.25x).
This is very annoying when using any mods that make ground stackable items dryable (such as dried fire fuels), as the only way to dry them at the 1x rate is to either keep them in inventory or a dropped bag/basket.

Now with this mod, ground stackables will dry/melt as fast as they would in your inventory!

Source:

Spoiler!
[HarmonyPostfix]
[HarmonyPatch(typeof(BlockEntityGroundStorage), "Initialize")]
public static void InitializeGroundStorage(BlockEntityGroundStorage __instance, ICoreAPI api)
{
__instance.Inventory.OnAcquireTransitionSpeed = (transType, stack, baseMul) => api != null && transType == EnumTransitionType.Perish ? __instance.GetPerishRate() : 1;
}

 

 

Version For Game version Downloads Release date Changelog Download 1-click mod install*
v1.0.0 1048 Apr 2nd at 5:40 AM Show DryableGroundStorage.zip Install now

4 Comments (oldest first | newest first)

💬 Jena_Thornwyrd, Oct 20th at 6:10 PM

Please, consider changing the modid to follow the specs :
Must only contain lowercase letters and numbers. No special chars, whitespaces, uppercase letters, etc. allowed

removing the underscore, ex:

{
"type": "code",
"modid": "dryablegroundstorage",
"name": "Dryable Ground Storage",
"authors": [ "Aristine" ],
"description": "Adjusts ground storage to dry at normal (1x) rate rather than 0.25x",
"version": "1.0.0",
"dependency": {
"game": "1.19.x"
}
}

 

 

thank you

💬 VaelophisNyx, Apr 5th at 2:46 AM

Aristine pile code across each mod that adds them is wildly different and few use vanilla's code due to serious bugs, so I'd actually doubt it

💬 AristineAuthor, Apr 3rd at 2:42 AM

Ramdomman I haven't used that mod, but I'm going to assume so given how simple it is.

💬 Ramdomman, Apr 2nd at 10:03 PM

is this mod compatible with more piles ?

(edit comment delete)