MoEntityInteractionCommand

Quick rating

Community listing page, reviews here may not be monitored by the author.

MoEntityInteractionCommand

No reviews yet

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

Mod Loaders
Minecraft

About

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
  }
]