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.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
v4.3.2
- DataComponent ITEM_MODEL takes an item as a value instead of a string for setting default components
v4.3.1
- Procedures "Remove default component [datacomp] of [item]" and "Set default component [datacomp] of [item] to [value]" no longer use the "provided itemstack" procedure output, instead using the item picker procedure.
- "Set default component [datacomp] of [item] to [value]" now allows the following to be edited more simply: DAMAGE, MAX_DAMAGE, MAX_STACK_SIZE, REPAIR_COST, ITEM_NAME, CUSTOM_NAME, USE_COOLDOWN, NOTE_BLOCK_SOUND, ITEM_MODEL, TOOLTIP_STYLE. (I currently do not have enough time to explain what value types these datacomponents allow specifically, but I will explain it later)
Comments
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...
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
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.