CraftTweaker 支持
官方wiki
拓展合成
- mods.extendedcrafting.TableCrafting.addShaped(等级, 输出, 输入); //有序配方
- mods.extendedcrafting.TableCrafting.addShapeless(等级, 输出, 输入); //无序配方
- mods.extendedcrafting.TableCrafting.remove(输出); //移除配方
复制代码
等级:这个合成所需要的工作台的等级,基础1,高级2,精英3,终极4。如果是0,则对该配方所需的工作台没有限制,只要工作台摆得下这个配方即可。这个参数可以省略,默认值为0。
输出:这个配方的成品
输入:配方材料,为IIngredient二维数组。无序为一维数组。
末影合成
- mods.extendedcrafting.EnderCrafting.addShaped(输出, 输入, 时间); //有序配方
- mods.extendedcrafting.EnderCrafting.addShapeless(输出, 输入, 时间); //无序配方
- mods.extendedcrafting.EnderCrafting.remove(输出); //移除配方
复制代码
与原版工作台非常类似不是吗?
时间参数为这个配方所需的时间,单位为秒。可以省略,将会使用配置文件中的默认末影合成所需时间。
组合合成
- // 添加配方
- mods.extendedcrafting.CombinationCrafting.addRecipe(输出, 能量消耗, 中央物品, [放在基座上的物品]);
- mods.extendedcrafting.CombinationCrafting.addRecipe(输出, 能量消耗, 能量消耗功率, 中央物品, [放在基座上的物品]);
- // 移除配方
- mods.extendedcrafting.CombinationCrafting.remove(输出);
复制代码
放在基座上的物品是一个IIngredient数组,包含的物品最多48个。
例子
- mods.extendedcrafting.CombinationCrafting.addRecipe(<minecraft:stick> * 10, 10000, 100, <minecraft:diamond>, [<ore:ingotIron>, <minecraft:stick>]);
复制代码
压缩合成
- // 添加配方
- mods.extendedcrafting.CompressionCrafting.addRecipe(输出, 输入, 输入物品数量, 催化剂物品, 能量消耗);
- mods.extendedcrafting.CompressionCrafting.addRecipe(输出, 输入, 输入物品数量, 催化剂物品, 能量消耗, 能量消耗功率);
- // 移除配方
- mods.extendedcrafting.CompressionCrafting.remove(输出);
复制代码
配方制作器
手持其右键扩展工作台或末影工作台,可以将其内部的物品ID和形状保存下来,可以直接复制到zs中,这样你只需要在另外填输出物品就行。Shift+右键切换有序/无序模式。
配置文件
- # Configuration file
- ##########################################################################################################
- # automation_interface
- #--------------------------------------------------------------------------------------------------------#
- # Settings for the Automation Interface.
- ##########################################################################################################
- automation_interface {
- # Should the Automation Interface be enabled? [default: true]
- # 是否启用自动化接口?
- B:enabled=true
- # How much FE the Automation Interface should hold. [range: 0 ~ 2147483647, default: 1000000]
- # 自动化接口能存多少FE?
- I:energy_capacity=1000000
- # How much FE the Automation Interface should use when moving items. [range: 0 ~ 100000, default: 80]
- # 自动化接口的耗电功率?
- I:energy_rate=80
- # Should the Automation Interface render the result item inside it? [default: true]
- # 自动化接口是否要渲染所保存的配方的成品
- B:render_item=true
- }
- ##########################################################################################################
- # combination_crafting
- #--------------------------------------------------------------------------------------------------------#
- # Settings for the Crafting Core.
- ##########################################################################################################
- combination_crafting {
- # Should the Crafting Core and Pedestal be enabled? [default: true]
- # 是否启用组合合成
- B:enabled=true
- # How much FE the Crafting Core should hold. [range: 0 ~ 2147483647, default: 5000000]
- # 合成核心能存多少电?
- I:energy_capacity=5000000
- # How much FE/t the Crafting Core should use when crafting by default. [range: 0 ~ 2147483647, default: 500]
- # 默认合成核心的耗电功率?
- I:energy_rate=25000
- }
- ##########################################################################################################
- # ender_crafting
- #--------------------------------------------------------------------------------------------------------#
- # Settings for the Ender Crafter.
- ##########################################################################################################
- ender_crafting {
- # How much an Ender Alternator should speed up a craft. This is the percentage of time_required. [range: 0.0 ~ 1.0, default: 0.01]
- # 末影发电机对末影合成的效率影响?
- S:alternator_effectiveness=0.01
- # Should the Ender Crafter and Ender Alternator be enabled? [default: true]
- # 末影合成是否启用
- B:enabled=true
- # How many seconds each craft should take. [range: 1 ~ 2147483647, default: 60]
- # 末影合成所需时间(单位为秒)
- I:time_required=60
- }
- ##########################################################################################################
- # general
- #--------------------------------------------------------------------------------------------------------#
- # Settings for general things.
- ##########################################################################################################
- general {
- # Should WAILA show the current energy of Extended Crafting machines? [default: true]
- # waila是否能显示该mod的机器的能量存储量?
- B:energy_in_waila=true
- # Should the In-Game Guide Book be enabled? [default: true]
- # 游戏内说明书是否启用?
- B:guide_enabled=true
- # Should the Handheld Crafting Table be enabled? [default: true]
- # 扩展合成台是否能保存物品?
- B:handheld_table_enabled=true
- }
- ##########################################################################################################
- # quantum_compression
- #--------------------------------------------------------------------------------------------------------#
- # Settings for the Quantum Compressor.
- ##########################################################################################################
- quantum_compression {
- # Should the Quantum Compressor be enabled? [default: true]
- # 量子压缩机是否启用?
- B:enabled=true
- # How much FE the Quantum Compressor should hold. [range: 0 ~ 2147483647, default: 10000000]
- # 量子压缩机能存多少电?
- I:energy_capacity=10000000
- # How much FE/t the Quantum Compressor should use when crafting by default. [range: 0 ~ 2147483647, default: 5000]
- # 默认量子压缩机的耗电功率?
- I:energy_rate=5000
- # Should the Quantum Compressor render the result item above it? [default: true]
- # 量子压缩机是否渲染成品?
- B:render_item=true
- }
- ##########################################################################################################
- # recipe_maker
- #--------------------------------------------------------------------------------------------------------#
- # Settings for the Recipe Maker.
- ##########################################################################################################
- recipe_maker {
- # Should the Recipe Maker be enabled? [default: true]
- # 是否启用配方制作器
- B:enabled=true
- # Should the Recipe Maker also copy the NBT of the ingredients? [default: false]
- # 配方制作器是否复制材料的NBT
- B:use_nbt=false
- # Should the Recipe Maker use OreDictionary entries when applicable? [default: true]
- # 配方制作器是否尽量使用矿辞?
- B:use_oredictionary=true
- }
- ##########################################################################################################
- # singularity
- #--------------------------------------------------------------------------------------------------------#
- # Settings for the Singularities.
- ##########################################################################################################
- singularity {
- # Here you can add your own custom Singularities.
- # - Syntax: meta;name;material;color
- # - Example: 12;super_potato;minecraft:carrot;123456
- # - 'meta' must be different for each, and should not be changed.
- # - 'name' should be lower case with underscores for spaces. Singularity is added automatically.
- # - Example: 'lots_of_spaghetti' would show 'Lots Of Spaghetti Singularity'.
- # - 'material' is an item id or ore dictionary entry. This is for the generic crafting recipe.
- # - Note: if you plan on adding your own recipe with the CraftTweaker integration, put 'none'.
- # - Examples: 'minecraft:stone' for stone, 'ore:ingotIron' for the ore dictionary entry 'ingotIron'.
- # - Note: you can also specify meta for item ids, by adding them to the end of the item id.
- # - Example: minecraft:stone:3 for a meta of 3. Make the meta 32767 for wildcard value.
- # - 'color' the color of the singularity as a hex value. [url]http://htmlcolorcodes.com/[/url]
- # - Example: 123456 would color it as whatever that color is.
- # 这里可以添加自定义奇点
- # 语法:meta;name;material;color
- # 例子:12;super_potato;minecraft:carrot;123456
- # 'meta'必须依次不同,而且不应该改变
- # 'name'应该为全部是小写字母或下划线(蛇形命名)奇点将会自动添加
- # 比如'lots_of_spaghetti'将会显示'Lots Of Spaghetti Singularity 奇点'
- # 'material'是一个物品或者一个矿辞,用于制作该奇点所需的物品
- # 提示:如果你想用CraftTweaker来设定,这里填'none'
- # 比如'minecraft:stone' 石头,'ore:ingotIron'铁锭矿辞
- # 提示:在ID后面填meta
- # 比如minecraft:stone:3代表带有3的meta值的石头,填32767为meta通配符
- # 'color'为这个奇点的颜色(十六进制)[url]http://htmlcolorcodes.com/[/url]
- # Example: 123456 would color it as whatever that color is.
- S:custom_singularities <
- >
- # The catalyst required for the default Singularity recipes. modid:itemid:metadata [default: extendedcrafting:material:11]
- # 制作奇点默认使用的催化剂
- S:default_catalyst=extendedcrafting:material:11
- # Should the default Singularity recipes be enabled? [default: true]
- # 默认添加的奇点是否启用
- B:default_recipes=true
- # Disable specific default singularities here.
- # 在这里禁用特定的默认奇点
- S:default_singularities <
- coal=true
- iron=true
- lapis_lazuli=true
- redstone=true
- glowstone=true
- gold=true
- diamond=true
- emerald=true
- aluminum=true
- copper=true
- tin=true
- bronze=true
- zinc=true
- brass=true
- silver=true
- lead=true
- steel=true
- nickel=true
- constantan=true
- electrum=true
- invar=true
- mithril=true
- tungsten=true
- titanium=true
- uranium=true
- chrome=true
- platinum=true
- iridium=true
- signalum=true
- lumium=true
- enderium=true
- ardite=true
- cobalt=true
- manyullyn=true
- >
- # Should the Singularities be enabled? [default: true]
- # 是否启用奇点
- B:enabled=true
- # The amount of RF required to craft a Singularity, for the default recipes. [range: 0 ~ 2147483647, default: 5000000]
- # 默认制作一个奇点需要多少RF
- I:energy_cost=5000000
- # The amount of materials required to create a Singularity, for the default recipes. [range: 1 ~ 2147483647, default: 10000]
- # 默认制作一个奇点需要多少物品
- I:material_amount=10000
- # Should the default Ultimate Singularity recipe be enabled? [default: true]
- # 是否启用终极奇点
- B:ultimate_singularity_recipe=true
- # Blacklist Singularities from being in the Ultimate Singularity crafting recipe.
- # - Syntax: singularityType;meta
- # - 'singularityType' can be 'default' or 'custom'.
- # - 'default' for **s added by the mod by default, 'custom' being **s defined in '_custom_singularities'.
- # - Example: custom;12
- # 终极奇点配方不需要的奇点名单
- # 语法:singularityType;meta
- # 'singularityType'可以是'default'(默认)或'custom'(自定义)
- S:ultimate_singularity_recipe_blacklist <
- >
- }
- ##########################################################################################################
- # table_crafting
- #--------------------------------------------------------------------------------------------------------#
- # Settings for the Extended Crafting Tables.
- ##########################################################################################################
- table_crafting {
- # Should the Extended Crafting Tables be enabled? [default: true]
- # 是否启用扩展工作台
- B:enabled=true
- # Should the Basic Crafting Table inherit normal crafting recipes? [default: true]
- # 基础工作台是否可以当做原版工作台使用?
- B:inherit_vanilla_recipes=true
- }
复制代码
|