Crust
来源:
讨论:
如果你发现任何错误或问题,请使用 GitHub 问题跟踪器,可以通过 GitHub 链接或“报告问题”链接访问。
对于功能请求,请在 GitHub 问题跟踪器中提交工单或在 Discord 上提问!
Crust 是一个代码库和测试工具包,旨在让部分玩家的生活更轻松,并提供一些非常基础的游戏玩法功能。所有内容均可配置。
测试工具包:
该工具包的主要功能是在物品栏界面中添加一组可自定义且可绑定按键的命令驱动按钮。目前有 19 个内置按钮和 16 个用户定义按钮(选择其外观并设置你想要它运行的命令)。此外,该模组允许你为新创建的世界配置默认游戏规则。
Crust 模式:
主要用于测试目的的其他玩家能力。新玩家的起始模式、更改每种模式所需的 OP 等级、部分客户端偏好以及服务器限制均可配置。
默认情况下,唯一对新玩家启用且不需要“作弊能力”的模式是 Magnet。
可用模式:
- Magnet - 将附近的物品拉向你。
- Undying - 完全恢复生命值而不是死亡。
- Unbreaking - 频繁地完全修复你的物品(注意:这不会阻止它们受到伤害)。
- Uneating - 当饱食度低于阈值时恢复饱食度。
- Destroy-on-pickup - 管理物品栏杂乱。摧毁所有试图侵入你物品栏的物品!
- Super vision - 持续夜视,禁用(水下)雾化和失明效果。
- Super speed - 增加疾跑速度。
命令:
额外的物品栏按钮和“Crust 模式”管理由命令驱动。以下是它们的工作原理!
可用命令:
- /crustclean pointer [<player>] - 销毁指向的物品。
- /crustmode [<player>] - 检查当前激活的 Crust 模式。
- /crustmode <mode> (disable|<value>) [<players>] - 启用或禁用 Crust 模式。
- /crustportal (<portal_type>) [<target>] - 创建维度传送门。
- /crustrecover [all|health|hunger|effects] [<targets>] - 恢复生命值/饱食度和/或移除所有负面效果。
配置管理:
Crust 提供了自己的配置实现,作为 Forge 配置的替代方案。
Crust 配置的主要功能:
- 模组开发者易于实现配置,玩家易于使用配置。
- 按照你想要的方式组织和格式化配置。
- 通过 GUI 在游戏中编辑(并非所有字段类型都支持!)。
- 有用的内置字段类型以及实现自定义字段的能力。
其他模组开发实用工具:
- 进度加载事件。
- 方块实体边界框渲染器(仅在 F3+B 开启时运行的简单渲染器)。
- /crustportal 命令的传送门注册表。
- 数据生成工具(目前仅有战利品表构建器)。
- 命名的 setBlock 标志和实体/层级事件代码。
- NBT 和杂项数学辅助函数。
Crust
Source:
Discussion:
If you find any bugs or issues, please use the GitHub issues tracker, accessible from the GitHub link or the "Report issues" link.
For feature requests, please submit a ticket in the GitHub issues tracker or ask on Discord!
Crust is a code library and testing toolkit designed to make some people's lives easier and provide some very basic gameplay features. Everything is configurable.
The testing toolkit:
The primary feature of this toolkit is a set of customizable and keybindable command-driven buttons added to the inventory screen. There are currently 19 built-in buttons and 16 user-defined buttons (pick its look and slap in whatever commands you want it to run). As an added bonus, the mod allows you to configure the default game rules for newly created worlds.
Crust modes:
Additional player capabilities mainly for testing purposes. The starting modes for new players, required OP level to change each mode, some client preferences, and server limitations are all configurable.
By default, the only mode that is enabled for new players and does not require 'cheating ability' is Magnet.
Available modes:
- Magnet - Pull nearby items toward you.
- Undying - Fully recover instead of dying.
- Unbreaking - Frequently fully repairs your items (note: does NOT prevent them from taking damage).
- Uneating - Restore food level when it drops below a threshold.
- Destroy-on-pickup - Manage inventory clutter. Destroy all items that try to invade your inventory!
- Super vision - Continuous night vision, disables (water) fog and blindness.
- Super speed - Increases sprint speed.
Commands:
Extra inventory buttons and 'Crust mode' management are command-driven. This is how they work!
Available commands:
- /crustclean pointer [<player>] - Destroy item on pointer.
- /crustmode [<player>] - Check active Crust modes.
- /crustmode <mode> (disable|<value>) [<players>] - Enable or disable a Crust mode.
- /crustportal (<portal_type>) [<target>] - Create a dimension portal.
- /crustrecover [all|health|hunger|effects] [<targets>] - Restore health/hunger and/or remove all negative effects.
Config management:
Crust provides its own config implementation as an alternate to Forge's configs.
Key features of Crust configs:
- Easy for modders to implement configs, easy for players to use configs.
- Organize and format your configs the way you want them.
- Editable in-game through GUI (not all field types are supported yet!).
- Useful built-in field types and the ability to implement your own.
Other modding utilities:
- Advancement load event.
- Tile entity bounding box renderer (simple renderers than only run when F3+B is on).
- Portal registry for /crustportal command.
- Data gen tools (currently just a loot table builder).
- Named setBlock flags and entity/level event codes.
- NBT and miscellaneous math helpers.
评论 0
登录后参与评分
还没有评论,来抢沙发吧