promotional banner

MoEntityInteractionCommand

You can configure trigger instructions for the behavior of 'right clicking on entities (LivingEntities)'.
QQ20260828-163425.png

QQ20260828-163425.png

Description

English

Configure in config/mo_dentityinteraction_command.json.
Hot reload with /mo_entity_interaction_command reload.
Example: Configure it so that right-clicking a Farmer Villager kills all villagers.


中文

config/mo_entity_interaction_command.json中配置。
支持使用 /mo_entity_interaction_command reload 进行热重载。
配置案例:右键点击 农民村民 时触发命令杀死所有村民。


Example Configuration

[
  {
    "id": "minecraft:villager",
    "nbt": {
      "VillagerData": {
        "profession": "minecraft:farmer"
      }
    },
    "commands": [
      "kill @e[type=minecraft:villager]"
    ],
    "intercept": true
  }
]

The MoEntityInteractionCommand Team

profile avatar
Owner
  • 11
    Projects
  • 1.8K
    Downloads

More from AMOTBQZView all