mc-attack

Perform left-click attacks or block breaks in Minecraft by entity ID or coordinates.

10|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill mc-attack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mc-attack
Source: https://github.com/bdambrosio/Cognitive_workbench/tree/main/src/world-tools/minecraft/mc-attack
Command: npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill mc-attack

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows for direct interaction within a Minecraft environment, enabling actions like attacking entities or breaking blocks.

Core Features & Use Cases

  • Entity Targeting: Attack specific mobs or players using their unique IDs.
  • Block Targeting: Break blocks at precise world-relative coordinates.
  • Use Case: In a Minecraft game, use this Skill to defend against hostile mobs by targeting them with their entity ID, or to gather resources by breaking specific blocks in the environment.

Quick Start

Use the mc-attack skill to attack the entity with ID zombie_123.

Frequently Asked Questions about mc-attack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I attack entities or break blocks in Minecraft using an automated tool?

To attack entities or break blocks in Minecraft, you need a tool that performs left-click style interactions, targeting entities by their unique ID or blocks using world-relative coordinates (dx, dy, dz) from your agent's position.

Can I target a specific mob for a Minecraft attack using its entity ID?

Yes, you can target a specific mob for a Minecraft attack by providing its unique entity ID. This directs the left-click interaction specifically at that entity within the game environment.

How do I break blocks at specific coordinates in Minecraft programmatically?

You can break blocks at specific coordinates in Minecraft programmatically by providing world-relative coordinates (dx, dy, dz) from the agent's current position to execute a left-click block breaking action.

Do I need a Minecraft bot server to automate attacking and block breaking?

Yes, you need a Minecraft bot server integration to automate attacking and block breaking. The tool requires this server connection to execute left-click interactions within the game environment.

What is the difference between entity targeting and block targeting in Minecraft automation?

Entity targeting in Minecraft automation uses a unique entity ID to attack mobs, while block targeting uses world-relative coordinates (dx, dy, dz) from the agent's position to break specific environment blocks.