烧烤 动物养殖 分类 功能实现3
This commit is contained in:
1 parent
9c99295db6
commit
6686e80d22
2 files changed
+152
-23
No files matched your search
+30
-1
@@ -32,7 +32,10 @@
|
||||
格式: [{"name": "xxx", "count": N}, ...]
|
||||
type: "switch"=右键切换, "timer"=计时自动转换
|
||||
time: 计时型转换需要多少秒(到时间自动替换方块)
|
||||
below: 计时型转换要求下方方块(如 ["minecraft:campfire"])
|
||||
below: 计时型/烤串转换要求下方方块(如 ["minecraft:campfire"])
|
||||
tip: 转换成功时给玩家的提示(绿色§a开头)
|
||||
startTip: 计时型规则启动计时时给玩家的提示(仅玩家主动触发时发)
|
||||
doneTip: 计时到点完成时给启动者的提示(如"烤鸡烤熟了!")
|
||||
================================================================================
|
||||
"""
|
||||
|
||||
@@ -48,6 +51,7 @@ BARBECUE_SWITCHES = [
|
||||
"target": "rtdd:barbecuegrill_1",
|
||||
"consume": 0,
|
||||
"type": "switch",
|
||||
"tip": "§a烧烤炉已点燃!",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 【点火-烈焰弹】烧烤架_1(无火) → 烧烤架_2(点燃),烈焰弹消耗1个
|
||||
@@ -57,6 +61,7 @@ BARBECUE_SWITCHES = [
|
||||
"target": "rtdd:barbecuegrill_1",
|
||||
"consume": 1,
|
||||
"type": "switch",
|
||||
"tip": "§a烧烤炉已点燃!",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 【灭火】烧烤架_2(点燃) → 烧烤架_1(无火),消耗水桶,获得空桶
|
||||
@@ -68,6 +73,7 @@ BARBECUE_SWITCHES = [
|
||||
"type": "switch",
|
||||
"giveItem": "minecraft:bucket",
|
||||
"giveCount": 1,
|
||||
"tip": "§a已用水扑灭烧烤炉",
|
||||
},
|
||||
|
||||
# ============================================================
|
||||
@@ -84,6 +90,7 @@ BARBECUE_SWITCHES = [
|
||||
"type": "switch",
|
||||
"switchCd": 0.15,
|
||||
"below": ["rtdd:barbecuegrill_1"],
|
||||
"tip": "§a牛肉串正在翻烤…",
|
||||
"giveItem": None,
|
||||
},
|
||||
{
|
||||
@@ -94,6 +101,7 @@ BARBECUE_SWITCHES = [
|
||||
"type": "switch",
|
||||
"switchCd": 0.15,
|
||||
"below": ["rtdd:barbecuegrill_1"],
|
||||
"tip": "§e牛肉串烤熟了!",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 羊肉串: 生(_1) → 半熟(_0) → 熟(_3)
|
||||
@@ -105,6 +113,7 @@ BARBECUE_SWITCHES = [
|
||||
"type": "switch",
|
||||
"switchCd": 0.15,
|
||||
"below": ["rtdd:barbecuegrill_1"],
|
||||
"tip": "§a羊肉串正在翻烤…",
|
||||
"giveItem": None,
|
||||
},
|
||||
{
|
||||
@@ -115,6 +124,7 @@ BARBECUE_SWITCHES = [
|
||||
"type": "switch",
|
||||
"switchCd": 0.15,
|
||||
"below": ["rtdd:barbecuegrill_1"],
|
||||
"tip": "§e羊肉串烤熟了!",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 烤蔬菜串: 生(_0) → 半熟(_1) → 熟(_3)
|
||||
@@ -126,6 +136,7 @@ BARBECUE_SWITCHES = [
|
||||
"type": "switch",
|
||||
"switchCd": 0.15,
|
||||
"below": ["rtdd:barbecuegrill_1"],
|
||||
"tip": "§a烤蔬菜串正在翻烤…",
|
||||
"giveItem": None,
|
||||
},
|
||||
{
|
||||
@@ -136,6 +147,7 @@ BARBECUE_SWITCHES = [
|
||||
"type": "switch",
|
||||
"switchCd": 0.15,
|
||||
"below": ["rtdd:barbecuegrill_1"],
|
||||
"tip": "§e烤蔬菜串烤熟了!",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 烤香菇串: 生(_0) → 半熟(_1) → 熟(_3)
|
||||
@@ -147,6 +159,7 @@ BARBECUE_SWITCHES = [
|
||||
"type": "switch",
|
||||
"switchCd": 0.15,
|
||||
"below": ["rtdd:barbecuegrill_1"],
|
||||
"tip": "§a烤香菇串正在翻烤…",
|
||||
"giveItem": None,
|
||||
},
|
||||
{
|
||||
@@ -157,6 +170,7 @@ BARBECUE_SWITCHES = [
|
||||
"type": "switch",
|
||||
"switchCd": 0.15,
|
||||
"below": ["rtdd:barbecuegrill_1"],
|
||||
"tip": "§e烤香菇串烤熟了!",
|
||||
"giveItem": None,
|
||||
},
|
||||
|
||||
@@ -170,6 +184,7 @@ BARBECUE_SWITCHES = [
|
||||
"target": "rtdd:roastchicken_0",
|
||||
"consume": 1,
|
||||
"type": "switch",
|
||||
"tip": "§a烤鸡已上杆,等待篝火烤制…",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 【上烤乳猪】支杆 + 死猪 → 烤乳猪(生)
|
||||
@@ -179,6 +194,7 @@ BARBECUE_SWITCHES = [
|
||||
"target": "rtdd:roastpig_0",
|
||||
"consume": 1,
|
||||
"type": "switch",
|
||||
"tip": "§a烤乳猪已上杆,等待篝火烤制…",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 【上烤鳕鱼】支杆 + 鳕鱼 → 烤鳕鱼(生)
|
||||
@@ -188,6 +204,7 @@ BARBECUE_SWITCHES = [
|
||||
"target": "rtdd:grilledcod_0",
|
||||
"consume": 1,
|
||||
"type": "switch",
|
||||
"tip": "§a烤鳕鱼已上杆,等待篝火烤制…",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 【上烤鲑鱼】支杆 + 鲑鱼 → 烤鲑鱼(生)
|
||||
@@ -197,6 +214,7 @@ BARBECUE_SWITCHES = [
|
||||
"target": "rtdd:grilled_fish",
|
||||
"consume": 1,
|
||||
"type": "switch",
|
||||
"tip": "§a烤鲑鱼已上杆,等待篝火烤制…",
|
||||
"giveItem": None,
|
||||
},
|
||||
|
||||
@@ -212,6 +230,8 @@ BARBECUE_SWITCHES = [
|
||||
"type": "timer",
|
||||
"time": 60,
|
||||
"below": ["minecraft:campfire"],
|
||||
"startTip": "§e开始烤制烤鸡,约60秒…",
|
||||
"doneTip": "§e烤鸡烤熟了!",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 【烤熟】烤乳猪(生) → 烤乳猪(熟),下方需篝火,约60秒
|
||||
@@ -223,6 +243,8 @@ BARBECUE_SWITCHES = [
|
||||
"type": "timer",
|
||||
"time": 60,
|
||||
"below": ["minecraft:campfire"],
|
||||
"startTip": "§e开始烤制烤乳猪,约60秒…",
|
||||
"doneTip": "§e烤乳猪烤熟了!",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 【烤熟】烤鳕鱼(生) → 烤鳕鱼(熟),下方需篝火,约60秒
|
||||
@@ -234,6 +256,8 @@ BARBECUE_SWITCHES = [
|
||||
"type": "timer",
|
||||
"time": 60,
|
||||
"below": ["minecraft:campfire"],
|
||||
"startTip": "§e开始烤制烤鳕鱼,约60秒…",
|
||||
"doneTip": "§e烤鳕鱼烤熟了!",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 【烤熟】烤鲑鱼(生) → 烤鲑鱼(熟),下方需篝火,约60秒
|
||||
@@ -245,6 +269,8 @@ BARBECUE_SWITCHES = [
|
||||
"type": "timer",
|
||||
"time": 60,
|
||||
"below": ["minecraft:campfire"],
|
||||
"startTip": "§e开始烤制烤鲑鱼,约60秒…",
|
||||
"doneTip": "§e烤鲑鱼烤熟了!",
|
||||
"giveItem": None,
|
||||
},
|
||||
|
||||
@@ -259,6 +285,7 @@ BARBECUE_SWITCHES = [
|
||||
"consume": 0,
|
||||
"type": "switch",
|
||||
"dropItem": [{"name": "rtdd:roast_chickenplace_1", "count": 1}],
|
||||
"tip": "§a取下了烤鸡(整只)",
|
||||
"giveItem": None,
|
||||
},
|
||||
# 【取下烤乳猪】烤乳猪(熟) → 支杆 + 掉落 烤乳猪(整只)
|
||||
@@ -269,6 +296,7 @@ BARBECUE_SWITCHES = [
|
||||
"consume": 0,
|
||||
"type": "switch",
|
||||
"dropItem": [{"name": "rtdd:roastpignew_1", "count": 1}],
|
||||
"tip": "§a取下了烤乳猪(整只)",
|
||||
"giveItem": None,
|
||||
},
|
||||
]
|
||||
@@ -285,5 +313,6 @@ ITEM_USE_ON_RULES = [
|
||||
"item": "minecraft:chicken", # 手持的原版生鸡肉
|
||||
"target": "rtdd:roastchickenplace_0", # 生成的目标方块
|
||||
"consume": 1, # 消耗1个生鸡肉
|
||||
"tip": "§a已放置生鸡肉,可右键支杆上杆烤制",
|
||||
},
|
||||
]
|
||||
Reference in new issue
Block a user