Scavenging

A lightweight, data-driven scavenging system for modpacks, datapacks and KubeJS.

Scavenging

Scavenging is a lightweight, data-driven scavenging system designed for modpack creators.

Players can search blocks using tools or their bare hands and receive custom loot defined through datapacks or KubeJS.

Features

  • Datapack support
  • KubeJS support
  • JEI integration
  • Multiple loot outputs
  • Per-output drop chances
  • Optional tool durability consumption
  • Bare-hand scavenging recipes
  • Fully configurable through JSON

Example Use Cases

  • Search sand for flint
  • Search gravel for nuggets
  • Search dirt for sticks or worms
  • Create progression-based resource gathering
  • Add custom loot to vanilla or modded blocks

KubeJS Friendly

Scavenging recipes can be added through datapacks or KubeJS and are automatically displayed in JEI.

Example Recipe

{
  "type": "scavenging:scavenging",
  "tool": {
    "item": "minecraft:stone_shovel"
  },
  "block": "minecraft:sand",
  "outputs": [
    {
      "item": {
        "id": "minecraft:flint",
        "count": 1
      },
      "chance": 0.25
    }
  ]
}

Documentation

Full documentation, examples and KubeJS integration guides are available on the project wiki.

 Banner

The Scavenging Team

profile avatar
  • 11
    Followers
  • 8
    Projects
  • 379.9K
    Downloads

More from Ax3dGaming_View all