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
Dunno, works for me fine no problem. If you wanna attempt to keep entities from targeting you, you can set a "Entity sets its attack target" global trigger, use the "Set new target of source entity to [entity]" under the event procedures tab, and use the "No entity" block
I believe it checks for the first block that is closest to Entity1 thats in the way of it and Entity2, considering the raycasting starts from that.
Also, make sure you're using the "Can Entity1 find Entity2" check from my plugin aswell, as it'll just return 0,0,0 if there is no block in the way
Asking as someone who's on 2023.4, but is redwiresplugin_11 the last one that was made for that version of Mcreator?
Btw your plugin is probably still one of the most useful plugins I've used over the years
[Note: If I hadn't been working on a project for years requiring plugins that are no longer being updated I'd move to the newer Mcreator versions]
The "set (entity) target to nothing" block doesn't seem to work for me, basically I am trying to do an item that make a certain entity "passive" when the player has it in his inventory/equipped