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:
Forge 1.19.2:
Example how to use LivingDropsEvent to cancel item dropping from entity:
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);
}
}
Comments
please make a plugin to change the existing interface of the game, (the essence of the work is same to how Optifine replaces the video settings menu), make it possible to add new buttons to the inventory GUI, to the game settings (like replay mod does) and to the control settings for keybinds
heres three suggestions 1.procedures for new attacks such as laser beams, aoe attacks 2. a procedure that can change what type of entity a mod is such as changing it from ground to flying or from flying to water 3. just more mod ai and goal procedures for mobs sense there isnt alot but ye
make one that helps with world loading or performance or a debug tool aka log ingame