Forge mixins support

Supported MCreator versions
2023.3
2023.4
2024.1
2024.2
2024.3
Tags / plugin type
Java plugin
mixin
Downloads:
3137
Upvotes: 28
About the plugin

Forge mixins is a plugin that allows other java plugins to define mixins that their mod elements generate. 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 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 mixin 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.



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

 

Changelog

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
License
MIT License

Plugin downloads
Forge mixins v1.1 (MCreator 2023.3 ONLY) - forge_mixins.zip Uploaded on: 03/23/2024 - 11:12   File size: 18.9 KB
Forge mixins v1.2 (MCreator 2023.4 ONLY) - forge_mixins.zip Uploaded on: 04/13/2024 - 08:18   File size: 19.08 KB
Forge mixins v1.2.2 (MCreator 2024.1 ONLY) - forge_mixins_2.zip Uploaded on: 04/17/2024 - 15:30   File size: 22.92 KB
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

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?