跳到正文

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

常见问题

Scavenging 支持哪些 Minecraft 版本?

Scavenging 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Scavenging 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

ax3dgaming1 的其他作品

查看全部 →