Started by
canegurdle
on
Topic category: Help with Minecraft modding (Java Edition)
I have been trying to make a custom enchantments pack in MCreator 2023.4 (because I'm too lazy to update) and I'm having trouble with the Trident enchantment I've been trying to make. It is meant to pull the attacked entity towards the player with different strengths depending on the level and it works... but only in Creative. When the Trident is thrown in Survival, it stops working. Anyone know how to fix this?
Sorry, never used this site before and don't know how to embed the images, here's a direct link to it
https://imgur.com/4xmAhnn
Override motion vector procedure block may not work in all cases unfortunately
i know im probably very late, but in your code it checks if you have a trident in your hand when you hurt the entity with it. in survival when you throw the trident it comes out of your inventory so when it checks if you have a trident it returns nothing because the trident isnt in ur inventory