Files
netease-modsdk-wiki/docs/mcguide/20-玩法开发/15-自定义游戏内容/2-自定义方块/3-特殊方块/0-特殊方块概述.md
2025-03-17 13:24:39 +08:00

23 lines
562 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
front:
hard: 入门
time: 分钟
---
# 特殊方块概述
开发者可通过在方块定义json中添加base_block来修改方块的基础行为。
base_block包括
* mob_spawner 自定义刷怪箱
* portal 自定义传送门
* custom_crop_block 自定义农作物
* custom_heavy_block 自定义重力方块
* liquid 自定义静态流体方块
* flowing_liquid 自定义动态流体方块
![special-1](.././picture/customblock/special-1.png)
如下图为自定义刷怪箱的base_block配置
![special-2](.././picture/customblock/special-2.png)