【Add-Ons】官方API文档 函数表 1.1.0版 汉化
1.17
minecraft:identifier
说明了这个实体属于什么
比如属于怪物啊 之类的
成员
id 值为string 默认为空
minecraft:identifier
说明了这个实体属于什么
比如属于怪物啊 之类的
成员
id 值为string 默认为空
1.18
minecraft:input_ground_controlled
当这个实体变为可骑乘状态时可以被玩家用wasd(摇杆)控制
eg.马 骡子
minecraft:input_ground_controlled
当这个实体变为可骑乘状态时可以被玩家用wasd(摇杆)控制
eg.马 骡子
1.22
minecraft:is_dyeable
允许染色
成员
interact_text 值 string
你拿着染料给实体染色的时候会显示的提示文字
minecraft:is_dyeable
允许染色
成员
interact_text 值 string
你拿着染料给实体染色的时候会显示的提示文字
1.29
minecraft:item_controllable
当你骑在这个实体上的时候用一种物品去控制它
成员
control_items 类型list 也就是方括号[ ] 里面包含了用来控制它的物品
eg.猪
minecraft:item_controllable
当你骑在这个实体上的时候用一种物品去控制它
成员
control_items 类型list 也就是方括号[ ] 里面包含了用来控制它的物品
eg.猪
1.31
minecraft:mark_variant
解释
Additional variant value. Can be used to further differentiate variants.
md 无法翻译成中文 大佬来解释一下 这玩意我没用过 不理解啊
minecraft:mark_variant
解释
Additional variant value. Can be used to further differentiate variants.
md 无法翻译成中文 大佬来解释一下 这玩意我没用过 不理解啊
1.32
minecraft:push_through
设置了实体可以穿过的距离???? 好迷啊
原文Sets the distance through which the entity can push through.
minecraft:push_through
设置了实体可以穿过的距离???? 好迷啊
原文Sets the distance through which the entity can push through.