#jei Not removing items

15 messages · Page 1 of 1 (latest)

twilit anvil
#

Im trying to remove the upgrades from Iron Chest. I already removed the recipes but now I want to make it so they dont show up in JEI at all. I have attached a screenshot of my code and it is located in client scripts. I also tried doing without Item of with no results

wet lindenBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

onyx musk
#

pictures of code shall be banished

random spindle
#

still waiting on them xD

twilit anvil
#
    event.hide(Item.of('ironchest:wood_to_copper_chest_upgrade'))
    event.hide(Item.of('ironchest:copper_to_iron_chest_upgrade'))
    event.hide(Item.of('ironchest:iron_to_gold_chest_upgrade'))
    event.hide(Item.of('ironchest:gold_to_diamond_chest_upgrade'))
    event.hide(Item.of('ironchest:diamond_to_obsidian_chest_upgrade'))
    event.hide(Item.of('ironchest:diamond_to_crystal_chest_upgrade'))
    event.hide(Item.of('ironchest:wood_to_iron_chest_upgrade'))
  })
random spindle
#

and it didnt work?

twilit anvil
#

yup

random spindle
#

how did you reload the scripts to take effect?

twilit anvil
#

I had lowercase I's in item before Im testing that fix real quick

random spindle
#

you can just leave the ID itself

twilit anvil
#

I tried that as well

#

testing by fully restarting the game

#

aparently capitalizing the I worked. I have no idea why just the string didnt work though

random spindle
#

maybe you didnt reload correctly