Skip to content

Commit

Permalink
Merge pull request #4 from balugaq/dev
Browse files Browse the repository at this point in the history
新的example
  • Loading branch information
lijinhong11 authored May 11, 2024
2 parents 6c79688 + 2609b6e commit 250ce31
Show file tree
Hide file tree
Showing 40 changed files with 859 additions and 242 deletions.
31 changes: 16 additions & 15 deletions armors.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,46 @@
example_armor:
# RykenSlimeCustomizer Wiki: https://rsc.himcs.top/#/file/armors
rsc_example_armor:
protection_types:
- BEES
- RADIATION
- FLYING_INTO_WALL
fullSet: true
item_group: example_normal_group
item_group: rsc_example_sub_group
helmet:
id: EXAMPLE_HELMET
id: RSC_EXAMPLE_HELMET
material: LEATHER_HELMET
name: "&d示例头盔"
recipe_type: EXAMPLE_MULTIBLOCK_MACHINE_RECIPE_TYPE
recipe_type: RSC_EXAMPLE_MULTIBLOCK_MACHINE_RECIPE_TYPE
recipe:
3:
material_type: slimefun
material: EXAMPLE_ITEM_2
material: RSC_EXAMPLE_RECIPED_ITEM_1
chestplate:
id: EXAMPLE_CHESTPLATE
id: RSC_EXAMPLE_CHESTPLATE
material: LEATHER_CHESTPLATE
name: "&d示例胸甲"
recipe_type: EXAMPLE_MULTIBLOCK_MACHINE_RECIPE_TYPE
recipe_type: RSC_EXAMPLE_MULTIBLOCK_MACHINE_RECIPE_TYPE
recipe:
4:
material_type: slimefun
material: EXAMPLE_ITEM_2
material: RSC_EXAMPLE_RECIPED_ITEM_2
leggings:
id: EXAMPLE_LEGGINGS
id: RSC_EXAMPLE_LEGGINGS
material: LEATHER_LEGGINGS
name: "&d示例护腿"
recipe_type: EXAMPLE_MULTIBLOCK_MACHINE_RECIPE_TYPE
recipe_type: RSC_EXAMPLE_MULTIBLOCK_MACHINE_RECIPE_TYPE
recipe:
5:
material_type: slimefun
material: EXAMPLE_ITEM_2
material: RSC_EXAMPLE_RECIPED_ITEM_3
boots:
id: EXAMPLE_BOOTS
id: RSC_EXAMPLE_BOOTS
material: LEATHER_BOOTS
name: "&d示例靴子"
recipe_type: EXAMPLE_MULTIBLOCK_MACHINE_RECIPE_TYPE
recipe_type: RSC_EXAMPLE_MULTIBLOCK_MACHINE_RECIPE_TYPE
recipe:
6:
material_type: slimefun
material: EXAMPLE_ITEM_2
material: RSC_EXAMPLE_RECIPED_ITEM_4
potion_effects:
- "SPEED 5"
- "SPEED 5"
12 changes: 5 additions & 7 deletions capacitors.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
EXAMPLE_CAPACITOR:
item_group: example_sub_group
# RykenSlimeCustomizer Wiki: https://rsc.himcs.top/#/file/capacitors
RSC_EXAMPLE_CAPACITOR:
item_group: rsc_example_sub_group
item:
name: "&a示例电容"
material: DIAMOND_BLOCK
recipe_type: ENHANCED_CRAFTING_TABLE
capacity: 10000
recipe:
1:
material: APPLE
amount: 1
2:
5:
material_type: slimefun
material: EXAMPLE_ITEM
material: RSC_EXAMPLE_RAINBOW_BLOCK_1
18 changes: 18 additions & 0 deletions foods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# RykenSlimeCustomizer Wiki: https://rsc.himcs.top/#/file/foods
RSC_EXAMPLE_FOOD:
item_group: rsc_example_sub_group
item:
name: "食物 1"
material: rotten_flesh
script: example_food
recipe_type: MAGIC_WORKBENCH
recipe:
1:
material: birch_planks
amount: 1
2:
material: birch_planks
amount: 1
3:
material: dark_oak_planks
amount: 1
24 changes: 4 additions & 20 deletions generators.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,17 @@
EXAMPLE_GENERATOR:
item_group: example_normal_group
# RykenSlimeCustomizer Wiki: https://rsc.himcs.top/#/file/generators
RSC_EXAMPLE_GENERATOR:
item_group: rsc_example_sub_group
item:
name: "&c示例发电机"
material: GOLD_BLOCK
capacity: 100000
production: 100
input: [10,11]
output: [15,16]
recipe_type: ENHANCED_CRAFTING_TABLE
recipe:
1:
material_type: slimefun
material: EXAMPLE_ITEM
3:
material_type: slimefun
material: EXAMPLE_ITEM
5:
material_type: slimefun
material: EXAMPLE_MACHINE
7:
material_type: slimefun
material: EXAMPLE_ITEM
9:
material_type: slimefun
material: EXAMPLE_ITEM
fuels:
example_fuel:
item:
material: OAK_WOOD
seconds: 10
output:
material: CHARCOAL
material: CHARCOAL
9 changes: 5 additions & 4 deletions geo_resources.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
EXAMPLE_GEO_RESOURCE:
item_group: example_normal_group
# RykenSlimeCustomizer Wiki: https://rsc.himcs.top/#/file/geo
RSC_EXAMPLE_GEO_RESOURCE:
item_group: rsc_example_sub_group
item:
name: "&a示例GEO资源"
material: DIAMOND
recipe_type: GEO_MINER
max_deviation: 1
obtain_from_geo_miner: true
geo_name: "RSC示例GEO资源"
geo_name: "&e这是在地形扫描器中显示的名字"
supply:
normal:
plains: 10
ocean: 5
others: 4
nether: 1
the_end: 2
the_end: 2
80 changes: 58 additions & 22 deletions groups.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,75 @@
example_normal_group:
# RykenSlimeCustomizer Wiki: https://rsc.himcs.top/#/file/groups
rsc_example_normal_group:
item:
name: "&a示例普通物品组"
material: GRASS_BLOCK
amount: 1
example_parent_group:
type: "nested" # 或"parent"
tier: 2

rsc_example_parent_group:
type: nested
item:
name: "&a示例父物品组"
material: OAK_PLANKS
amount: 1
example_sub_group:
type: "sub"
parent: "example_parent_group"

rsc_example_sub_group:
type: sub
parent: "rsc_example_parent_group"
item:
name: "&e示例子物品组"
material: REDSTONE
amount: 1
lore:
- "&aHello?"
example_seasonal_group:
type: "seasonal"
month: 1

rsc_example_seasonal_group:
type: seasonal
month: 5
item:
name: "&b示例季节性物品组"
material: OAK_LEAVES
amount: 1
actions:
- "link https://rsc.himcs.top/#/README"
- "console say 我自由了!"
example_locked_group:
type: "locked"

rsc_example_locked_group:
type: locked
parents:
- slimefun:basic_machines
item:
name: "&l示例锁定物品组"
material: REPEATER
amount: 1

rsc_example_link_group:
type: button
parent: rsc_example_parent_group
item:
name: "&e示例链接组"
material: COMMAND_BLOCK
actions:
- "link https://rsc.himcs.top/#/README"

rsc_example_console_group:
type: button
parent: rsc_example_parent_group
item:
name: "&e示例控制台指令组"
material: BEDROCK
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
tier: 2
item:
name: "&e示例优先级2组"
material: GOLD_ORE

rsc_example_tier_1_group:
type: sub
parent: rsc_example_parent_group
tier: 1
item:
name: "&e示例优先级1组"
material: DIAMOND_ORE
12 changes: 6 additions & 6 deletions info.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
id: example
name: "示例附属"
# RykenSlimeCustomizer Wiki: https://rsc.himcs.top/#/addon/learn-to-write-addons-information
id: rsc_test_addon
name: "测试附属"
depends: []
pluginDepends: []
version: "1.4"
description: "RSC示例附属"
authors: ["mmmjjkx"]
repo: "SlimefunReloadingProject/rsc-example"
version: "1.0"
authors: ["guguguhello"]
repo: ""
Loading

0 comments on commit 250ce31

Please sign in to comment.