小白做整合包不会复杂CT 如何删除模组里面的武器装备合成配方
recipes.remove(item, NBTMatch);
不能用吗?
https://crt.imc.wiki/Zen/easy/crafting-table/remove-recipes.html
不能用吗?
https://crt.imc.wiki/Zen/easy/crafting-table/remove-recipes.html
幻梦师 发表于 2022-8-3 20:20
recipes.remove(item, NBTMatch);
不能用吗?
https://crt.imc.wiki/Zen/easy/crafting-table/remove-recip ...
钢砧的不行,或者说模组合成配方强制加载,删不了,
recipes.remove(<betterwithmods:steel_helmet>);
https://docs.blamejared.com/1.12 ... etterWithMods/Anvil
必须要https://www.mcmod.cn/class/448.html
用的是
必须要https://www.mcmod.cn/class/448.html
用的是
mods.betterwithmods.Anvil.removeShaped( );
九耀龙翔 发表于 2022-8-4 02:31
https://docs.blamejared.com/1.12/en/Mods/Modtweaker/BetterWithMods/Anvil
必须要https://www.mcmod.cn/ ...
mods.betterwithmods.Anvil.removeShaped(IItemStack output, @Optional IIngredient[][] inputs);
mods.betterwithmods.Anvil.removeShaped(<betterwithmods:steel_helmet>);
mods.betterwithmods.Anvil.removeShaped(<betterwithmods:steel_helmet>,[
[<betterwithmods:material:14>, <betterwithmods:material:14>, <betterwithmods:material:14>, null],
[<betterwithmods:material:14>, null, null, <betterwithmods:material:42>],
[<betterwithmods:material:14>, null, null, <betterwithmods:material:42>],
[<betterwithmods:material:14>, <betterwithmods:material:14>, <betterwithmods:material:14>, null]
]);
我错在哪了
鼒岊先生 发表于 2022-8-4 15:42
mods.betterwithmods.Anvil.removeShaped(IItemStack output, @Optional IIngredient[][] inputs);
mods. ...
NOTE: Due to an old bug with ModTweaker, Anvil recipes are flipped diagonally (e.g., the dirt in the recipe below would be at the bottom left corner). This can be fixed by using the ShapedFixed versions - addShapedFixed and removeShapedFixed.
大概意思就是配方写的与实际是翻转的,用ShapedFixed写
mods.betterwithmods.Anvil.removeShapedFixed