MesdagPortLib includes a Modern Data Maps system that reads JSON files inside data packs. If you build custom survival maps or manage a modpack, you can use this system to adjust furnace fuel burn times and composter chances without installing separate tweaking mods.
Setting Up a Data Pack in Your World
1. Open your Minecraft saves folder and navigate into the folder of the world you want to customize.
2. Open the datapacks directory inside that world folder.
3. Create a new folder for your custom data pack, containing a standard pack.mcmeta file and a data directory.
Applying Fuel and Compost Changes
MesdagPortLib allows the game to read modern data map JSON files placed inside your data pack's folder structure. Using these files, you can edit two main vanilla mechanics:
- Furnace Fuel Burn Times: Define which items can be burned in a furnace and adjust how long each item lasts as fuel.
- Compost Chances: Add items to the composter list or change the probability that an item raises the composter's fill level.
Leveraging Standard Item Tags
When writing your JSON files or custom data pack recipes, you can also take advantage of the Standard Item Tags generated by MesdagPortLib. The mod automatically creates common category tags for chests, ores, and stones. Referencing these common tags in your data pack ensures that blocks and items from different mods in your setup match up and work together cleanly. Once your files are saved, run /reload in-game to apply your changes.
