Skip to content

Effect switchable when JEI is not installed. - #232

Open
Zershyan wants to merge 1 commit into
Magic-team-jvav:neoforge-dev/1.21.1from
Zershyan:patch-2
Open

Effect switchable when JEI is not installed.#232
Zershyan wants to merge 1 commit into
Magic-team-jvav:neoforge-dev/1.21.1from
Zershyan:patch-2

Conversation

@Zershyan

Copy link
Copy Markdown

To be precise, now you can toggle the effect even when there's no effect tooltip.

When JEI is installed, the effect will render as a square, and then they have tooltips.
But when JEI isn't installed, there won't be any tooltips, so the switch feature can't be used.

准确的说,现在可以在没有药水效果tooltip的时候开关它了
装了JEI之后,药水效果会被jei挤的只渲染一个正方形,这时候就会有tooltip,才可以开关它
但是当没有安装JEI,药水效果会以条状长方形渲染,是没有tooltip的,开关不了它

pr修复了这个问题

@westernat

Copy link
Copy Markdown
Collaborator

do you know, parameters before CallbackInfo is not necessary

@Zershyan

Copy link
Copy Markdown
Author

你知道吗,CallbackInfo之前的参数其实不是必须的

我知道这个,只是编译器没有标灰色我就没管(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants