I'm trying to get values from https://modrinth.com/mod/jobs-remastered
To be more precise, i would like to hide all the items from a mod until you get to a certain job level, simulating stages for forge 1.21.
I found this (image below) that could let me to what i'm looking for (aka unlocking recipe viewing in jei once you level up depending on the level and job) but i cannot find a way to implement this.
any idea ?
-# please
Edit : forgot to add the script i tried
event.remove('minecraft:white_bed')
console.info('Hello, World! (Loaded client example script)')
})
onJobLevelUp(event=> {
RecipeViewerEvents.removeEntries('item', event => {
event.remove('minecraft:red_bed')
})
console.info('it worked')
})
console.info('Hello, World! (Loaded client example script)')
At first i learned how to hide items, which works but not when leveling up, in fact : it is not defined
-# please do not judge, i'm using old coding knowledge, never done js ever and didn't code in years