MC百科社群

标题: crafttweaker报错 [打印本页]

作者: zqw9043    时间: 2022-7-9 20:53
标题: crafttweaker报错
家人们crafttwaeker报错
/ct syntax的错误提示如下
[ERROR]Parser Exception @ 新建文件夹.zs:1:0 : Type expected (got 闓): 新建文件夹.zs:1:0: Type expected (got 闓)
[ERROR]Parser Exception @ 新建文件夹.zs:5:4 : identifier expected : 新建文件夹.zs:5:4: identifier expected
看了半天愣是没看出他在报什么错
怎么改啊啊

作者: QQ酱238152    时间: 2022-7-9 21:04
发下内容啊亲而且友情提示最好不要中文
作者: zqw9043    时间: 2022-7-9 21:56
QQ酱238152 发表于 2022-7-9 21:04
发下内容啊亲而且友情提示最好不要中文

什么意思?
作者: zqw9043    时间: 2022-7-9 21:58
QQ酱238152 发表于 2022-7-9 21:04
发下内容啊亲而且友情提示最好不要中文

“闓”这个中文是他自己报错显示的,原文是门繁体里面加个“受”但是我不会打
作者: QQ酱238152    时间: 2022-7-10 00:27
zqw9043 发表于 2022-7-9 21:56
什么意思?

发下你.zs里写的内容呀
作者: YEsod    时间: 2022-7-10 17:47
等一个zs文件
作者: zqw9043    时间: 2022-7-10 20:33
本帖最后由 QQ酱29797 于 2022-7-11 17:23 编辑

[spoiler=脚本]var jixiehechengzhan=<item:siegemachines:siege_workbench>;
var null=<item:minecratf:air>;
var iron=<tag:items:forge:ingots/iron>;
var planks=<tag:items:minecraft:planks>;
var string=<tag:items:minecraft:wall_post_override>;
var chest=<tag:items:minecraft:chests/wooden>;
var bujichuan=<item:minecolonies:supplychestdeployer>;
var cogwheel=<item:create:cogwheel>;
var osmium=<tag:items:forge:ingots/osmium>;
var steel=<tag:items:forge:ingots/steel>;
var glass=<tag:items:forge:glass>;
var basic=<tag:items:forge:circuits/sbasic>;
var plateIron=<tag:items:forge:plates/iron>;
var cwall=<item:compactmachines:wall>;
//器械合成站
craftingTable.removeRecipe(jixiehechengzhan);
craftingTable.addShaped("jixiehechengzhan",jixiehechengzhan,[[null,<item:create:cogwheel>,null],[iron,<item:minecraft:crafting_table>,iron],[planks,<item:create:large_cogwheel>,planks]]);
//柯克船
craftingTable.removeRecipe(<item:smallships:oak_cog>);
craftingTable.addShaped("oak_cog",<item:smallships:oak_cog>,[[string,<item:create:cogwheel>,string],[chest,<item:smallships:sail_item>,chest],[<item:minecraft:oak_boat>,<item:minecraft:oak_boat>,<item:minecraft:oak_boat>]]);
craftingTable.removeRecipe(<item:smallships:spruce_cog>);
craftingTable.addShaped("spruce_cog",<item:smallships:spruce_cog>,[[string,<item:create:cogwheel>,string],[chest,<item:smallships:sail_item>,chest],[<item:minecraft:spruce_boat>,<item:minecraft:spruce_boat>,<item:minecraft:spruce_boat>]]);
craftingTable.removeRecipe(<item:smallships:birch_cog>);
craftingTable.addShaped("birch_cog",<item:smallships:birch_cog>,[[string,<item:create:cogwheel>,string],[chest,<item:smallships:sail_item>,chest],[<item:minecraft:birch_boat>,<item:minecraft:birch_boat>,<item:minecraft:birch_boat>]]);
craftingTable.removeRecipe(<item:smallships:jungle_cog>);
craftingTable.addShaped("jungle_cog",<item:smallships:jungle_cog>,[[string,<item:create:cogwheel>,string],[chest,<item:smallships:sail_item>,chest],[<item:minecraft:jungle_boat>,<item:minecraft:jungle_boat>,<item:minecraft:jungle_boat>]]);
craftingTable.removeRecipe(<item:smallships:acacia_cog>);
craftingTable.addShaped("acacia_cog",<item:smallships:acacia_cog>,[[string,<item:create:cogwheel>,string],[chest,<item:smallships:sail_item>,chest],[<item:minecraft:acacia_boat>,<item:minecraft:acacia_boat>,<item:minecraft:acacia_boat>]]);
craftingTable.removeRecipe(<item:smallships:dark_oak_cog>);
craftingTable.addShaped("dark_oak_cog",<item:smallships:dark_oak_cog>,[[string,<item:create:cogwheel>,string],[chest,<item:smallships:sail_item>,chest],[<item:minecraft:dark_oak_boat>,<item:minecraft:dark_oak_boat>,<item:minecraft:dark_oak_boat>]]);
//补给船
craftingTable.removeRecipe(bujichuan);
craftingTable.removeRecipe(<item:minecolonies:supplycampdeployer>);
craftingTable.addShaped("bujiachuan",bujichuan,[[cogwheel,<item:smallships:sail_item>,cogwheel],//[<item:minecraft:oak_boat>,<item:smallships:oak_cog>,<item:minecraft:oak_boat>],[planks,planks,planks]]);
craftingTable.addShaped("bujiachuan",bujichuan,[[cogwheel,<item:smallships:sail_item>,cogwheel],//[<item:minecraft:spruce_boat>,<item:smallships:spruce_cog>,<item:minecraft:spruce_boat>],[planks,planks,planks]]);
craftingTable.addShaped("bujiachuan",bujichuan,[[cogwheel,<item:smallships:sail_item>,cogwheel],//[<item:minecraft:birch_boat>,<item:smallships:birch_cog>,<item:minecraft:birch_boat>],[planks,planks,planks]]);
craftingTable.addShaped("bujiachuan",bujichuan,[[cogwheel,<item:smallships:sail_item>,cogwheel],//[<item:minecraft:jungle_boat>,<item:smallships:jungle_cog>,<item:minecraft:jungle_boat>],[planks,planks,planks]]);
craftingTable.addShaped("bujiachuan",bujichuan,[[cogwheel,<item:smallships:sail_item>,cogwheel],//[<item:minecraft:acacia_boat>,<item:smallships:acacia_cog>,<item:minecraft:acacia_boat>],[planks,planks,planks]]);
craftingTable.addShaped("bujiachuan",bujichuan,[[cogwheel,<item:smallships:sail_item>,cogwheel],//[<item:minecraft:dark_oak_boat>,<item:smallships:dark_oak_cog>,<item:minecraft:dark_oak_boat>],[planks,planks,planks]]);
//钢质机壳
craftingTable.removeRecipe(<item:mekanism:steel_casing>);
craftingTable.addShaped("steel_casing",<item:mekanism:steel_casing>,[[steel,basic,steel],[glass,osmium,glass],[steel,<item:createaddition:electric_motor>,steel]]);
//冶金灌注机
craftingTable.removeRecipe(<item:mekanism:metallurgic_infuser>);
craftingTable.addShaped("metallurgic_infuser",<item:mekanism:metallurgic_infuser>,[[steel,<item:minecraft:furnace>,steel],[<item:minecraft:redstone>,osmium,<item:minecraft:redstone>],[steel,<item:createaddition:electric_motor>,steel]]);
//反物质靶丸
craftingTable.removeRecipe(<item:mekanism:pellet_antimatter>);
craftingTable.addShapeless("pellet_antimatter",<item:mekanism:pellet_antimatter>,[<item:nuclearscience:cellantimattersmall>]);
//钚靶丸
craftingTable.removeRecipe(<item:mekanism:pellet_plutonium>);
craftingTable.addShapedless("pellet_plutonium",<item:mekanism:pellet_plutonium>,[<item:nuclearscience:yellowcake>]);
//压缩机
craftingTable.removeRecipe(<item:boss_tools:compressor>);
craftingTable.addShaped("boss_tools:compressor",<item:boss_tools:compressor>,[[steel,<item:minecraft:redstone>,steel],[<item:boss_tools:hammer>,<item:mekanism:steel_casing>,<item:boss_tools:hammer>],[steel,<item:minecraft:furnace>,steel]]);
//氧气装载机
craftingTable.removeRecipe(<item:boss_tools:oxygen_loader>);
craftingTable.addShaped("oxygen_loader",<item:boss_tools:oxygen_loader>,[[steel,<item:boss_tools:oxygen_tank>,steel],[steel,<item:mekanism:steel_casing>,steel],[steel,<item:minecraft:furnace>,steel]]);
//燃油精炼机
craftingTable.removeRecipe(<item:boss_tools:fuel_refinery>);
craftingTable.addShaped("fuel_refinery",<item:boss_tools:fuel_refinery>,[[steel,<item:minecraft:redstone>,steel],[<item:minecraft:bucket>,<item:mekanism:steel_casing>,<item:minecraft:bucket>],[steel,<item:minecraft:furnace>,steel]]);
//压缩空间机械
craftingTable.removeRecipe(<item:compactmachines:machine_tiny>);
craftingTable.addShaped("machine_tiny",<item:compactmachines:machine_tiny>,[[cwall,cwall,cwall],[cwall,<item:mekanism:qio_drive_base>,cwall],[cwall,cwall,cwall]]);
craftingTable.removeRecipe(<item:compactmachines:machine_small>);
craftingTable.addShaped("machine_small",<item:compactmachines:machine_small>,[[cwall,<item:minecraft:iron_block>,cwall],[cwall,<item:compactmachines:machine_tiny>,cwall],[cwall,<item:mekanism:qio_drive_hyper_dense>,cwall]]);
craftingTable.removeRecipe(<item:compactmachines:machine_normal>);
craftingTable.addShaped("machine_normal",<item:compactmachines:machine_normal>,[[cwall,<item:minecraft:gold_block>,cwall],[cwall,<item:compactmachines:machine_small>,cwall],[cwall,<item:mekanism:qio_drive_time_dilating>,cwall]]);
craftingTable.removeRecipe(<item:compactmachines:machine_large>);
craftingTable.addShaped("machine_large",<item:compactmachines:machine_large>,[[cwall,<item:minecraft:obsidian>,cwall],[cwall,<item:compactmachines:machine_normal>,cwall],[cwall,<item:mekanism:qio_drive_time_dilating>,cwall]]);
craftingTable.removeRecipe(<item:compactmachines:machine_giant>);
craftingTable.addShaped("machine_gaint",<item:compactmachines:machine_giant>,[[cwall,<item:minecraft:diamond_block>,cwall],[cwall,<item:compactmachines:machine_large>,cwall],[cwall,<item:mekanism:qio_drive_time_dilating>,cwall]]);
craftingTable.removeRecipe(<item:compactmachines:machine_maximum>);
craftingTable.addShaped("machine_maximum",<item:compactmachines:machine_maximum>,[[cwall,<item:minecraft:emerald_block>,cwall],[cwall,<item:compactmachines:machine_giant>,cwall],[cwall,<item:mekanism:qio_drive_supermassive>,cwall]]);[/spoiler]




欢迎光临 MC百科社群 (https://bbs.mcmod.cn/) MC百科|最大的MineCraft中文模组百科