-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e379b5b
Showing
20 changed files
with
393 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
EXAMPLE_CAPACITOR: | ||
item_group: example_sub_group | ||
item: | ||
name: "&a示例电容" | ||
material: DIAMOND_BLOCK | ||
recipe_type: ENHANCED_CRAFTING_TABLE | ||
capacity: 10000 | ||
recipe: | ||
1: | ||
material: APPLE | ||
amount: 1 | ||
2: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
EXAMPLE_GENERATOR: | ||
item_group: example_normal_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: full_slimefun | ||
material: EXAMPLE_ITEM | ||
3: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM | ||
5: | ||
material_type: full_slimefun | ||
material: EXAMPLE_MACHINE | ||
7: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM | ||
9: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM | ||
fuels: | ||
example_fuel: | ||
item: | ||
material: OAK_LOG | ||
seconds: 10 | ||
output: | ||
material: CHARCOAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
EXAMPLE_GEO_RESOURCE: | ||
item_group: example_normal_group | ||
item: | ||
name: "&a示例GEO资源" | ||
material: DIAMOND | ||
recipe_type: GEO_MINER | ||
max_deviation: 1 | ||
obtain_from_geo_miner: true | ||
geo_name: "RSC示例GEO资源" | ||
supply: | ||
world: | ||
plains: 10 | ||
ocean: 5 | ||
others: 4 | ||
nether: 1 | ||
the_end: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
example_normal_group: | ||
item: | ||
name: "&a示例普通物品组" | ||
material: GRASS_BLOCK | ||
example_parent_group: | ||
type: "nested" | ||
item: | ||
name: "&a示例父物品组" | ||
material: OAK_PLANKS | ||
example_sub_group: | ||
type: "sub" | ||
parent: "example_parent_group" | ||
item: | ||
name: "&e示例子物品组" | ||
material: REDSTONE | ||
lore: | ||
- "&aHello?" | ||
example_seasonal_group: | ||
type: "seasonal" | ||
month: 1 | ||
item: | ||
name: "&b示例季节性物品组" | ||
material: OAK_LEAVES | ||
example_locked_group: | ||
type: "locked" | ||
parents: | ||
- slimefun:basic_machines | ||
item: | ||
name: "&l示例锁定物品组" | ||
material: REPEATER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
id: example | ||
name: "示例附属" | ||
depends: [] | ||
pluginDepends: [] | ||
version: "1.0" | ||
description: "RSC示例附属" | ||
authors: ["mmmjjkx"] | ||
repo: "SlimefunReloadingProject/rsc-example" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
EXAMPLE_ITEM: | ||
item_group: example_sub_group | ||
item: | ||
name: "&a示例物品" | ||
material: DIAMOND | ||
recipe_type: ENHANCED_CRAFTING_TABLE | ||
recipe: | ||
1: | ||
material: APPLE | ||
amount: 1 | ||
EXAMPLE_ITEM_2: | ||
item_group: example_normal_group | ||
item: | ||
name: "&a示例物品2" | ||
material: NETHERITE_INGOT | ||
recipe_type: ENHANCED_CRAFTING_TABLE | ||
script: "example_item_2" | ||
recipe: | ||
1: | ||
material_type: slimefun | ||
material: EXAMPLE_ITEM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
EXAMPLE_MACHINE: | ||
item_group: example_sub_group | ||
item: | ||
name: "&b示例机器" | ||
material: DIAMOND_BLOCK | ||
recipe_type: ENHANCED_CRAFTING_TABLE | ||
recipe: | ||
1: | ||
material_type: slimefun | ||
material: EXAMPLE_ITEM | ||
input: [9, 10, 11, 12, 13, 14, 15, 16, 17] | ||
output: [31] | ||
script: "example_machine" | ||
work: 0 | ||
EXAMPLE_MACHINE_ENERGY: | ||
item_group: example_sub_group | ||
item: | ||
name: "&b示例能源机器" | ||
material: DIAMOND_BLOCK | ||
recipe_type: ENHANCED_CRAFTING_TABLE | ||
energy: | ||
capacity: 100000 | ||
totalTicks: 10 | ||
type: CONSUMER | ||
recipe: | ||
1: | ||
material_type: slimefun | ||
material: EXAMPLE_ITEM | ||
input: [] | ||
output: [] | ||
script: "example_machine_energy" | ||
work: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
EXAMPLE_MATERIAL_GENERATOR: | ||
item_group: example_sub_group | ||
item: | ||
name: "&c示例材料生成器" | ||
material: IRON_BLOCK | ||
capacity: 10000 | ||
output: [12] | ||
outputItem: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM | ||
tickRate: 5 | ||
status: 4 | ||
per: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
EXAMPLE_MULTIBLOCK_MACHINE: | ||
item_group: example_normal_group | ||
item: | ||
name: "&b示例多方块机器" | ||
material: CRAFTING_TABLE | ||
recipe: | ||
#按照这个设置 | ||
#1 2 3 | ||
#4 5 6 | ||
#7 8 9 | ||
5: | ||
material: OAK_FENCE_GATE | ||
#不要漏发射器 | ||
8: | ||
material: DISPENSER | ||
work: 5 | ||
sound: ANCIENT_ALTAR_FINISH_SOUND | ||
recipes: | ||
example: | ||
input: | ||
1: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM | ||
output: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM_2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
EXAMPLE_MACHINE: | ||
title: "&a示例菜单" | ||
script: "example_menu" | ||
slots: | ||
0-8: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
18-30: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
32-39: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
40: | ||
name: "&a一个工作按钮" | ||
material: GREEN_STAINED_GLASS_PANE | ||
41-44: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
EXAMPLE_GENERATOR: | ||
title: "&c示例发电机" | ||
slots: | ||
0-3: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
4: | ||
name: "&a信息" | ||
progressbar: true | ||
material: GREEN_STAINED_GLASS_PANE | ||
5-9: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
12-14: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
17-26: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
EXAMPLE_MATERIAL_GENERATOR: | ||
title: "&d示例材料生成器" | ||
slots: | ||
0-3: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
#注意,不推荐在第4格放置物品,因为这已经设置成了用来展示信息的位置 | ||
5-11: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
13-17: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
EXAMPLE_RECIPE_MACHINE: | ||
title: "&c示例配方机器" | ||
slots: | ||
0-3: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
4: | ||
name: "&a信息" | ||
material: GREEN_STAINED_GLASS_PANE | ||
progressbar: true | ||
5-9: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
12-14: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE | ||
17-26: | ||
name: "&a" | ||
material: BLACK_STAINED_GLASS_PANE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
EXAMPLE_MOB_DROP: | ||
item_group: example_sub_group | ||
entity: IRON_GOLEM | ||
chance: 60 | ||
item: | ||
name: "&a示例生物掉落物品" | ||
material: IRON_INGOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
EXAMPLE_RECIPE_MACHINE: | ||
item_group: example_normal_group | ||
item: | ||
name: "&e示例配方机器" | ||
material: "GREEN_STAINED_GLASS" | ||
recipe_type: ENHANCED_CRAFTING_TABLE | ||
recipe: | ||
1: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM | ||
2: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM_2 | ||
capacity: 1000 | ||
input: [10,11] | ||
output: [15,16] | ||
energyPerCraft: 100 | ||
speed: 2 | ||
recipes: | ||
example: | ||
seconds: 10 | ||
input: | ||
1: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM | ||
#添加更多输入物品。。。 | ||
output: | ||
1: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM_2 | ||
example_2: | ||
seconds: 5 | ||
input: | ||
1: | ||
material_type: full_slimefun | ||
material: EXAMPLE_ITEM_2 | ||
#添加更多输入物品。。。 | ||
output: | ||
1: | ||
chance: 10 | ||
material_type: full_slimefun | ||
material: EXAMPLE_MACHINE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
EXAMPLE_RECIPE_TYPE: | ||
material: "DIAMOND_BLOCK" | ||
name: "&e示例配方类型" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
example_research: | ||
id: 1 | ||
name: "&a示例研究" | ||
levelCost: 10 | ||
items: | ||
- EXAMPLE_ITEM | ||
currencyCost: 10 #非必填 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
function onUse(e) { | ||
var player = e.getPlayer(); | ||
sendMessage(player, "Hello"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
function tick(info) { | ||
if (working) { | ||
setWorking(false); | ||
} | ||
} | ||
|
||
function onPlace(e) { | ||
var player = e.getPlayer(); | ||
sendMessage(player, "Block placed"); | ||
} | ||
|
||
function onBreak(e, item, drops) { | ||
var player = e.getPlayer(); | ||
sendMessage(player, "Block broke"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
function tick(info) { | ||
var component = info.component(); | ||
var location = info.block().getLocation(); | ||
component.removeCharge(location, 100); | ||
} | ||
|
||
function onPlace(e) { | ||
var player = e.getPlayer(); | ||
sendMessage(player, "Block placed"); | ||
} | ||
|
||
function onBreak(e, item, drops) { | ||
var player = e.getPlayer(); | ||
sendMessage(player, "Block broke"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
function onOpen(p) { | ||
p.sendMessage("你打开了菜单"); | ||
} | ||
|
||
function onClose(p) { | ||
p.sendMessage("你关闭了菜单"); | ||
} |
Empty file.
Oops, something went wrong.