Skip to content

行动: action

Tip

当选择了其中一种触发方式 则 另一种就无效。例如 当玩家进入你选定的方块范围内容就触发的内容时候。你这个时候同时添加了点击类型的触发器,则点击类型的触发器无效。只会优先触发坐标范围 * click type - 指代点击类型 参数有 right|left

  • block selector - 指代方块选择器

  • conditions - 条件

  • events - 事件

  • location - 坐标

  • range - 范围


官方例子

Example
action right DOOR conditions:holding_key loc:100;200;300;world range:5

action any any conditions:holding_magicWand events:fireSpell #Custom click listener for a wand

视频教程