RedWire's Plugin

Supported MCreator versions
2024.1
2024.2
2024.3
2024.4
2025.1
Tags / plugin type
Global triggers
Procedures
Pixel art of a blocky head winking wearing a rainbow beanie
Downloads:
4930
Upvotes: 42
About the plugin

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)

Plugin downloads
v4.4.0 - redwiresplugin.zip Uploaded on: 05/12/2025 - 22:40   File size: 149.56 KB

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.

Where are old versions located? Since you removed 1.20.1 I cannot use the latest version.

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...

Okay so I realized too late post-4.1.0 that if you used the string split foreach procedure, you're gonna need to re-save every procedure that uses it (and for other elements that call those procedures), sorry chat

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

RedWire,
Your plugin has some very cool tech that I'm interested to discuss sometime, if you'd like. My discord username is 'snailsattack'.

Sorry to anyone that still uses Forge in the big 2025, but I'm taking that off and having NF 1.21.1 and 1.21.4 once MCreator 2025.5 releases, also releasing some more useful procedures :]