Vex

Published by Van on
Supported MCreator versions
2023.3
2024.1
Tags / plugin type
Global triggers
Procedures
plugin icon
Downloads:
1309
Upvotes: 11
About the plugin

My Ko-fi link:
 

If you need anything, contact me on discord (zsvan), 
otherwise I don't really check forums.


Vex adds some niche procedures and global triggers.

 

Forge 1.20.1 / Neoforge 1.20.4 triggers:

  • Entity dying xp drop event (cancellable)
  • Entity dying item drop event (cancellable)
  • Enderman anger (cancellable) (works a bit differently than it sounds, basically you can make anything cancel the event like pumpkin helmet does)
  • Baby entity spawns
  • Equipment slot changes (mainhand, offhand, head etc. - slot for now can be gotten in string form)


Forge 1.16.5, 1.19.2, 1.19.4, 1.20.1 + Neoforge 1.20.4:

spawn tamed entity procedure

Forge 1.19.2:
damage_procs
 

Example how to use LivingDropsEvent to cancel item dropping from entity:

procedure

And code used in the custom code snippet:

        for (ItemEntity itemEntity : ((LivingDropsEvent)event).getDrops()) {
            ItemStack itemStack = itemEntity.getItem();
            if (itemStack.getItem() == dontDrop.getItem()) {
itemEntity.remove(ItemEntity.RemovalReason.DISCARDED);
            }
        }
Project members
Developer
License
GNU General Public License version 3 (GPLv3)

Plugin downloads
2024.1 (Forge 1.20.1, Neoforge 1.20.4) - Vex-1.3-b.zip Uploaded on: 06/29/2024 - 17:39   File size: 10.95 KB
Outdated (Forge 1.16.5, 1.19.2, 1.19.4, 1.20.1) - Vex-1.2.2.zip Uploaded on: 10/11/2023 - 16:21   File size: 13.72 KB

Comments

Author Submitted by Van on Mon, 10/21/2024 - 20:21 Permalink

Working on 2024.3 update (I think I'll throw 2024.2 in as well). Global triggers will have proper additional procedures (for example slot change trigger will have slots).

How to make a baby for custom entities? When I consent to the processing of my personal data, "you have selected an external trigger that does not provide the following dependencies:entity"

Hello, I was hoping to see if it were possible to get a procedure that changes an overlay width / height?

I miss the "armor change" global procedure, easily the most useful thing in this plugin and it sucks it's not being developed anymore :/

nevermind... it does not, now my gradle is corrupted (thats what mcreator says... not sure if thats true, and when i tried to clear it it just... didnt work) so uh... dont use this on 2023.4

if you wanna use this on 2023.4, it MIGHT work, as i have seen a few plugins for 2023.3 that work for 2023.4, but backup your workspaces

for 1.20.1 maybe one that adds a field that detects things for example the locate command has a thing when you go to biomes the biomes even modded biomes appear maybe something like that for example i am making a mod where you can tp to dimmensions but it would be nice to have a list that i can sellect then push tab to chosse that

a global trigger to detect when a player change item in the main hand

Procedure that makes the player perform the use animation for x amount of ticks. Goat horns, shields, food, etc.

could you add a procedure that measures the point a and point b when ray tracing and turns it into a number so it basically measures the nearest block being looked to the origin (the head)