Started by
koshikawa
on
Topic category: Help with Minecraft modding (Java Edition)
i am trying to make it where if someone with an spasific enchant attacks anything they get a potion effect, yet i cant find anything that will help me. i looked through alot of forms on here and found nothing that works.
im trying to make it where
Entity attacks
If they are holding an item with the enchant, then they gain the effect
and yes i am really new to this app so i dont know that much but the offical forms for enchanting didnt really help.
Global Trigger: Entity attacked
If item in main hand of source entity is has enchantment (your enchantment)
Do apply potion effect (your choice) with amplifier (your power-1) for (your duration*20) ticks to source entity.
All of the procedure blocks have been modified by swapping out some of the removable blocks for other blocks of the same type.
thank you so much catnip!