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 :)
I'm not downgrading this plugin/supporting lower versions. Anyone is allowed to as long as I am credited but I won't be doing it myself.
Supported plugin versions: Forge 1.20.1, NeoForge 1.21.1, NeoForge 1.21.4
For info on most procedures and other stuff, check this file
Changelog
for the full list of changes, check this file
v4.5.0
- Changed entity-from-UUID procedure text to "Get entity from UUID [string] from provided world" just to clarify that it only searches in that given world/dimension
- Added 2025002 to the list of supported versions in plugin.json so 2025002 will be supported whenever the full release comes out
- Added procedure "Get numerical ID of [entity]" (requested by mooth (bnuuy) from the NeoToolKit server)
- Added procedure "Get entity from numeric id [number] from provided world" (also requested by mooth (bnuuy) from the NeoToolKit server)
v4.4.0
- Added procedure "For each enchantment applied to [item] as ID [string iterator] do [statement]"
- Added procedure "Enchantment level iterator" in Utils utils for the applied enchantment loop
- Added procedure "Attempt to do [statement1] if failure, do [statement2] [printerrorcheck] print error to console" in Utils
- The procedure for getting an object from its (neo)forge registry is now 2 lines shorter in code
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 ;("