Files
netease-modsdk-wiki/docs/mconline/10-addon教程/第14章:创造一个全新维度/课程05.简易教程① 放置在高于水面的特征.md
2025-03-17 13:24:39 +08:00

27 lines
876 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: https://mc.res.netease.com/pc/zt/20201109161633/mc-dev/assets/img/4_1.f29b0af7.jpg
hard: 进阶
time: 15分钟
---
# 简易教程① 放置在高于水面的特征
#### 作者:境界
①原版世界的海平面在Y轴63格及以下因此在放置某些自定义方块植物进入世界时我们不希望它出现水面上。这里就用单方块组合和特征规则来展示如何放置一个高于水面的特征。
![](./images/4_1.jpg)
② 创建一个单方块特征,并将放置的方块类型设置为南瓜。
![](./images/4_2.jpg)
③新建一个特征规则允许特征放置在全群系内高度必须在64格以上而不包括64格否则将特征放置在0格以下即虚空位置。这里运用到了一种三元运算符可以简单理解为条件 满足的话执行这里 : 不满足的话执行这里。