CraftTweaker

CraftTweaker

151M Downloads

Recipe book display issue

WarlordWossman opened this issue ยท 1 comments

commented

Issue Description:

I made a 2x2 shaped crafting recipe which does only work with the vanilla recipe book if you have enough items to craft it at least once in your inventory. If you have less than 4 items in your inventory the recipe book will wrongly display the blueprint of the recipe.

What happens:

ct_bug_1

What you expected to happen:

ct_bug_2
Note: I can get the blueprint to work like the actual recipe with an altered script that uses null entries but that's not a sollution to my problem since it makes crafting this recipe in the player 2x2 grid impossible.
What I expect to happen is if you don't have enough items to craft the recipe it should display the blueprint right instead of putting the netherrack items in the wrong order (first picture).

Script used:

https://pastebin.com/u73Jvv8Q
(recipe of interest at line 38)

crafttweaker.log file:

https://pastebin.com/Er0UY8R2


Affected Versions (Do not use "latest"):

  • Minecraft: 1.12.2
  • Forge: 2836
  • Crafttweaker: 4.1.17

Your most recent log file where the issue was present:

https://pastebin.com/RZwRNWhD

commented

I can't reproduce this.

I used the same script, but replaced the quark item with a diamond.

With a single piece of netherrack in my inv:
image

With no netherrack in my inv:
image

With 4 netherrack in my inv after clicking the recipe

image