Forge mixins support

Tags / plugin type
Java plugin
Supported MCreator versions
2023.3
2023.4
2024.1
2024.2
2024.3
2024.4
2025.2
2025.3
2026.1
2026.2
mixin
Downloads:
17337
Upvotes: 60

Forge mixins is a plugin that allows other java plugins to define mixins that their mod elements generate and register. This can be done by including a list of strings in the generatable element of the mod element, which is then picked up by this plugin and included in the list of registered mixins. The plugin does not add any new features by itself.


How does the plugin pick up mixins from mod elements?

In order to have your mod elements' mixins recognised by this plugin and included in the mixin list, your generatable element needs to include a public List<String> with the name mixins. This should be initialized with the mixins' class names in the generatable element's constructor.


The plugin also adds the "Mixin" mod element, which is a copy of the "Custom element" mod element, but is detected as a mixin. You can use this element to manually code new mixins you want to use.


Alternatively, you can use the procedural mixin mod element to inject a procedure into vanilla code if you do not know java. Beaware that procedural mixins are prone to crashes and breaking between minecraft version updates due to changes in the code.



This is a java plugin and therefore requires java plugins to be enabled.


Changelog

v2.0.5
-Added action result and direction dependency support for procedural mixins

v2.0.4
-Fixed procedural mixins targetting static methods causing the game to not load

v2.0.3
-Fixed entity mixins not giving you the dependency of themselves if another entity dependency existed in target method

v2.0.2
-Made it so having an entity dependency in the selected method uses it to add a world dependency if it isn't provided

v2.0.1
-Added the return value of methods that have one as a dependency to use in the mixin procedure

v2.0
-Added the procedural mixin mod element, which allows you to create mixins without coding

v1.9
-Ported to MCreator 2026.2 and Minecraft 26.1.2

v1.8
-Ported to MCreator 2026.1

v1.7
-Ported to MCreator 2025.3

v1.6
-Ported to MCreator 2025.2
-Changed the mixins' package from mixins to mixin, you will need to remake any mixin elements

v1.5
-Ported to MCreator 2024.4

v1.4
-Ported to MCreator 2024.3 and neoforge 1.21.1

v1.3
-Ported to MCreator 2024.2 and neoforge 1.20.6

v1.2.2
-Fixed the import formatter breaking in some cases

v1.2.1
-Fixed the plugin breaking tags in 2024.1 in versions below 1.20.4

v1.2
-Fixed the mixin mod element generating in the wrong folder
-Support for MCreator 2024.1
-Support for neoforge 1.20.4

v1.1
-Added the mixin mod element

Legacy versions archive:
v1.1 for 2023.3
v1.2 for 2023.4
v1.2.2 for 2024.1
License
MIT License
Plugin downloads
Forge mixins v1.3 (MCreator 2024.2 ONLY) - forge_mixins.zip Uploaded on: 07/20/2024 - 06:20   File size: 15.99 KB
Forge mixins v1.4 (MCreator 2024.3 ONLY) - forge_mixins.zip Uploaded on: 10/16/2024 - 17:10   File size: 16.31 KB
Forge mixins v1.5 (MCreator 2024.4 ONLY) - forge_mixins-1.zip Uploaded on: 05/11/2026 - 23:40   File size: 16.59 KB
Forge mixins v1.6 (MCreator 2025.2 ONLY) - forge_mixins.zip Uploaded on: 08/22/2025 - 09:27   File size: 15.06 KB
Forge mixins v1.7 (MCreator 2025.3 ONLY) - forge_mixins.zip Uploaded on: 10/21/2025 - 22:14   File size: 12.37 KB
Forge mixins v1.8 (MCreator 2026.1 ONLY) - forge_mixins.zip Uploaded on: 03/29/2026 - 17:06   File size: 12.4 KB
Forge mixins v2.0.5 (MCreator 2026.2 ONLY) - forge_mixins.zip Uploaded on: 07/23/2026 - 17:25   File size: 33.01 KB

Comments

Can you make a tutorial on this? I 100% don't get it. It also from what I'm seeing looks like you have to edit the original classes code each time you update it anyways, at that point, just add in your mixins each time yknow? I just don't understand it, nothing on you..

This is great! Managed to set the stack limit to 999😹😹😹

Is it possible for you to make this for fabric? i really want the mixins element

NerdyPuzzle, Please help with this question, I beg you, if it doesn’t bother you - "How can I add BlockEntity to Vanilla FarmBlock using the "Forge mixins support" plugin". I wanted to add NBT to FarmBlock to track the FarmBlock custom parameter while playing in the overlay

how can i fix that error "MixinGradle did not locate the diffplug APT plugin, skipping eclipse task configuration" pls help Nerdy

you make life so much easier. say, is it possible to make a plugin that could allow translucent textures on models for items, entities, projectiles, etc. in mcreator?