RedWire's Plugin is a thing that I've been using mostly to help with my own mod-making experience. Hopefully, some of the additions from this plugin will be useful to other people :)
Supported plugin versions:
Forge 1.19.4, Forge 1.20.1, NeoForge 1.20.4, NeoForge 1.20.6, NeoForge 1.21.1, NeoForge 1.21.4, NeoForge 1.21.8
For info on most procedures and other stuff, check this file
Changelog
for the full list of changes, check this file
v6.5.6
Removed support for Forge 1.19.2 and changed minimal supported MCreator version to 2023.4 because I just actually checked if my plugin truly does support 2022.3, and turns out it never did
v6.5.5
The default text for the "Get object from registry" procedure now reads "minecraft:sharpness OR sharpness" to show that a namespace isn't required (it's always been that way, this update simply aims to make it clearer)
v6.5.4
Trimmed the text on the procedure for dealing damage to entity with custom death key + damage source because text too long and me no likeyAdded "Get level of applied enchantment" as a placeholder input for the applied-enchantment-foreach procedure (Existing procedures will have a blank placeholder input, but no issues will arise from it)Moved the "literal" checkbox in the text-split-foreach procedure to a more fitting location
Comments
What I was thinking was removing the effect and then reapplying it to the entity might work though if that ends up being the way to alter it could just be split into two blocks, one for removing a specified effect based on its ID. also another to apply the effect based on its ID using the other inputs like normal. did that all make sense?
would it be possible to add a block that can edit the certain level of an enchantment based on its ID to this plugin? I am asking since this plugin already has a thing that loops through enchantments, but I can't seem to find a way to use that to alter the enchantments themselves. If there is a way to do this already, I would like to know (that uses the blocks since those are easier to use and since I don't really know the java programming language).
Would it be possible to add a loop block that loops through potion effects on an entity to the plugin? with a way to check if the current iteration is positive/negative/neutral, and its duration, amplifier, and maybe the other two things (particles and ambient)? (Also, if possible, a way to alter the current potion effect in the iteration (its duration and amplifier maybe the other settings two (the particle and ambient thing))? I would think removing and then reapplying the effect with the changes would be able to do that). I am asking because of similar reasons to when I had asked about the enchantment thing. Did I explain what I am asking to be put into the plugin well? Also thank you so much for adding that previous thing that I had asked for since that made it so much easier to make the Enchanter's Bane (a very overpowered weapon in my legendary weaponry mod).