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

A procedure that checks if an item is on a cooldown

Wasn't sure what was possible but like attaching a model to an entity or player, changing skins textures etc. Maybe even swapping models with players / entities. (This is quite the task so some basic rendering tools could be good too like just rendering models of items or blocks at certain coordinates)