介绍
中文介绍正在准备中,下面暂时显示原文。
More Enchant Table Event
Adds an extensible event API to the enchanting table flow. Hook into every stage of enchanting with 4 new NeoForge events:
- AddToPool / RemoveFromPool – add or remove enchantments from the candidate pool (by
ResourceKeyorTagKey) - PoolBuilt – modify the final enchantment result and levels before they are applied
- EnchantItem – modify enchantments right before they are applied, with the table position available
All events are non-cancellable and provide easy access to the menu, player, item, slot, cost and registry.
Requirements: Minecraft 1.21.1 · NeoForge 21.1.x
为附魔台流程提供可扩展的事件 API。通过 4 个新的 NeoForge 事件,你可以介入附魔的每个阶段:
- AddToPool / RemoveFromPool —— 向附魔候选池添加 / 移除附魔(支持按
ResourceKey或TagKey) - PoolBuilt —— 在附魔应用到物品前修改最终附魔结果与等级
- EnchantItem —— 附魔即将应用到物品前修改附魔,并可获取附魔台坐标
所有事件均不可取消,并可方便地获取菜单、玩家、物品、槽位、消耗等级与注册表。
运行环境: Minecraft 1.21.1 · NeoForge 21.1.x
常见问题
More Enchant Table Event 支持哪些 Minecraft 版本?
More Enchant Table Event 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
More Enchant Table Event 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
yiran1457 的其他作品
查看全部 →One Enough Lib
by Flechazo098, MerrySnow 等
用于简化OE系列开发的前置库
264.9万
6 个月前
Modrinth · CurseForge
One Enough Item
by zhenshiz, Flechazo098 等
使用OEI,你可以轻松将重复物品替换为单一指定代表物品。
226万
3 个月前
Modrinth · CurseForge
keybindjs
by yiran1457
一个 KubeJS 添加内容
214.1万
1 年前
Modrinth · CurseForge
JEI Tetra
by yiran1457
新增 JEI 与 Tetra 兼容支持。
71.7万
2 个月前
CurseForge
评论
登录后评论和评分