Started by
BBBOY
on
Topic category: Help with MCreator software
I made a weapon enchantment that applies a custom potion effect to a target entity, but it doesn't work on boss-type entity (wither and ender dragon). Is there any way to make it work?
If you're using the 'item in main hand' or 'item in inventory tick' trigger, it's possible it's only targeting players holding the item. Try making a procedure that triggers on entity update tick, (not player update tick), checks if the item in the main hand of the event/target entity has your custom enchantment, and, if it does, apply the potion effect. (Also double check your entity doesn't have potion immunity turned on- it's also possible enabling a boss bar turns this on by default, in which case you might have to remove it manually.)