diff --git a/generators.yml b/generators.yml index 5aab3f0..c7167d5 100644 --- a/generators.yml +++ b/generators.yml @@ -3,7 +3,7 @@ RSC_EXAMPLE_GENERATOR: item_group: rsc_example_sub_group item: name: "&c示例发电机" - material: GOLD_BLOCK + material: sea_lantern capacity: 100000 production: 100 input: [10,11] diff --git a/groups.yml b/groups.yml index bcf9160..f130c6f 100644 --- a/groups.yml +++ b/groups.yml @@ -50,14 +50,6 @@ rsc_example_console_group: actions: - "console say 示例控制台指令组" -rsc_example_tier_10086_group: - type: sub - parent: rsc_example_parent_group - tier: 10086 - item: - name: "&e示例优先级10086组" - material: IRON_ORE - rsc_example_tier_2_group: type: sub parent: rsc_example_parent_group @@ -66,6 +58,14 @@ rsc_example_tier_2_group: name: "&e示例优先级2组" material: GOLD_ORE +rsc_example_tier_10086_group: + type: sub + parent: rsc_example_parent_group + tier: 10086 + item: + name: "&e示例优先级10086组" + material: IRON_ORE + rsc_example_tier_1_group: type: sub parent: rsc_example_parent_group diff --git a/items.yml b/items.yml index 4b64ffc..5287c7e 100644 --- a/items.yml +++ b/items.yml @@ -2,57 +2,63 @@ RSC_EXAMPLE_PLACEHOLDER_1: item_group: rsc_example_normal_group item: - name: "占位符1" + name: "&e占位符1" material: BLUE_STAINED_GLASS_PANE RSC_EXAMPLE_PLACEHOLDER_2: item_group: rsc_example_sub_group item: - name: "占位符2" + name: "&e占位符2" material: BLUE_STAINED_GLASS_PANE RSC_EXAMPLE_PLACEHOLDER_3: item_group: rsc_example_seasonal_group item: - name: "占位符3" + name: "&e占位符3" material: BLUE_STAINED_GLASS_PANE RSC_EXAMPLE_PLACEHOLDER_4: item_group: rsc_example_locked_group item: - name: "占位符4" + name: "&e占位符4" material: BLUE_STAINED_GLASS_PANE RSC_EXAMPLE_PLACEHOLDER_5: item_group: rsc_example_link_group item: - name: "占位符5" + name: "&e占位符5" material: BLUE_STAINED_GLASS_PANE RSC_EXAMPLE_PLACEHOLDER_6: item_group: rsc_example_console_group item: - name: "占位符6" + name: "&e占位符6" material: BLUE_STAINED_GLASS_PANE RSC_EXAMPLE_PLACEHOLDER_7: item_group: rsc_example_tier_1_group item: - name: "占位符7" + name: "&e占位符7" material: BLUE_STAINED_GLASS_PANE RSC_EXAMPLE_PLACEHOLDER_8: item_group: rsc_example_tier_2_group item: - name: "占位符8" + name: "&e占位符8" + material: BLUE_STAINED_GLASS_PANE + +RSC_EXAMPLE_PLACEHOLDER_9: + item_group: rsc_example_tier_10086_group + item: + name: "&e占位符9" material: BLUE_STAINED_GLASS_PANE RSC_EXAMPLE_LATEINIT_ITEM_1: lateInit: true item_group: rsc_example_sub_group item: - name: "延时加载物品 1" - material: stick + name: "&e延时加载物品 1" + material: soul_lantern recipe_type: ENHANCED_CRAFTING_TABLE recipe: 5: @@ -62,8 +68,8 @@ RSC_EXAMPLE_LATEINIT_ITEM_1: RSC_EXAMPLE_RECIPED_ITEM_1: item_group: rsc_example_sub_group item: - name: "可合成物品 1" - material: stick + name: "&e自定义配方类型物品 1" + material: crafting_table recipe_type: ENHANCED_CRAFTING_TABLE recipe: 1: @@ -78,8 +84,8 @@ RSC_EXAMPLE_RECIPED_ITEM_1: RSC_EXAMPLE_RECIPED_ITEM_2: item_group: rsc_example_sub_group item: - name: "可合成物品 2" - material: stick + name: "&e自定义配方类型物品 2" + material: anvil recipe_type: ARMOR_FORGE recipe: 1: @@ -95,8 +101,8 @@ RSC_EXAMPLE_RECIPED_ITEM_2: RSC_EXAMPLE_RECIPED_ITEM_3: item_group: rsc_example_sub_group item: - name: "可合成物品 3" - material: stick + name: "&e自定义配方类型物品 3" + material: dispenser recipe_type: GRIND_STONE recipe: 1: @@ -106,8 +112,8 @@ RSC_EXAMPLE_RECIPED_ITEM_3: RSC_EXAMPLE_RECIPED_ITEM_4: item_group: rsc_example_sub_group item: - name: "可合成物品 4" - material: stick + name: "&e自定义配方类型物品 4" + material: furnace recipe_type: SMELTERY recipe: 1: @@ -120,8 +126,8 @@ RSC_EXAMPLE_RECIPED_ITEM_4: RSC_EXAMPLE_RECIPED_ITEM_5: item_group: rsc_example_sub_group item: - name: "可合成物品 5" - material: stick + name: "&e自定义配方类型物品 5" + material: dispenser recipe_type: ORE_CRUSHER recipe: 1: @@ -131,8 +137,8 @@ RSC_EXAMPLE_RECIPED_ITEM_5: RSC_EXAMPLE_RECIPED_ITEM_6: item_group: rsc_example_sub_group item: - name: "可合成物品 6" - material: stick + name: "&e自定义配方类型物品 6" + material: piston recipe_type: COMPRESSOR recipe: 1: @@ -142,8 +148,8 @@ RSC_EXAMPLE_RECIPED_ITEM_6: RSC_EXAMPLE_RECIPED_ITEM_7: item_group: rsc_example_sub_group item: - name: "可合成物品 7" - material: stick + name: "&e自定义配方类型物品 7" + material: glass recipe_type: PRESSURE_CHAMBER recipe: 1: @@ -153,8 +159,8 @@ RSC_EXAMPLE_RECIPED_ITEM_7: RSC_EXAMPLE_RECIPED_ITEM_8: item_group: rsc_example_sub_group item: - name: "可合成物品 8" - material: stick + name: "&e自定义配方类型物品 8" + material: cauldron recipe_type: ORE_WASHER recipe: 1: @@ -164,8 +170,8 @@ RSC_EXAMPLE_RECIPED_ITEM_8: RSC_EXAMPLE_RECIPED_ITEM_9: item_group: rsc_example_sub_group item: - name: "可合成物品 9" - material: stick + name: "&e自定义配方类型物品 9" + material: crafting_table recipe_type: MAGIC_WORKBENCH recipe: 1: @@ -175,8 +181,8 @@ RSC_EXAMPLE_RECIPED_ITEM_9: RSC_EXAMPLE_RECIPED_ITEM_10: item_group: rsc_example_sub_group item: - name: "可合成物品 10" - material: stick + name: "&e自定义配方类型物品 10" + material: enchanting_table recipe_type: ANCIENT_ALTAR recipe: 1: @@ -198,10 +204,10 @@ RSC_EXAMPLE_RECIPED_ITEM_10: 9: material: birch_planks -RSC_EXAMPLE_NOT_RECIPED_ITEM_1: +RSC_EXAMPLE_RECIPED_ITEM_11: item_group: rsc_example_sub_group item: - name: "不可合成物品 1" + name: "&e自定义配方类型物品 11" material: stick recipe_type: NULL recipe: @@ -224,11 +230,153 @@ RSC_EXAMPLE_NOT_RECIPED_ITEM_1: 9: material: birch_planks -RSC_EXAMPLE_CHARGEABLE_ITEM_1: +RSC_EXAMPLE_RECIPED_ITEM_12: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 12" + material: bowl + recipe_type: GOLD_PAN + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_13: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 13" + material: bricks + recipe_type: MULTIBLOCK + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_14: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 14" + material: glass_bottle + recipe_type: JUICER + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_15: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 15" + material: iron_sword + recipe_type: MOB_DROP + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_16: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 16" + material: gold_ingot + recipe_type: BARTER_DROP + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_17: item_group: rsc_example_sub_group item: - name: "可充电物品 1" + name: "&e自定义配方类型物品 17" + material: player_head + recipe_type: INTERACT + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_18: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 18" + material: light_gray_stained_glass + recipe_type: HEATED_PRESSURE_CHAMBER + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_19: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 19" + material: green_stained_glass + recipe_type: FOOD_FABRICATOR + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_20: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 20" material: stick + # 无 recipe_type + recipe: + 8: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_21: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 21" + material: green_terracotta + recipe_type: FOOD_COMPOSTER + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_22: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 22" + material: light_blue_stained_glass + recipe_type: FREEZER + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_23: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 23" + material: piston + recipe_type: REFINERY + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_24: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 24" + material_type: skull_base64 + material: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTM3NzQxZjc2NGRkM2RkN2FkYWViNDNiNjNkMzk1OWViNzBlNWViMjhmMTVkNmIzNGNhYjM0YTFkMWY2MDM4NyJ9fX0= + recipe_type: GEO_MINER + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_RECIPED_ITEM_25: + item_group: rsc_example_sub_group + item: + name: "&e自定义配方类型物品 25" + material_type: skull_base64 + material: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmE1ZGUwYmMyYmZiNWNjMmQyM2ViNzJmOTY0MDJhZGE0Nzk1MjRkZDBkZTQwNGJjMjNiNmRhY2VlM2ZmZDA4MCJ9fX0= + recipe_type: NUCLEAR_REACTOR + recipe: + 1: + material: jungle_planks + +RSC_EXAMPLE_CHARGEABLE_ITEM_1: + item_group: rsc_example_sub_group + item: + name: "&e可充电物品 1" + material: iron_ingot energy_capacity: 512 recipe_type: ENHANCED_CRAFTING_TABLE recipe: @@ -239,10 +387,10 @@ RSC_EXAMPLE_CHARGEABLE_ITEM_1: RSC_EXAMPLE_CHARGEABLE_ITEM_2: item_group: rsc_example_sub_group item: - name: "可充电物品 2" - material: stick + name: "&e可充电物品 2" + material: gold_ingot lore: - - '加入了脚本!' + - '&e加入了脚本!' energy_capacity: 20480 script: example_chargeable_item recipe_type: ENHANCED_CRAFTING_TABLE @@ -254,8 +402,8 @@ RSC_EXAMPLE_CHARGEABLE_ITEM_2: RSC_EXAMPLE_RADIATION_ITEM_1: item_group: rsc_example_sub_group item: - name: "带辐射物品 1" - material: stick + name: "&e带辐射物品 1" + material: cyan_wool radiation: MODERATE recipe_type: ENHANCED_CRAFTING_TABLE recipe: @@ -266,8 +414,8 @@ RSC_EXAMPLE_RADIATION_ITEM_1: RSC_EXAMPLE_RAINBOW_BLOCK_1: item_group: rsc_example_sub_group item: - name: "彩虹方块 1" - material: DIAMOND_BLOCK + name: "&e彩虹方块 1" + material: glowstone rainbow: STAINED_GLASS recipe_type: ENHANCED_CRAFTING_TABLE recipe: @@ -278,14 +426,14 @@ RSC_EXAMPLE_RAINBOW_BLOCK_1: RSC_EXAMPLE_RAINBOW_BLOCK_2: item_group: rsc_example_sub_group item: - name: "彩虹方块 2" - material: DIAMOND_BLOCK + name: "&e彩虹方块 2" + material: shroomlight rainbow: CUSTOM rainbow_materials: - - GRASS_BLOCK - - DIRT - - PODZOL - - MOSS_BLOCK + - grass_block + - dirt + - beacon + - moss_block recipe_type: ENHANCED_CRAFTING_TABLE recipe: 1: @@ -295,8 +443,8 @@ RSC_EXAMPLE_RAINBOW_BLOCK_2: RSC_EXAMPLE_ANIT_WITHER_BLOCK_1: item_group: rsc_example_sub_group item: - name: "防凋灵方块 1" - material: GOLD_BLOCK + name: "&e防凋灵方块 1" + material: polished_deepslate anti_wither: true recipe_type: ENHANCED_CRAFTING_TABLE recipe: @@ -307,8 +455,8 @@ RSC_EXAMPLE_ANIT_WITHER_BLOCK_1: RSC_EXAMPLE_SOULBOUND_ITEM_1: item_group: rsc_example_sub_group item: - name: "灵魂绑定物品 1" - material: DIAMOND + name: "&e灵魂绑定物品 1" + material: iron_sword soulbound: true recipe_type: ENHANCED_CRAFTING_TABLE recipe: @@ -319,7 +467,7 @@ RSC_EXAMPLE_SOULBOUND_ITEM_1: RSC_EXAMPLE_PIGLIN_TRADE_ITEM_1: item_group: rsc_example_sub_group item: - name: "猪灵交易物品 1" + name: "&e猪灵交易物品 1" material: NETHERITE_SWORD piglin_trade_chance: 10 recipe_type: BARTER_DROP @@ -327,7 +475,7 @@ RSC_EXAMPLE_PIGLIN_TRADE_ITEM_1: RSC_EXAMPLE_VANILLA_ITEM_1: item_group: rsc_example_sub_group item: - name: "人造物品 1" + name: "&e人造物品 1" material: iron_block vanilla: true recipe_type: ENHANCED_CRAFTING_TABLE @@ -339,7 +487,7 @@ RSC_EXAMPLE_VANILLA_ITEM_1: RSC_EXAMPLE_HIDDEN_ITEM_1: item_group: rsc_example_sub_group item: - name: "隐藏物品 1" + name: "&e隐藏物品 1" material: nether_star hidden: true recipe_type: ENHANCED_CRAFTING_TABLE @@ -351,7 +499,7 @@ RSC_EXAMPLE_HIDDEN_ITEM_1: RSC_EXAMPLE_DROP_FROM_BLOCK_ITEM_1: item_group: rsc_example_sub_group item: - name: "方块掉落物品 1" + name: "&e方块掉落物品 1" material: ink_sac drop_from: cobblestone drop_chance: 5 @@ -361,10 +509,23 @@ RSC_EXAMPLE_DROP_FROM_BLOCK_ITEM_1: 5: material: cobblestone +RSC_EXAMPLE_DROP_FROM_BLOCK_ITEM_2: + item_group: rsc_example_sub_group + item: + name: "&e方块掉落物品 2" + material: glow_ink_sac + drop_from: stone + drop_chance: 5 + drop_amount: 3-5 + recipe_type: DROP_FROM_BLOCK + recipe: + 5: + material: stone + RSC_EXAMPLE_RESEARCH_ITEM_1: item_group: rsc_example_sub_group item: - name: "研究解锁物品 1" + name: "&e研究解锁物品 1" material: nether_star recipe_type: ENHANCED_CRAFTING_TABLE recipe: @@ -372,22 +533,46 @@ RSC_EXAMPLE_RESEARCH_ITEM_1: material_type: slimefun material: RSC_EXAMPLE_RECIPED_ITEM_10 -RSC_EXAMPLE_SAVED_ITEM_1: +RSC_EXAMPLE_SAVEDITEM_1: item_group: rsc_example_sub_group item: - name: "保存物品 1" + name: "&e保存物品 1" material_type: saveditem - material: example_saveditem + material: example_saveditem1 recipe_type: ENHANCED_CRAFTING_TABLE recipe: 1: material_type: slimefun material: RSC_EXAMPLE_RESEARCH_ITEM_1 +RSC_EXAMPLE_SAVEDITEM_2: + item_group: rsc_example_sub_group + item: + name: "&e保存物品 2" + material_type: saveditem + material: example_saveditem2 + recipe_type: ENHANCED_CRAFTING_TABLE + recipe: + 1: + material_type: slimefun + material: RSC_EXAMPLE_SAVEDITEM_1 + +RSC_EXAMPLE_SAVEDITEM_3: + item_group: rsc_example_sub_group + item: + name: "&e保存物品 3" + material_type: saveditem + material: example_saveditem3 + recipe_type: ENHANCED_CRAFTING_TABLE + recipe: + 1: + material_type: slimefun + material: RSC_EXAMPLE_SAVEDITEM_2 + RSC_EXAMPLE_SKULL_ITEM_1: item_group: rsc_example_sub_group item: - name: "头颅物品 1" + name: "&e头颅物品 1" material_type: skull_hash material: bb0f722aec27490cf056f560afdd457a0a794e703556cc4c3b51a582f5c57aa4 lore: @@ -401,7 +586,7 @@ RSC_EXAMPLE_SKULL_ITEM_1: RSC_EXAMPLE_SKULL_ITEM_2: item_group: rsc_example_sub_group item: - name: "头颅物品 2" + name: "&e头颅物品 2" material_type: skull_url material: http://textures.minecraft.net/texture/bb0f722aec27490cf056f560afdd457a0a794e703556cc4c3b51a582f5c57aa4 lore: @@ -415,7 +600,7 @@ RSC_EXAMPLE_SKULL_ITEM_2: RSC_EXAMPLE_SKULL_ITEM_3: item_group: rsc_example_sub_group item: - name: "头颅物品 3" + name: "&e头颅物品 3" material_type: skull_base64 material: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmIwZjcyMmFlYzI3NDkwY2YwNTZmNTYwYWZkZDQ1N2EwYTc5NGU3MDM1NTZjYzRjM2I1MWE1ODJmNWM1N2FhNCJ9fX0= lore: @@ -429,8 +614,8 @@ RSC_EXAMPLE_SKULL_ITEM_3: RSC_EXAMPLE_SCRIPT_ITEM_1: item_group: rsc_example_sub_group item: - name: "脚本物品 1" - material: stick + name: "&e脚本物品 1" + material: redstone script: example_script_item recipe_type: ENHANCED_CRAFTING_TABLE recipe: @@ -438,26 +623,14 @@ RSC_EXAMPLE_SCRIPT_ITEM_1: material_type: slimefun material: RSC_EXAMPLE_RESEARCH_ITEM_1 -RSC_EXAMPLE_WARN_ITEM_1: - lateInit: true - item_group: rsc_example_sub_group - item: - name: "警告测试物品 1" - material: stick - register: - warn: true - conditions: - - "version < 1.18.1" - RSC_EXAMPLE_CONDITION_ITEM_1: - lateInit: true item_group: rsc_example_sub_group item: - name: "条件测试物品 1" - material: stick + name: "&e条件测试物品 1" + material: conduit lore: - - "conditions: " - - "存在插件 DynaTech" + - "&econditions: " + - "&e存在插件 DynaTech" register: conditions: - "hasplugin DynaTech" @@ -468,14 +641,13 @@ RSC_EXAMPLE_CONDITION_ITEM_1: material: GROWTH_CHAMBER_MK2 RSC_EXAMPLE_CONDITION_ITEM_2: - lateInit: true item_group: rsc_example_sub_group item: - name: "条件测试物品 2" - material: stick + name: "&e条件测试物品 2" + material: conduit lore: - - "conditions: " - - "不存在插件 DynaTech" + - "&econditions: " + - "&e不存在插件 DynaTech" register: conditions: - "!hasplugin DynaTech" @@ -483,99 +655,81 @@ RSC_EXAMPLE_CONDITION_ITEM_2: recipe: 2: material_type: slimefun - material: WITHER_ASSEMBLER + material: IRON_GOLEM_ASSEMBLER RSC_EXAMPLE_CONDITION_ITEM_3: - lateInit: true item_group: rsc_example_sub_group item: - name: "条件测试物品 3" - material: stick + name: "&e条件测试物品 3" + material: music_disc_stal lore: - - "conditions: " - - "版本 < 1.18.1" + - "&econditions: " + - "&e版本 < 1.18.1" register: conditions: - "version < 1.18.1" RSC_EXAMPLE_CONDITION_ITEM_4: - lateInit: true item_group: rsc_example_sub_group item: - name: "条件测试物品 4" - material: stick + name: "&e条件测试物品 4" + material: music_disc_stal lore: - - "conditions: " - - "版本 <= 1.18.1" + - "&econditions: " + - "&e版本 <= 1.18.1" register: conditions: - "version <= 1.18.1" RSC_EXAMPLE_CONDITION_ITEM_5: - lateInit: true - item_group: rsc_example_sub_group - item: - name: "条件测试物品 5" - material: stick - lore: - - "conditions: " - - "版本 <= 1.18.1" - register: - conditions: - - "version <= 1.18.1" - -RSC_EXAMPLE_CONDITION_ITEM_6: - lateInit: true item_group: rsc_example_sub_group item: - name: "条件测试物品 6" - material: stick + name: "&e条件测试物品 5" + material: music_disc_otherside lore: - - "conditions: " - - "版本 > 1.18.1" + - "&econditions: " + - "&e版本 > 1.18.1" register: conditions: - "version > 1.18.1" -RSC_EXAMPLE_CONDITION_ITEM_7: - lateInit: true +RSC_EXAMPLE_CONDITION_ITEM_6: item_group: rsc_example_sub_group item: - name: "条件测试物品 7" - material: stick + name: "&e条件测试物品 6" + material: music_disc_otherside lore: - - "conditions: " - - "版本 >= 1.18.1" + - "&econditions: " + - "&e版本 >= 1.18.1" register: conditions: - "version >= 1.18.1" RSC_EXAMPLE_VERSIONED_ITEM_1: - lateInit: true item_group: rsc_example_sub_group item: - name: "版本兼容测试物品 1" + name: "&e版本兼容测试物品 1" material: stick lore: - - "conditions: " - - "存在插件 InfinityExpansion" + - "&econditions: " + - "&e存在插件 InfinityExpansion" register: conditions: - "hasplugin InfinityExpansion" #recipe_type: NULL # 可省略,默认NULL recipe: 1: + material_type: slimefun material: INFINITE_INGOT -RSC_EXAMPLE_VERSIONED_ITEM_1: - lateInit: true +RSC_EXAMPLE_VERSIONED_ITEM_2: # 与上一个物品相同id item_group: rsc_example_sub_group item: - name: "版本兼容测试物品 1" + name: "&e版本兼容测试物品 1" material: stick lore: - - "conditions: " - - "不存在插件 InfinityExpansion" + - "&econditions: " + - "&e不存在插件 InfinityExpansion" register: warn: true conditions: @@ -585,11 +739,20 @@ RSC_EXAMPLE_VERSIONED_ITEM_1: 1: material: mycelium +RSC_EXAMPLE_WARN_ITEM_1: + item_group: rsc_example_sub_group + item: + name: "&e警告测试物品 1" + material: yellow_wool + register: + warn: true + conditions: + - "version < 1.18.1" + RSC_EXAMPLE_UNFINISHED_ITEM_1: - lateInit: true item_group: rsc_example_sub_group item: - name: "未完成测试物品 2" - material: stick + name: "&e未完成测试物品 1" + material: bedrock register: unfinished: true diff --git a/machines.yml b/machines.yml index ca29bae..3d4f7cc 100644 --- a/machines.yml +++ b/machines.yml @@ -3,7 +3,7 @@ RSC_EXAMPLE_MACHINE: item_group: rsc_example_sub_group item: name: "&b示例机器" - material: DIAMOND_BLOCK + material: furnace recipe_type: ENHANCED_CRAFTING_TABLE recipe: 1: @@ -17,7 +17,10 @@ RSC_EXAMPLE_MACHINE_ENERGY: item_group: rsc_example_sub_group item: name: "&b示例能源机器" - material: DIAMOND_BLOCK + material: smoker + lore: + - '&e机器tick(如用电)在脚本中完成' + - '&escript: example_machine_energy' recipe_type: ENHANCED_CRAFTING_TABLE energy: capacity: 100000 @@ -30,3 +33,83 @@ RSC_EXAMPLE_MACHINE_ENERGY: input: [] output: [] script: example_machine_energy +RSC_EXAMPLE_CAPACITOR_ENERGY: + item_group: rsc_example_sub_group + item: + name: "&b示例能源电容" + material: lantern + lore: + - '&e机器tick在脚本中完成' + - '&escript: example_capacitor_energy' + recipe_type: ENHANCED_CRAFTING_TABLE + energy: + capacity: 100000 + totalTicks: 10 + type: CAPACITOR + recipe: + 1: + material_type: slimefun + material: RSC_EXAMPLE_MACHINE_ENERGY + input: [] + output: [] + script: example_capacitor_energy +RSC_EXAMPLE_CONSUMER_ENERGY: + item_group: rsc_example_sub_group + item: + name: "&b示例能源用电器" + material: lantern + lore: + - '&e机器tick在脚本中完成' + - '&escript: example_consumer_energy' + recipe_type: ENHANCED_CRAFTING_TABLE + energy: + capacity: 100000 + totalTicks: 10 + type: CONSUMER + recipe: + 1: + material_type: slimefun + material: RSC_EXAMPLE_CAPACITOR_ENERGY + input: [] + output: [] + script: example_consumer_energy +RSC_EXAMPLE_GENERATOR_ENERGY: + item_group: rsc_example_sub_group + item: + name: "&b示例能源发电机" + material: lantern + lore: + - '&e机器tick在脚本中完成' + - '&escript: example_generator_energy' + recipe_type: ENHANCED_CRAFTING_TABLE + energy: + capacity: 100000 + totalTicks: 10 + type: GENERATOR + recipe: + 1: + material_type: slimefun + material: RSC_EXAMPLE_CONSUMER_ENERGY + input: [] + output: [] + script: example_generator_energy +RSC_EXAMPLE_CONNECTOR_ENERGY: + item_group: rsc_example_sub_group + item: + name: "&b示例能源连接器" + material: lantern + lore: + - '&e机器tick在脚本中完成' + - '&escript: example_connector_energy' + recipe_type: ENHANCED_CRAFTING_TABLE + energy: + capacity: 100000 + totalTicks: 10 + type: CONNECTOR + recipe: + 1: + material_type: slimefun + material: RSC_EXAMPLE_GENERATOR_ENERGY + input: [] + output: [] + script: example_connector_energy diff --git a/mob_drops.yml b/mob_drops.yml index 7d9f38f..c49f846 100644 --- a/mob_drops.yml +++ b/mob_drops.yml @@ -5,4 +5,4 @@ RSC_EXAMPLE_MOB_DROP: chance: 60 item: name: "&a示例生物掉落物品" - material: IRON_INGOT + material: leather diff --git a/recipe_machines.yml b/recipe_machines.yml index 8abab27..1616429 100644 --- a/recipe_machines.yml +++ b/recipe_machines.yml @@ -3,7 +3,7 @@ RSC_EXAMPLE_RECIPE_MACHINE: item_group: rsc_example_sub_group item: name: "&e示例配方机器" - material: GREEN_STAINED_GLASS + material: beacon recipe_type: ENHANCED_CRAFTING_TABLE recipe: 1: @@ -13,8 +13,8 @@ RSC_EXAMPLE_RECIPE_MACHINE: material_type: slimefun material: RSC_EXAMPLE_RECIPED_ITEM_6 capacity: 1000 - input: [10,11] - output: [15,16] + input: [10, 11] + output: [15, 16] energyPerCraft: 100 speed: 2 recipes: @@ -31,15 +31,15 @@ RSC_EXAMPLE_RECIPE_MACHINE: material: RSC_EXAMPLE_RECIPED_ITEM_6 example_2: seconds: 5 - chooseOne: true input: 1: material_type: slimefun material: RSC_EXAMPLE_RECIPED_ITEM_6 #可添加更多输入物品 + chooseOne: true # 选择以下其中1个物品输出 output: 1: - chance: 10 + chance: 10 # 设置概率 material_type: slimefun material: RSC_EXAMPLE_MACHINE 2: diff --git a/saveditems/example_saveditem.yml b/saveditems/example_saveditem1.yml similarity index 100% rename from saveditems/example_saveditem.yml rename to saveditems/example_saveditem1.yml diff --git a/saveditems/example_saveditem2.yml b/saveditems/example_saveditem2.yml new file mode 100644 index 0000000..96f223b --- /dev/null +++ b/saveditems/example_saveditem2.yml @@ -0,0 +1,26 @@ +item: + ==: org.bukkit.inventory.ItemStack + v: 3578 + type: PLAYER_HEAD + meta: + ==: ItemMeta + meta-type: SKULL + display-name: '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"aqua","text":"自然资源开采机 + (GEO Miner)"}],"text":""}' + lore: + - '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gray","text":"这个物品可以通过"}],"text":""}' + - '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gray","text":"自然资源开采机获得"}],"text":""}' + ItemFlags: + - HIDE_ENCHANTS + - HIDE_ATTRIBUTES + PublicBukkitValues: |- + { + "slimefun:slimefun_item": "GEO_MINER" + } + skull-owner: + ==: PlayerProfile + uniqueId: b83d624d-b2cb-37f7-8493-53c528dbbdf9 + name: CS-CoreLib + properties: + - name: textures + value: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTM3NzQxZjc2NGRkM2RkN2FkYWViNDNiNjNkMzk1OWViNzBlNWViMjhmMTVkNmIzNGNhYjM0YTFkMWY2MDM4NyJ9fX0= diff --git a/saveditems/example_saveditem3.yml b/saveditems/example_saveditem3.yml new file mode 100644 index 0000000..62b607f --- /dev/null +++ b/saveditems/example_saveditem3.yml @@ -0,0 +1,11 @@ +item: + ==: org.bukkit.inventory.ItemStack + v: 3578 + type: NETHERITE_SWORD + meta: + ==: ItemMeta + meta-type: UNSPECIFIC + display-name: '{"text":"示例保存物品"}' + enchants: + DAMAGE_UNDEAD: 5 + repair-cost: 1 diff --git a/scripts/example_capacitor_energy.js b/scripts/example_capacitor_energy.js new file mode 100644 index 0000000..644aa9e --- /dev/null +++ b/scripts/example_capacitor_energy.js @@ -0,0 +1,14 @@ +function tick(info) { + var capacitor = info.machine(); + // nothing to do +} + +function onPlace(event) { + var player = event.getPlayer(); + sendMessage(player, "方块被放置"); +} + +function onBreak(event, itemStack, drops) { + var player = event.getPlayer(); + sendMessage(player, "方块被破坏"); +} \ No newline at end of file diff --git a/scripts/example_connector_energy.js b/scripts/example_connector_energy.js new file mode 100644 index 0000000..84901eb --- /dev/null +++ b/scripts/example_connector_energy.js @@ -0,0 +1,14 @@ +function tick(info) { + var connector = info.machine(); + // nothing to do +} + +function onPlace(event) { + var player = event.getPlayer(); + sendMessage(player, "方块被放置"); +} + +function onBreak(event, itemStack, drops) { + var player = event.getPlayer(); + sendMessage(player, "方块被破坏"); +} \ No newline at end of file diff --git a/scripts/example_consumer_energy.js b/scripts/example_consumer_energy.js new file mode 100644 index 0000000..38a3a97 --- /dev/null +++ b/scripts/example_consumer_energy.js @@ -0,0 +1,14 @@ +function tick(info) { + var comsumer = info.machine(); + // nothing to do +} + +function onPlace(event) { + var player = event.getPlayer(); + sendMessage(player, "方块被放置"); +} + +function onBreak(event, itemStack, drops) { + var player = event.getPlayer(); + sendMessage(player, "方块被破坏"); +} \ No newline at end of file diff --git a/scripts/example_generator_energy.js b/scripts/example_generator_energy.js new file mode 100644 index 0000000..c1e5787 --- /dev/null +++ b/scripts/example_generator_energy.js @@ -0,0 +1,14 @@ +function tick(info) { + var generator = info.machine(); + // nothing to do +} + +function onPlace(event) { + var player = event.getPlayer(); + sendMessage(player, "方块被放置"); +} + +function onBreak(event, itemStack, drops) { + var player = event.getPlayer(); + sendMessage(player, "方块被破坏"); +} \ No newline at end of file diff --git a/scripts/example_machine.js b/scripts/example_machine.js index 23d19e7..eeb8687 100644 --- a/scripts/example_machine.js +++ b/scripts/example_machine.js @@ -1,6 +1,8 @@ function tick(info) { if (working) { - setWorking(false); + if (randintC(1, 100) === 100){ + setWorking(false); + } } } @@ -12,4 +14,4 @@ function onPlace(event) { function onBreak(event, itemStack, drops) { var player = event.getPlayer(); sendMessage(player, "方块被破坏"); -} \ No newline at end of file +} diff --git a/scripts/logs/example_capacitor_energy.js-0.log b/scripts/logs/example_capacitor_energy.js-0.log new file mode 100644 index 0000000..e69de29 diff --git a/scripts/logs/example_capacitor_energy.js-0.log.lck b/scripts/logs/example_capacitor_energy.js-0.log.lck new file mode 100644 index 0000000..e69de29 diff --git a/scripts/logs/example_connector_energy.js-0.log b/scripts/logs/example_connector_energy.js-0.log new file mode 100644 index 0000000..e69de29 diff --git a/scripts/logs/example_connector_energy.js-0.log.lck b/scripts/logs/example_connector_energy.js-0.log.lck new file mode 100644 index 0000000..e69de29 diff --git a/scripts/logs/example_consumer_energy.js-0.log b/scripts/logs/example_consumer_energy.js-0.log new file mode 100644 index 0000000..e69de29 diff --git a/scripts/logs/example_consumer_energy.js-0.log.lck b/scripts/logs/example_consumer_energy.js-0.log.lck new file mode 100644 index 0000000..e69de29 diff --git a/scripts/logs/example_generator_energy.js-0.log b/scripts/logs/example_generator_energy.js-0.log new file mode 100644 index 0000000..e69de29 diff --git a/scripts/logs/example_generator_energy.js-0.log.lck b/scripts/logs/example_generator_energy.js-0.log.lck new file mode 100644 index 0000000..e69de29 diff --git a/simple_machines.yml b/simple_machines.yml index 1143e8d..0fee311 100644 --- a/simple_machines.yml +++ b/simple_machines.yml @@ -1,8 +1,38 @@ # RykenSlimeCustomizer Wiki: https://rsc.himcs.top/#/file/simple_machines -RSC_EX_ADVANCED_GOLD_PAN: +RSC_EXAMPLE_ADVANCED_SMELTERY: item_group: rsc_example_sub_group item: - material: FURNACE + material: furnace + name: "&b&l超级&7冶炼炉" + lore: + - "&7一个更加快的冶炼炉" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: ELECTRIC_SMELTERY + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_FURNACE: + item_group: rsc_example_sub_group + item: + material: furnace + name: "&b&l超级&7电炉" + lore: + - "&7一个更加快的电炉" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: ELECTRIC_FURNACE + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_GOLD_PAN: + item_group: rsc_example_sub_group + item: + material: brown_terracotta name: "&b&l超级&7淘金机" lore: - "&7一个更加快的淘金机" @@ -14,26 +44,334 @@ RSC_EX_ADVANCED_GOLD_PAN: capacity: 5000 consumption: 1000 speed: 50 - recipe_type: ENHANCED_CRAFTING_TABLE - recipe: - 2: - material_type: slimefun - material: GOLD_PAN - 4: - material_type: slimefun - material: ELECTRIC_MOTOR - 5: - material_type: slimefun - material: ELECTRIC_GOLD_PAN_3 - 6: - material_type: slimefun - material: ELECTRIC_MOTOR - 7: - material_type: slimefun - material: COBALT_INGOT - 8: - material_type: slimefun - material: BLISTERING_INGOT_3 - 9: - material_type: slimefun - material: COBALT_INGOT +RSC_EXAMPLE_ADVANCED_DUST_WASHER: + item_group: rsc_example_sub_group + item: + material: blue_stained_glass + name: "&b&l超级&7洗矿机" + lore: + - "&7一个更加快的洗矿机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: ELECTRIC_DUST_WASHER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_ELECTRIC_ORE_GRINDER: + item_group: rsc_example_sub_group + item: + material: furnace + name: "&b&l超级&7碎矿机" + lore: + - "&7一个更加快的碎矿机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: ELECTRIC_ORE_GRINDER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_INGOT_FACTORY: + item_group: rsc_example_sub_group + item: + material: red_terracotta + name: "&b&l超级&7铸锭机" + lore: + - "&7一个更加快的铸锭机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: ELECTRIC_INGOT_FACTORY + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_INGOT_PULVERIZER: + item_group: rsc_example_sub_group + item: + material: furnace + name: "&b&l超级&7打粉机" + lore: + - "&7一个更加快的打粉机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: ELECTRIC_INGOT_PULVERIZER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_CHARGING_BENCH: + item_group: rsc_example_sub_group + item: + material: crafting_table + name: "&b&l超级&7充电机" + lore: + - "&7一个更加快的充电机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: CHARGING_BENCH + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_TREE_GROWTH_ACCELERATOR: + item_group: rsc_example_sub_group + item: + material: brown_terracotta + name: "&b&l超级&7树木生长加速器" + lore: + - "&7一个更加快的树木生长加速器" + - "" + - "&8⇨ &e⚡ &7范围: 20" + - "&8⇨ &e⚡ &71,000 J/s" + type: TREE_GROWTH_ACCELERATOR + settings: + capacity: 5000 + consumption: 1000 + radius: 20 +RSC_EXAMPLE_ADVANCED_ANIMAL_GROWTH_ACCELERATOR: + item_group: rsc_example_sub_group + item: + material: hay_block + name: "&b&l超级&7动物生长加速器" + lore: + - "&7一个更大范围的动物生长加速器" + - "" + - "&8⇨ &e⚡ &7范围: 20" + - "&8⇨ &e⚡ &71,000 J/s" + type: ANIMAL_GROWTH_ACCELERATOR + settings: + capacity: 5000 + consumption: 1000 + radius: 20 +RSC_EXAMPLE_ADVANCED_CROP_GROWTH_ACCELERATOR: + item_group: rsc_example_sub_group + item: + material: green_terracotta + name: "&b&l超级&7作物生长加速器" + lore: + - "&7一个更大范围的作物生长加速器" + - "" + - "&8⇨ &e⚡ &7范围: 20" + - "&8⇨ &e⚡ &71,000 J/s" + type: CROP_GROWTH_ACCELERATOR + settings: + capacity: 5000 + consumption: 1000 + radius: 20 +RSC_EXAMPLE_ADVANCED_FREEZER: + item_group: rsc_example_sub_group + item: + material: light_blue_stained_glass + name: "&b&l超级&7冰箱" + lore: + - "&7一个更快的冰箱" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: FREEZER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_CARBON_PRESS: + item_group: rsc_example_sub_group + item: + material: black_stained_glass + name: "&b&l超级&7碳压机" + lore: + - "&7一个更快的碳压机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: CARBON_PRESS + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_ELECTRIC_PRESS: + item_group: rsc_example_sub_group + item: + material_type: skull_base64 + material: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGQ1Y2Y5MmJjNzllYzE5ZjQxMDY0NDFhZmZmZjE0MDZhMTM2NzAxMGRjYWZiMTk3ZGQ5NGNmY2ExYTZkZTBmYyJ9fX0= + name: "&b&l超级&7压缩机" + lore: + - "&7一个更快的压缩机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: ELECTRIC_PRESS + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_ELECTRIC_CRUCIBLE: + item_group: rsc_example_sub_group + item: + material: red_terracotta + name: "&b&l超级&7坩埚" + lore: + - "&7一个更快的坩埚" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: ELECTRIC_CRUCIBLE + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_FOOD_FABRICATOR: + item_group: rsc_example_sub_group + item: + material: green_stained_glass + name: "&b&l超级&7食品加工机" + lore: + - "&7一个更快的食品加工机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: FOOD_FABRICATOR + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_HEATED_PRESSURE_CHAMBER: + item_group: rsc_example_sub_group + item: + material: light_gray_stained_glass + name: "&b&l超级&7加热压力舱" + lore: + - "&7一个更快的加热压力舱" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: HEATED_PRESSURE_CHAMBER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_AUTO_ENCHANTER: + item_group: rsc_example_sub_group + item: + material: enchanting_table + name: "&b&l超级&7自动附魔机" + lore: + - "&7一个更快的自动附魔机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: AUTO_ENCHANTER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_AUTO_DISENCHANTER: + item_group: rsc_example_sub_group + item: + material: enchanting_table + name: "&b&l超级&7自动祛魔机" + lore: + - "&7一个更快的自动祛魔机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: AUTO_DISENCHANTER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_BOOK_BINDER: + item_group: rsc_example_sub_group + item: + material: bookshelf + name: "&b&l超级&7附魔书整合机" + lore: + - "&7一个更快的附魔书整合机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: BOOK_BINDER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_AUTO_ANVIL: + item_group: rsc_example_sub_group + item: + material: IRON_BLOCK + name: "&b&l超级&7自动铁砧" + lore: + - "&7一个更快的自动铁砧" + - "" + - "&8⇨ &e⚡ &7修理因子: 250" + - "&8⇨ &e⚡ &71,000 J/s" + type: AUTO_ANVIL + settings: + capacity: 5000 + consumption: 1000 + repair_factor: 250 +RSC_EXAMPLE_ADVANCED_AUTO_DRIER: + item_group: rsc_example_sub_group + item: + material: smoker + name: "&b&l超级&7自动烘干机" + lore: + - "&7一个更快的自动烘干机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: AUTO_DRIER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_AUTO_BREWER: + item_group: rsc_example_sub_group + item: + material: smoker + name: "&b&l超级&7自动酿造机" + lore: + - "&7一个更快的自动酿造机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: AUTO_BREWER + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_REFINERY: + item_group: rsc_example_sub_group + item: + material: piston + name: "&b&l超级&7炼油机" + lore: + - "&7一个更快的炼油机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: REFINERY + settings: + capacity: 5000 + consumption: 1000 + speed: 50 +RSC_EXAMPLE_ADVANCED_PRODUCE_COLLECTOR: + item_group: rsc_example_sub_group + item: + material: hay_block + name: "&b&l超级&7全自动收集机" + lore: + - "&7一个更快的全自动收集机" + - "" + - "&8⇨ &e⚡ &7速度: 50x" + - "&8⇨ &e⚡ &71,000 J/s" + type: PRODUCE_COLLECTOR + settings: + capacity: 5000 + consumption: 1000 + speed: 50 diff --git a/solar_generators.yml b/solar_generators.yml index ebe75bc..2f53b13 100644 --- a/solar_generators.yml +++ b/solar_generators.yml @@ -3,7 +3,7 @@ RSC_EXAMPLE_SOLAR_GENERATOR: item_group: rsc_example_sub_group item: name: "&c示例太阳能发电机" - material: GOLD_BLOCK + material: daylight_detector lore: - "&e白天发电量: 1000J/t" - "&b夜晚发电量: 100J/t"