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