Skip to content

Commit 916abe8

Browse files
af: ♻️ refactor: 标准化函数命名和文档结构
- 重命名函数文件:start.mcfunction → load.mcfunction,things.mcfunction → tick.mcfunction - 更新标签文件中的函数引用 - 重构 README.md:添加英文描述,改进格式和结构
1 parent bb7aa63 commit 916abe8

5 files changed

Lines changed: 57 additions & 16 deletions

File tree

anvil-falling/README.md

Lines changed: 45 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,54 @@
1-
**这个数据包可以在玩家头上不断生成铁砧**
1+
# [AF]铁砧掉落 (Anvil Falling)
22

3-
警告:此数据包可能带来较大的性能开销,请不要在性能过低的电脑上游玩
3+
**The English description is below.**
44

5-
如果遇到任何问题,请点击 [这里](https://github.com/WhiteElephant-abc/anvil-falling/issues/new/choose) 反馈
5+
## 简介
66

7-
## 特性:
7+
这个数据包可以在玩家头上不断生成铁砧。
88

9-
### 主世界:
9+
警告:此数据包可能带来较大的性能开销,请不要在性能过低的电脑上游玩。
1010

11-
- 铁砧会破坏[草方块](https://zh.minecraft.wiki/w/%E8%8D%89%E6%96%B9%E5%9D%97)[泥土](https://zh.minecraft.wiki/w/%E6%B3%A5%E5%9C%9F)[石头](https://zh.minecraft.wiki/w/%E7%9F%B3%E5%A4%B4)
12-
- 会在生存模式玩家位置上方 100 格处生成铁砧
11+
## 特性
1312

14-
### 下界:
13+
### 主世界
1514

16-
- 铁砧会破坏下界的顶部[基岩层](https://zh.minecraft.wiki/w/%E5%9F%BA%E5%B2%A9#%E5%9F%BA%E5%B2%A9%E5%B1%82)
17-
- 铁砧会破坏[下界岩](https://zh.minecraft.wiki/w/%E4%B8%8B%E7%95%8C%E5%B2%A9)
18-
- 会在生存模式玩家上方 y130 处生成铁砧,即基岩层上方三格
15+
- 铁砧会破坏[草方块](https://zh.minecraft.wiki/w/%E8%8D%89%E6%96%B9%E5%9D%97)[泥土](https://zh.minecraft.wiki/w/%E6%B3%A5%E5%9C%9F)[石头](https://zh.minecraft.wiki/w/%E7%9F%B3%E5%A4%B4)
16+
- 会在生存模式玩家位置上方 100 格处生成铁砧
1917

20-
### 末地:
18+
### 下界
19+
20+
- 铁砧会破坏下界的顶部[基岩层](https://zh.minecraft.wiki/w/%E5%9F%BA%E5%B2%A9#%E5%9F%BA%E5%B2%A9%E5%B1%82)
21+
- 铁砧会破坏[下界岩](https://zh.minecraft.wiki/w/%E4%B8%8B%E7%95%8C%E5%B2%A9)
22+
- 会在生存模式玩家上方 y130 处生成铁砧,即基岩层上方三格
23+
24+
### 末地
25+
26+
- 会清除所有玩家周围 20³ 的铁砧方块
27+
- 会在生存模式玩家位置上方 100 格处生成铁砧
28+
29+
---
30+
31+
## Introduction
32+
33+
This datapack continuously generates anvils above players' heads.
34+
35+
Warning: This datapack may cause significant performance overhead. Do not use on computers with low performance.
36+
37+
## Features
38+
39+
### Overworld
40+
41+
- Anvils will destroy [Grass Blocks](https://minecraft.wiki/w/Grass_Block), [Dirt](https://minecraft.wiki/w/Dirt), and [Stone](https://minecraft.wiki/w/Stone)
42+
- Anvils spawn 100 blocks above survival mode players
43+
44+
### Nether
45+
46+
- Anvils will destroy the top [Bedrock](https://minecraft.wiki/w/Bedrock#Bedrock_layers) layer in the Nether
47+
- Anvils will destroy [Netherrack](https://minecraft.wiki/w/Netherrack)
48+
- Anvils spawn at y130 above survival mode players, which is three blocks above the bedrock layer
49+
50+
### End
51+
52+
- Clears all anvil blocks within a 20³ area around all players
53+
- Anvils spawn 100 blocks above survival mode players
2154

22-
- 会清除所有玩家周围 20³ 的铁砧方块
23-
- 会在生存模式玩家位置上方 100 格处生成铁砧

anvil-falling/data/anvil_falling/function/start.mcfunction renamed to anvil-falling/data/anvil_falling/function/load.mcfunction

File renamed without changes.

anvil-falling/data/anvil_falling/function/things.mcfunction renamed to anvil-falling/data/anvil_falling/function/tick.mcfunction

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": ["anvil_falling:start"]}
1+
{
2+
"replace": false,
3+
"values": [
4+
"anvil_falling:load"
5+
]
6+
}
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
{"replace": false,"values": ["anvil_falling:things"]}
1+
{
2+
"replace": false,
3+
"values": [
4+
"anvil_falling:tick"
5+
]
6+
}

0 commit comments

Comments
 (0)