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
For info on most procedures and other stuff, check this file
Changelog
for the full list of changes, check this file
v5.5.4
Getting the entity that a player is spectating will no longer (manually) return null if it's spectating itself/isn't spectating anythingAdded customBlockIndex stuff for certain data procedures to prevent potential build errors (thanks Klemen for removing backwards compatibility btw. very helpful)
v5.5.3
Fixed a thing where I accidentally screwed up "Get entity from string uuid" in versions 1.20.6 or lower
v5.5.2
Changed code of "Get entity from literal uuid [uuid]" to be a simple one-liner instead of creating a method (or anonymous object, depending on the Minecraft version)Moved all UUID-related procedures (except for UUID comparison) to a new plugin tab labeled "UUID"Removed the "regclasses.yaml" datalistImproved the "forgeregs" datalist to include the data from regclasses.yamlThe "Get object from registry" procedure no longer uses a second field for defining class type
v5.5.1
Added server-side indicator for getting entity from string/literal UUID and executing command from entity/world with permission level (Note: getting entity from numeric ID works both sides, so that is intentionally left without an indicator)
Comments
Is it possible to add a procedure block that is like:
"For each item as [ItemStack Iterator] of the currently open GUI of [Entity] do..."?
It would return each item of the GUI that's currently open, except the ones from the player's inventory. In other words, it would get only the items from the chest, or machine, or other block that has a block entity. I'm sorry if this sounded a bit demanding. You don't have to do, if you don't want to.
I uhh.. didn't keep any backups of forge 1.20.1, sorry 💔
I *can*, however, re-add support. Fair warning though, I don't know if I can support the item "set max damage/set stack size/repair cost" things, but... I can certainly try.
Also just remembered I don't need to downgrade mcreator cause I can just get the Forge 1.20.1 generator plugin, so...
I believe so, yeah. I don't prefer working with a bunch of generator versions, just the main 2 that the current version of MCreator supports (plus 1.20.1 Forge by popular request)