FastMiner - 快速连锁

LL3 FastMiner - 快速连锁 v0.5.0-rc.1

Source of resources
Original
Copyright link
https://github.com/engsr6982/FastMiner
Language
Chinese(Simplified)
Precondition
LegacyMoney
Supported version
  1. The latest version

反馈交流群:点我加入


FastMiner

一个基于 Levilamina 的快速连锁采集 Mod(Plugin)。

FastMiner 与其它同类插件一样的采用 BFS,但不同的是,FastMiner 优化整个执行逻辑,做到更快的处理速度。

FastMiner的性能可以做到 1w 方块,耗时3秒内(2782ms),应对平常场景绰绰有余
Ps: 测试机器CPU为12年前的机器(CPU:AMD-A6-3420m),1.6Ghz主频,以现在的CPU性能更快

安装

Code:
lip install github.com/engsr6982/fastminer

Tip:初次使用,需输入命令 /fm 打开 GUI,开启需要连锁的方块。

命令

  • /fm 打开设置 GUI
  • /fm off 关闭连锁采集
  • /fm on 开启连锁采集

配置文件

JavaScript:
{
  "version": 1,
  "moneys": {
    "Enable": false, // 是否启用经济系统
    "MoneyType": "LLMoney", // 经济类型 LLMoney 或 ScoreBoard
    "MoneyName": "money", // 经济名称
    "ScoreName": "" // 计分板名称
  },
  "blocks": {
    // 方块配置,键(Key) 填写方块命名空间
    "minecraft:acacia_log": {
      "name": "金合欢木原木", // 方块名称
      "cost": 0, // 每个方块消耗的经济
      "limit": 256, // 最大连锁采集数量
      "destroyMod": "Cube", // 破坏模式,支持: Default 和 Cube。 Default搜索相邻的6个面,Cube 3x3x3搜索
      "silkTouschMod": "Unlimited", // 精准采集附魔,Unlimited 无限制、Forbid 禁止精准附魔、Need 需要精准附魔
      "tools": [
        "minecraft:wooden_axe", // 工具限制,如果留空数组,则代表不限制工具类型
        "minecraft:stone_axe",
        "minecraft:iron_axe",
        "minecraft:diamond_axe",
        "minecraft:golden_axe",
        "minecraft:netherite_axe"
      ],
      "similarBlock": [] // 相似方块,填写方块命名空间,连锁时会一起采集
    }
  }
}

1722059843161.png
  • 1721996134013.png
    1721996134013.png
    392.8 KB · Views: 190
  • Like
Reactions: zhangsanYYNB
Author
engsr6982
Price
5金粒
Downloads
333
Views
4,267
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from engsr6982

Share this resource

Latest updates

  1. v0.5.0-rc.1

    Changed 适配 LeviLamina 1.0.0-rc.2
  2. v0.4.0

    ### Added - 兼容 “Unbreakable” nbt
  3. v0.3.0

    ### Added - 新增 添加方块GUI ### Fixed - 修复部分方块无法开启连锁Bug