[1.16.4] 使用配置文件控制注册 #97
Unanswered
SihenZhang
asked this question in
Q&A
Replies: 3 comments
-
这当然是不可能而且是被反复*强烈不推荐*的。
…On Wed, Jan 13, 2021 at 12:08 AM SihenZhang ***@***.***> wrote:
我希望能够使用配置文件来控制物品、方块等的注册,但是根据 Forge 官方文档
<https://mcforge.readthedocs.io/en/1.15.x/concepts/registries/#register-events>
,注册事件在配置文件加载前触发。
所以有什么办法能够实现利用配置文件来控制注册。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#97>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACFQ3SNTYDNJF7SSXGWS6TLSZVIJFANCNFSM4WAM7FMA>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
个人观点,我感觉不用取消注册,禁用合成表就足够了。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
禁用合成方式、在创造物品栏里隐藏是比较温和的方式。 如果一定要通过配置文件控制,可以参考OpenLoader强制加载配置文件的方式。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我希望能够使用配置文件来控制物品、方块等的注册,但是根据 Forge 官方文档,注册事件在配置文件加载前触发。
所以有什么办法能够实现利用配置文件来控制注册。
Beta Was this translation helpful? Give feedback.
All reactions