minecraft-mixin

Implement Mixin annotations in Minecraft Forge and NeoForge modding environments.

2|Updated May 30, 2026
One-click install
npx skills add https://github.com/code-onigiri/mc-modding-skill --skill minecraft-mixin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: minecraft-mixin
Source: https://github.com/code-onigiri/mc-modding-skill/tree/main/.agent/skills/minecraft-mixin
Command: npx skills add https://github.com/code-onigiri/mc-modding-skill --skill minecraft-mixin

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the process of implementing Mixin annotations in Minecraft modding, providing guidance on setup, usage, and best practices.

Core Features & Use Cases

  • Mixin Setup: Offers detailed instructions for setting up Mixin in Forge and NeoForge environments.
  • Usage Guide: Provides comprehensive documentation on Mixin annotations like @Inject, @Redirect, and @Overwrite.
  • Best Practices: Shares best practices for avoiding common pitfalls and ensuring compatibility with other mods.

Quick Start

Run the skill with the command 'minecraft-mixin run'.

Frequently Asked Questions about minecraft-mixin

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

FAQPage Schema
How do I set up Mixin annotations in a NeoForge or Forge environment?

Mixin setup in NeoForge or Forge environments requires configuring the environment and dependencies correctly before implementing annotations. This Skill provides detailed setup instructions, usage guides for annotations like @Inject, and best practices to ensure mod compatibility.

What is the difference between @Inject, @Redirect, and @Overwrite annotations in Minecraft modding?

The difference between @Inject, @Redirect, and @Overwrite annotations in Minecraft modding lies in how they modify game logic: @Inject adds code at specific points, @Redirect intercepts method calls, and @Overwrite entirely replaces methods. This Skill provides comprehensive documentation on using these Mixin annotations.

Does this Skill work with both Forge and NeoForge for Minecraft modding?

Yes, this Skill works with both Forge and NeoForge for Minecraft modding. It offers detailed instructions for setting up and using Mixin environments in both modding platforms, ensuring broad compatibility for your annotation implementation.

What are the best practices for avoiding common pitfalls when using Mixin in Minecraft mods?

The best practices for avoiding common pitfalls when using Mixin in Minecraft mods involve following specific guidelines for annotation usage and ensuring compatibility with other mods. This Skill shares best practices to help you navigate these constraints and avoid conflicts.

Why do I need the Mixin dependency to modify Minecraft game logic?

You need the Mixin dependency to modify Minecraft game logic because it provides the necessary framework for implementing runtime bytecode manipulation in Forge and NeoForge. This Skill requires Mixin to assist with setting up environments and using annotations correctly.