Skip to content

Commit 3617a6b

Browse files
[AS] ♻️ refactor: 标准化函数文件命名并更新README
1 parent 5d1e079 commit 3617a6b

6 files changed

Lines changed: 39 additions & 21 deletions

File tree

.claude/commands/w.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

auto-smelt/README.md

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,33 @@
1-
**这个数据包可以自动消耗您背包中的煤矿烧炼物品**
1+
# [AS]自动冶炼 (Auto Smelt)
22

3-
- 可以使用的燃料有:[煤炭](https://zh.minecraft.wiki/w/%E7%85%A4%E7%82%AD
4-
"煤炭")、[木炭](https://zh.minecraft.wiki/w/%E6%9C%A8%E7%82%AD
5-
"木炭")、[煤炭块](https://zh.minecraft.wiki/w/%E7%85%A4%E7%82%AD%E5%9D%97
6-
"煤炭块")
7-
- 可以烧炼的物品有:[矿石](https://zh.minecraft.wiki/w/%E7%83%A7%E7%82%BC#%E7%9F%BF%E7%9F%B3)[食物](https://zh.minecraft.wiki/w/%E7%83%A7%E7%82%BC#%E9%A3%9F%E7%89%A9)
3+
**The English description is below.**
84

9-
## 特性:
5+
## 简介
106

11-
- 烧炼一个物品会消耗 1 点经验,如果玩家没有经验则不会烧炼物品
12-
- 输入 `/trigger ore` 来开启或关闭对于矿石方块的烧炼(默认关闭)
13-
- 如果背包中同时拥有三种支持的燃料,会同时消耗这些燃料
14-
- 消耗煤炭块后可以同时烧炼 9 个物品,并扣除 9 点经验
7+
这个数据包可以自动消耗您背包中的煤矿烧炼物品
158

16-
如果遇到任何问题,请点击 [这里](https://github.com/WhiteElephant-abc/auto-smelt/issues/new) 反馈
9+
- 可以使用的燃料有:[煤炭](https://zh.minecraft.wiki/w/%E7%85%A4%E7%82%AD)[木炭](https://zh.minecraft.wiki/w/%E6%9C%A8%E7%82%AD)[煤炭块](https://zh.minecraft.wiki/w/%E7%85%A4%E7%82%AD%E5%9D%97)
10+
- 可以烧炼的物品有:[矿石](https://zh.minecraft.wiki/w/%E7%83%A7%E7%82%BC#%E7%9F%BF%E7%9F%B3)[食物](https://zh.minecraft.wiki/w/%E7%83%A7%E7%82%BC#%E9%A3%9F%E7%89%A9)
1711

18-
如果无法访问,请点击 [这里](https://steampp.net/) 下载加速器
12+
## 特性
1913

20-
**此数据包依赖于[DFL](https://github.com/WhiteElephant-abc/datapackets-functions-LIB)**
14+
- 烧炼一个物品会消耗 1 点经验,如果玩家没有经验则不会烧炼物品
15+
- 输入 `/trigger ore` 来开启或关闭对于矿石方块的烧炼(默认关闭)
16+
- 如果背包中同时拥有三种支持的燃料,会同时消耗这些燃料
17+
- 消耗煤炭块后可以同时烧炼 9 个物品,并扣除 9 点经验
18+
19+
---
20+
21+
## Introduction
22+
23+
This datapack automatically consumes coal from your inventory to smelt items
24+
25+
- Supported fuels: [Coal](https://minecraft.wiki/w/Coal), [Charcoal](https://minecraft.wiki/w/Charcoal), [Block of Coal](https://minecraft.wiki/w/Block_of_Coal)
26+
- Smeltable items: [Ores](https://minecraft.wiki/w/Smelting#Ores), [Food](https://minecraft.wiki/w/Smelting#Food)
27+
28+
## Features
29+
30+
- Smelting one item consumes 1 experience point; items won't be smelted if the player has no experience
31+
- Use `/trigger ore` to toggle ore block smelting (disabled by default)
32+
- If the inventory contains all three supported fuels, they will be consumed simultaneously
33+
- Consuming a coal block allows smelting 9 items at once, deducting 9 experience points
File renamed without changes.
File renamed without changes.
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
{"replace": false,"values": ["auto_smelt:start"]}
1+
{
2+
"replace": false,
3+
"values": [
4+
"auto_smelt:load"
5+
]
6+
}
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
{"replace": false,"values": ["auto_smelt:things"]}
1+
{
2+
"replace": false,
3+
"values": [
4+
"auto_smelt:tick"
5+
]
6+
}

0 commit comments

Comments
 (0)