Globox1997 / LevelZ

https://modrinth.com/mod/levelz
https://www.curseforge.com/minecraft/mc-mods/levelz
GNU General Public License v3.0
51 stars 50 forks source link

[Suggestion] Recipe Locking #91

Closed Miku0Sama closed 2 years ago

Miku0Sama commented 2 years ago

Datapacks along with kubeJS have the ability to manipulate and even remove recipes. Is it possible then, for recipes to be locked behind certain levels? I know this was something that had been done by other mods in the past (the names of which escape me) but I wasn't sure if it's something that could A) already be done using kubeJS with your mod or B) something that could be added using Fabric's API

Globox1997 commented 2 years ago

I have no idea if kubeJS supports something like that, never used it. There might be people who know this

Globox1997 commented 2 years ago

Ah wait since v1.3.0 you can restrict recipes with levels. https://github.com/Globox1997/LevelZ#7-crafting-since-version-130