Forge mixins support

Supported MCreator versions
2023.3
2023.4
2024.1
Tags / plugin type
Java plugin
mixin
Downloads:
811
Upvotes: 13
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.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.zipUploaded on: 03/23/2024 - 11:12   File size: 18.9 KB
Forge mixins v1.2 (MCreator 2023.4 ONLY) - forge_mixins.zipUploaded on: 04/13/2024 - 08:18   File size: 19.08 KB
Forge mixins v1.2.2 (MCreator 2024.1 ONLY) - forge_mixins_2.zipUploaded on: 04/17/2024 - 15:30   File size: 22.92 KB

Comments

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?