|
(防止大佬因为图片加载不出来而心态爆炸我这边贴一个文字版的)
实际脚本:
import crafttweaker.item.IItemStack;
val r as IItemStack[] = [<minecraft:diamond_block>];
val i as IItemStack[] = [<minecraft:barrier>];
mods.hwell.addCustomCoreRecipe(<hwell:core_sentient>,<hwell:shard_o>,r,i);
mods.hwell.addCustomCoreRecipe(<hwell:core_sentient>,<hwell:shard_o>,[<minecraft:diamond_block>],[<minecraft:barrier>]);
Crt的Log文件
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit]]
[PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [preinit]
[PREINITIALIZATION][CLIENT][INFO] [preinit | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: HearthWell.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] Completed script loading in: 2ms
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit], [contenttweaker]]
[PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [contenttweaker]
[PREINITIALIZATION][CLIENT][INFO] [contenttweaker | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: HearthWell.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] Completed script loading in: 0ms
[PREINITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit], [contenttweaker], [hwell_core_recipes]]
[PREINITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [hwell_core_recipes]
[PREINITIALIZATION][CLIENT][INFO] [hwell_core_recipes | SIDE_CLIENT]: Skipping file {[0:crafttweaker]: HearthWell.zs} as we are currently loading with a different loader
[PREINITIALIZATION][CLIENT][INFO] Completed script loading in: 0ms
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Building registry
[INITIALIZATION][CLIENT][INFO] CraftTweaker: Successfully built item registry
[INITIALIZATION][CLIENT][INFO] Current loaders after merging: [[preinit], [contenttweaker], [hwell_core_recipes], [recipeevent | crafttweaker]]
[INITIALIZATION][CLIENT][INFO] Loading scripts for loader with names [crafttweaker | recipeevent]
[INITIALIZATION][CLIENT][INFO] [crafttweaker | SIDE_CLIENT]: Loading Script: {[0:crafttweaker]: HearthWell.zs}
[INITIALIZATION][CLIENT][ERROR] HearthWell.zs:7 > a method available but none matches the parameters (ZenTypeNative: crafttweaker.item.IItemStack, ZenTypeNative: crafttweaker.item.IItemStack, ZenTypeNative: crafttweaker.item.IItemStack[], ZenTypeNative: crafttweaker.item.IItemStack[])
This is usually an error in your script, not in the mod
addCustomCoreRecipe(string, string, ZenTypeNative: null.null[], ZenTypeNative: null.null[])
[INITIALIZATION][CLIENT][ERROR] HearthWell.zs:9 > a method available but none matches the parameters (ZenTypeNative: crafttweaker.item.IItemStack, ZenTypeNative: crafttweaker.item.IItemStack, ZenTypeNative: null.null[], ZenTypeNative: null.null[])
This is usually an error in your script, not in the mod
addCustomCoreRecipe(string, string, ZenTypeNative: null.null[], ZenTypeNative: null.null[])
[INITIALIZATION][CLIENT][INFO] Completed script loading in: 444ms
[POSTINITIALIZATION][CLIENT][INFO] Removing recipes for various outputs
[AVAILABLE][CLIENT][INFO] Fixed the RecipeBook
|
|