mixin-writing
CommunityCraft compatible Minecraft mixins via MixinExtras.
Software Engineering#mixin#minecraft#mod development#mixinextras#bytecode targeting#injector selection#cross-mod compatibility
Authormuon-rw
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing SpongePowered Mixins for Minecraft mods frequently causes cross-mod compatibility conflicts, fragile bytecode targeting that breaks across game versions, and runtime errors from incorrect injector usage or missing best practices.
Core Features & Use Cases
- Chainable Injector Guidance: Prioritizes MixinExtras injectors over vanilla non-chaining patterns to ensure multiple mods can safely target the same method without silent conflicts.
- Precise Targeting Support: Provides clear rules for choosing between standard
@Atinjection points and MixinExtras@Expressionannotations to eliminate fragile ordinal-based or offset-based targeting. - Comprehensive Best Practice Coverage: Includes guidance for local variable capture, value sharing between handlers, accessor/invoker patterns, interface injection, and common pitfall avoidance for all mixin development scenarios.
- Use Case Example: A mod developer writing a mixin to modify entity fall behavior can use this skill to select the correct
@ModifyExpressionValueinjector with an@Expressiontargeting the fall distance check, ensuring compatibility with other mods that modify the same entity tick method.
Quick Start
Use the mixin-writing skill to review your existing mixin for the entity damage method and recommend the most compatible MixinExtras injector and targeting approach for your modification.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: mixin-writing Download link: https://github.com/muon-rw/MixinMCP/archive/main.zip#mixin-writing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.