Wumple Util Library — Guide
Dependent Mods Ecosystem
Wumple Util Library is the prerequisite for the following mods. Each of these mods utilizes the library's functions to provide their unique gameplay features:
| Mod Name | Primary Function | Library Usage |
|---|---|---|
| Food Funk | Adds food spoilage and preservation mechanics. | Uses MatchingConfig for rot timers and IThing for item handling. |
| Mega Map | Allows for extreme map zoom scales (1:32 and higher). | Utilizes the Map Manipulation Library for coordinate scaling. |
| Web Slinger | Gives spiders the ability to shoot webbing at players. | Uses the AI Task library and custom entity networking. |
| Canny Composter | Expands the list of items that can be composted. | Uses MatchingConfig to allow user-defined compostables. |
| Pantography | Allows copying map data between different scales. | Relies on the library's NBT and Map data handlers. |
| Daring Debug | Displays advanced TileEntity and Tag info in the F3 screen. | Uses the library's proxy and capability listener classes. |
| Flourishing Foliage | Causes tree leaves to regrow if the trunk is left intact. | Uses the BlockRepair logic for environmental regrowth. |
Mechanics and Logic
The library functions through several background mechanics that improve the modded experience:
- Map Manipulation: It contains specialized math for translating world coordinates into map pixels, which is essential for any mod that alters the way Minecraft's built-in Map items function.
- Proxy Handling: It includes Client/Server proxy base classes (derived from Choonster's TestMod3) that ensure mod code runs correctly on both single-player worlds and dedicated servers without crashing.
- Capability Listeners: It provides a framework for "Capabilities" (Forge's system for attaching data to objects). This allows mods to attach new data—like a "freshness" value for food—to existing vanilla items without modifying the vanilla code directly.