CraftTweaker

CraftTweaker

151M Downloads

[JEI] Can't display wildcard metadata

SettingDust opened this issue · 5 comments

commented

Intro:

JEI can't display the item with wildcard metadata

mezz/JustEnoughItems#2098

Issue Description:

jei_1.12.2-4.16.1.302
CraftTweaker2-1.12-4.1.20.589

What happens:

JEI
图片

Minecraft
图片
图片

What you expected to happen:

Craft

Script used (Please pastebin.com or gist.github.com your script, posting an unpasted or ungist'd script will automatically close this issue. We are NOT going to download files, do NOT upload your file to this issue, please give us a link to a paste / gist of the file):

val runeStone = <ebwizardry:runestone:*>;
val runeStonePedestal = <ebwizardry:runestone_pedestal:*>;

recipes.addShaped("Waystone", <waystones:waystone>, 
[
    [null,              runeStone,              null],
    [runeStone,         <waystones:warp_stone>, runeStone],
    [runeStonePedestal, runeStonePedestal,      runeStonePedestal],
]);

https://paste.ubuntu.com/p/8qPf8fSDNr/

crafttweaker.log file (Please pastebin.com or gist.github.com your file, posting an unpasted or ungist'd file will automatically close this issue. We are NOT going to download files, do NOT upload your file to this issue, please give us a link to a paste / gist of the file.):

https://paste.ubuntu.com/p/mZ3mm4WqJ8/


Affected Versions (Do not use "latest"):

  • Minecraft: 1.12.2
  • Forge:
  • Crafttweaker: 1.12-4.1.20.589
  • JEI: 1.12.2-4.16.1.302
  • Using a server: Yes
  • If yes, does the client have the exact same scripts? Yes

Your most recent log file where the issue was present (Please pastebin.com or gist.github.com your file, posting an unpasted or ungist'd file will automatically close this issue. We are NOT going to download files, do NOT upload your file to this issue, please give us a link to a paste / gist of the file.):

https://paste.ubuntu.com/p/Sjb5d55P3Q/

commented

When you say:

JEI can't display the item with wildcard metadata

What do you mean?
Do you mean how JEI will cycle the item it displays, like if you used a wildcard for logs it will cycle through all the different logs?

What does:

val runeStone = <ebwizardry:runestone:*>;
val runeStonePedestal = <minecraft:wool:*>;

recipes.addShaped("Waystone", <waystones:waystone>, 
[
    [null,              runeStone,              null],
    [runeStone,         <waystones:warp_stone>, runeStone],
    [runeStonePedestal, runeStonePedestal,      runeStonePedestal],
]);

produce?

commented

When you say:

JEI can't display the item with wildcard metadata

What do you mean?
Do you mean how JEI will cycle the item it displays, like if you used a wildcard for logs it will cycle through all the different logs?

What does:

val runeStone = <ebwizardry:runestone:*>;
val runeStonePedestal = <minecraft:wool:*>;

recipes.addShaped("Waystone", <waystones:waystone>, 
[
    [null,              runeStone,              null],
    [runeStone,         <waystones:warp_stone>, runeStone],
    [runeStonePedestal, runeStonePedestal,      runeStonePedestal],
]);

produce?

JEI will display the recipe in it's gui. But the item with a wildcard meta define in CrT won't display. Like this

But it's should be (Of course there is cycle items)

commented

Yea, can you test using vanilla items with wildcards (like wool and logs), it could be an issue with ebwizardry since I know for a fact that our wildcard stuff works for vanilla and all other modded items (this would be the first that I'm hearing of it causing issues)

commented

Well. Wool is ok. And sponge I tested as well.
Why is it? How can I fix it.
Now I'm adding them to a oreDict. And it's working

commented

So if it works for other items, then it is definitely an issue for ebwizardy.

They may be doing sub items in a weird way, but there is nothing that I or JEI could do on our sides.