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
if you know how to use basic code for code blocks, the thing to get invulnerablity time is "entity.invulnerableTime"
so if you wanna grab that value, you can use "Set number [variable name] to" and put "entity.invulnerableTime" with a code snippet
to change it, use the other custom code snippet. for example if I wanna change it to 0 to make an entity able to be hurt again, simply do "entity.invulnerableTime = 0;"
This plugin deserves more than 1000 upvotes. i like how you said "sorry marwinekk256 ;("