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.1.2
Slightly changed the text_split_foreach procedure code to use the default value operator instead of re-assigning a (potential) missing value
Added a procedure "Attempt to do [x] print error to console [y]", which is a copy of an already-existing procedure, just without the statement if it fails
Slightly changed the text.properties line for try_and_catch
v5.1.1
"Is provided world hardcore" is no longer a server-side only check
v5.1.0
Added support for Forge 1.19.2 for anyone that still uses that
v5.0.0
I said I wouldn't be supporting lower versions... but I've decided that's a lie.
(Re)Added support for NF 1.20.6
Added support for NF 1.20.4
Added support for Forge 1.19.4 (To the one who asked me to make a backport of either 1.19.2 or 1.19.4 a year ago, your wish finally came true)
The "(NF Only)" text for the few procedures that have it will now show the minimum generator version that the procedure supports.
Comments
your plugin have game crashing bug, I made block that self replaces itself after 80 ticks and every 10 ticks it spawn particles to indicate that its going to spawn. its very rare but sometimes your block "repeat x times with wait time" crashes game with error Accessing LegacyRandomSource from multiple threads
Hi, I am using your plugin since yesterday and I REALLY LOVE IT!
There is a small error though, I think... The "Un-tame" is not working for me. My procedure is just
[Trigger: Entity hurt by Source Entity]
[if Entity tamed by Source Entity do
Un-tame Entity]
It does nothing. I also tried /execute as ... data remove entity @s Owner ingame and it doesn't work either. Can you tell where the problem is? (MCreator 2024.1; Java 1.20.1; Forge)
It creates a clone of an entity and also returns the cloned entity so you can edit it