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.2, 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.0.3
Small but appreciable error change for the 1.21.8 tagGetUUID error-throwing if tag is null
v6.0.2
Removed the OnlyIn(Dist.CLIENT) thing for ALL versions of "On anvil updated" global event. Was entirely un-needed (I forgot it was even there tbh) and allows you to skip the game warnings about OnlyIn for said procedures that use the event (on 1.21.8)."Player block speed tick" and "Player harvest check tick" have both been renamed to better fit with the other tick-update events (this includes text *and* files as well). You will now see the tick info text at the bottom of your screen like the others, but you will have to manually re-select the event from the dropdown list.
v6.0.1
Added null-checks to the 1.21.8 get/has NBT UUID util files to prevent crashes on world load
v6.0.0
Added support for 2025.3 / NeoForge 1.21.8Added event "Item crafted from anvil (1.21.8<), mainly serving as a replacement for "Item output taken from anvil" as both events function differently.Changed markings for procedures/events that are only supported on specific minecraft versions with < and > (ex: 1.20.4< means 1.20.4 or greater, 1.21.4> means 1.21.4 or lower)
Comments
get key that keybind don't work, and how u think is need work? is need if pressed- return true, and equals to questions, if get key that keybind "Attack/Destroy (u is write what is a not "a,b,c, lmb or something)" = true
then return procedure
ITS NEED
if get key that keybind "Attack/Destroy" is assigned to = true
true = execute command "say 1" in the name of Event/Target entity
false - ignore procedure
what u do - idk, but its not work, and is a very nice reason to fix plugin, or pls write TRUE instruction
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;"
Ah. Glad I fixed the problem then lol