BBSMC Logo
模组
资源包
数据包
整合包
光影
插件
软件资源
论坛
登录
模组插件数据包光影资源包整合包资源
登录
设置
Universal Graves

Universal Graves

适用于 Fabric 的高度可自定义坟墓模组!

644
0
存储
游戏机制

基本信息

我的世界Java版本

1.21.5–1.21.6
1.21–1.21.3
1.20.x
1.19.x
1.18.x
1.17.x

平台

\n \n \n Fabric
\n \n \n \n \n \n \n \n \n Quilt

运行环境

服务端

其他链接

反馈问题 查看源码
Modrinth地址

搬运团队

BBSMC 官方搬运(1)
BBSMC 官方搬运(1)团队

详情信息

许可证 LGPL-3.0-only
发布于 7 months ago
更新于 3 days ago
简介渲染图更新日志版本百科问题讨论

通用坟墓 (Universal Graves)

这是一个简单但非常可定制的坟墓/死亡箱子模组! 你可以根据自己的喜好进行定制,通过修改消息、方块和全息图文本、保护时间的长短、 过期后是否掉落物品等。

这个模组可以在服务器上纯粹地工作,通过模型支持模组在客户端上是必需的!

这个模组仅在 Fabric 和 Quilt 上工作!

如果你有任何问题,可以在我的Discord上询问。

也可以查看我的其他模组和项目,因为你可能会发现它们很有用!

使用 2.x/1.19.x 或更旧的版本?

点击这里查看正确的自述文件!

图片

命令(和权限):

  • /graves - 主命令,显示玩家坟墓的列表(universal_graves.list,默认可用)
  • /graves player <player> - 打开一个带有所选玩家坟墓列表的 GUI(universal_graves.list_others)
  • /graves modify <player> - 打开一个带有执行者坟墓列表的 GUI,并具有修改它们的能力(universal_graves.modify)
  • /graves reload - 重新加载配置和样式(需要universal_graves.reload)

此外,拥有universal_graves.teleport权限,你可以传送到任何坟墓。

配置:

你可以在./config/universal-graves/config.json中找到主配置文件。 格式化使用简化文本,文档可在此处找到。 此外,每个消息类型都有几个自己的局部变量,你可以输入为${variable}。 大多数坟墓特定的消息支持这些变量:player、protection_time、break_time、xp、 item_count、position、world、death_cause、minecraft_day、creation_date、since_creation、 id。

还有一些其他数据类型:

  • {/* PREDICATE */} - 使用谓词格式,在此处查看所有支持的格式。
  • {/* COST */} - 用于指定成本的格式。
    {
      // 成本类型。支持,"free"、"creative"、"item"和"level"
      "type": "",
      // 仅在"item"时使用,描述物品堆栈
      "input": {/* ITEMSTACK */},
      // 成本数量。
      "count": 0
    }
    
  • {/* ITEMSTACK */} - 表示一个物品。 简单格式:"minecraft:skeleton_skull" 完整格式
    {
      "id": "minecraft:skeleton_skull",
      "Count": 1,
      // 可选的 nbt,
      "tag": {}
    }
    
{
  // 配置版本。除非你想冒险导致数据损坏,否则不要修改它!
  "config_version": 3,
  "protection": {
    // 坟墓对其他玩家的保护时间。设置为 -1 以使其无限。以秒为单位
    "non_owner_protection_time": 900,
    // 坟墓自毁的时间。设置为 -1 以禁用它。以秒为单位
    "self_destruction_time": 1800,
    // 使坟墓在过期/自毁后掉落物品
    "drop_items_on_expiration": true,
    // 允许攻击者访问坟墓,在 PvP 导向的服务器中很有用。
    "attackers_bypass_protection": false,
    // 使坟墓使用真实时间,而不仅仅是在世界/服务器运行时才进展。
    "use_real_time": false
  },
  "interactions": {
    // 死后访问坟墓的成本
    "unlocking_cost": { /* COST */ },
    // 启用给予死亡指南针,指向玩家的坟墓。
    "give_death_compass": true,
    // 使点击坟墓打开一个 UI。
    "enable_click_to_open_gui": true,
    // 启用通过按住 Shift 键并使用空手点击坟墓进行快速拾取。
    "shift_and_use_quick_pickup": true,
    // 允许玩家远程删除坟墓的保护。
    "allow_remote_protection_removal": true,
    // 允许玩家远程破坏坟墓。
    "allow_remote_breaking": true,
    // 允许玩家远程支付解锁坟墓的成本。
    "allow_remote_unlocking": false
  },
  "storage": {
    // 选择存储多少经验。
    // 可用类型:"none"、"vanilla"、"drop"、"percent_point"、"percent_level"
    "experience_type": "percent_points",
    // 对于"percent_X"类型存储的百分比数量
    "experience_percent:setting_value": 100.0,
    // 允许创建仅包含 XP 的坟墓
    "can_store_only_xp": false,
    // 启用使用替代经验球实体,以防止与某些模组的 XP 重复。
    "alternative_experience_entity": false,
    // 阻止带有附魔的物品添加到坟墓中。
    "blocked_enchantments": [
      "somemod:soulbound"
    ]
  },
  "placement": {
    // 限制每个玩家的坟墓数量。-1 是无限制的
    "player_grave_limit": -1,
    // 允许坟墓替换任何方块
    "replace_any_block": false,
    // 用于在起始位置周围搜索空闲位置的最大距离。
    "max_distance_from_source_location": 8,
    // 允许在失败时移动起始位置
    "shift_location_on_failure": true,
    // 允许的最大移动次数。
    "max_shift_tries": 5,
    // 移动的距离。
    "max_shift_distance": 40,
    // 使坟墓在流体之上生成,而不是在流体内部。
    "generate_on_top_of_fluids": false,
    // 使破碎的坟墓恢复替换的方块。
    "restore_replaced_block": false,
    // 使破碎的坟墓在玩家破坏它们后恢复替换的方块。
    "restore_replaced_block_after_player_breaking": true,
    // 不会生成坟墓的伤害类型。
    "cancel_creation_for_damage_types": {
      "minecraft:fire": "... 自定义消息或为空"
    },
    // 阻止坟墓创建的攻击者实体类型。
    "cancel_creation_for_ignored_attacker_types": {
      "minecraft:player": "... 自定义消息或为空"
    },
    // 阻止坟墓创建的谓词
    "blocking_predicates": [{/* PREDICATE */}],
    // 阻止在模组化的领地区域中创建坟墓。
    "block_in_protected_area": {
      "goml:claim_protection": true
    },
    // 阻止在整个世界中创建坟墓。
    "blacklisted_worlds": [
      "dungeons:world"
    ],
    // 阻止在区域中创建坟墓。
    "blacklisted_areas": {
      "minecraft:overworld": [
        {
          "x1": -100,
          "y1": -200,
          "z1": -100,
          "x2": 100,
          "y2": 500,
          "z2": 100,
        }
      ]
    },
    // 默认的坟墓创建失败消息。
    "creation_default_failure_text": "...",
    // 领地中的坟墓创建失败消息。
    "creation_claim_failure_text": "..."
  },
  "teleportation": {
    // 传送成本
    "cost": {/* COST */},
    // 最终确定传送之前的时间。
    "required_time": 5,
    // 与坟墓位置的 Y 偏移量。
    "y_offset": 1.0,
    // 玩家无敌的时间。
    "invincibility_time": 2,
    // 允许玩家在等待时移动。
    "allow_movement_while_waiting": false,
    // 发送给玩家的消息
    "text": {
      "timer": "...",
      "timer_allow_moving": "...",
      "location": "...",
      "canceled": "..."
    }
  },
  "model": {
    // 默认模型文件名称
    "default": "default",
    // 用于获取坟墓模型的替代方案。
    "alternative": [
      {
        "require": {/* PREDICATE */},
        "model": "model_name"
      }
    ],
    // 启用对 geyser 玩家的解决方法,使坟墓对他们看起来像骷髅。
    "enable_geyser_workaround": true,
    // 用于视觉/容器坟墓的基础物品。
    "gravestone_item_base": "minecraft:skeleton_skull",
    // 添加到物品的 NBT。
    "gravestone_item_nbt": {}
  },
  "ui": {/* UI 定义,修改文本, */},
  "text": {
    // 占位符中使用的日期格式。使用 https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html
    "date_format": "dd.MM.yyyy, HH:mm",
    // 世界名称的覆盖。
    "world_names": {
      "custom:world": "自定义世界!"
    }
  }
}
设置
"Minecraft"以及"我的世界"为美国微软公司的商标 本站与微软公司没有从属关系

本站与Modrinth无从属关系,网站遵循Modrinth网站程序的LGPL协议开源 开源地址

版权所有 © 2019-2024 青岛柒兮网络科技有限公司 | ICP经营许可证: 鲁B2-20210590 | ICP备案: 鲁ICP备2021009459号-12