加了暮色森林和禁忌与奥秘,禁忌mod里面有个永恒之石,在锻造台可以把其它武器弄成无限耐久,然后暮色森林有玻璃剑......无限耐久的玻璃剑太BUG了,只想Ban了玻璃剑在锻造台的佩方,然后在CT的wiki看了,试了import crafttweaker.api.recipe.SmithingRecipeManager;
SmithingRecipeManager.removeByName("twilightforest:glass_sword");
等等发现都不行......
希望有会CT的大佬说下如何操作

SmithingRecipeManager.removeByName("twilightforest:glass_sword");
等等发现都不行......
希望有会CT的大佬说下如何操作

smithing.removeByInput(<twilightforest:glass_sword>);
twilight2018 发表于 2023-9-18 15:43
smithing.removeByInput();
测试了,没用
- import crafttweaker.api.recipe.SmithingRecipeManager;
- smithing.remove(<item:minecraft:netherite_sword>);