Skip to content

Datapacks

Most of More Sponge's content is data, so a datapack can change it without touching the mod. Run /reload after editing recipes, tags or loot. Trades and trade sets only load when the world starts, so reopen the world after changing them.

WhatLocationPage
Freezing recipesdata/<namespace>/recipe/Freezing recipes
Trader tradesdata/moresponge/villager_trade/sponge_trader/Trader trades
Trade poolsdata/moresponge/trade_set/sponge_trader/ and data/moresponge/tags/villager_trade/sponge_trader/Trader trades
Trader biomesdata/moresponge/tags/worldgen/biome/Trader biomes
Crafting and smeltingdata/moresponge/recipe/Vanilla recipe format
Chest and mob loot (NeoForge)data/moresponge/loot_modifiers/Loot

Not data driven

Sponge reach and search limits, how soaked sponges reset, and freezer fuels are set in the mod's code.

Setting up a datapack

my_sponge_pack/
├── pack.mcmeta
└── data/
    └── moresponge/
        └── villager_trade/
            └── sponge_trader/
                └── emerald_sponge.json

Give pack.mcmeta the pack format for your Minecraft version (listed on the Minecraft Wiki). Then put the folder or zip in saves/<world>/datapacks/.

A file at the same path as one of the mod's files replaces it. Tags such as the trade pools and trader biomes add to the mod's list unless the file sets "replace": true.

Released under the MIT License.