同步官网文档8m_25d

This commit is contained in:
kwiilh
2025-08-25 18:36:29 +08:00
parent 4dc0ecf18d
commit 9e8855eeb4
5089 changed files with 8798 additions and 4799 deletions

View File

@@ -1,5 +1,5 @@
---
front:
front:
hard: 入门
time: 分钟
---
@@ -8,7 +8,7 @@ time: 分钟
## 概念
方块实体的概念详见[官方wiki](https://minecraft-zh.gamepedia.com/方块实体)
方块实体的概念详见[官方wiki](https://zh.minecraft.wiki/w/方块实体)
@@ -26,7 +26,7 @@ time: 分钟
- 添加了自定义方块实体的方块,可通过**服务端blockEntityData组件**来管理方块实体内的数据。
## 相关组件与事件
@@ -69,7 +69,7 @@ time: 分钟
dimension = args['dimension'] # 该自定义方块实体所在的维度
blockPos = (args['posX'], args['posY'], args['posZ']) # 该自定义方块实体所处位置
blockName = args['blockName'] # 含该自定义方块实体的方块名称
# 创建blockEntityData组件
comp = self.CreateComponent(self.levelId, "Minecraft", "blockEntityData")
# 获取可操作该自定义方块实体的对象
@@ -115,7 +115,7 @@ time: 分钟
- **应避免在地图中放置过多netease:block_entity组件配置tick为true的自定义方块频繁事件调用也可能造成卡顿**
- 方块销毁