Skip to content
iPlugin

Player Kill

击杀实体时

node 参数均为可选项(选填),event 不分大小写。

参数类型描述
position位置解释器实体位置
weapon物品解释器攻击物品
entity实体解释器被攻击的实体
cause字符串列表伤害原因
exp整数掉落经验
damage数字伤害
damage-final数字最终伤害
drops物品解释器掉落物品
event: player kill
node:
  position: world 0 0 0 ~ 10
  weapon:
    - Minecraft -material diamond_sword
  entity:
    - Minecraft -type zombie
  cause:
    - ENTITY_ATTACK