Attack Effects

Started by Physics on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Attack Effects

I want to make an armour set which while worn, allows the user to inflict any entity poison by hitting it. Is this possible? If yes, how exactly can I do so?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can try giving an NBT…
Thu, 05/11/2023 - 18:23

you can try giving an NBT tag to the player wearing the armour

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When entity attacked global…
Mon, 05/29/2023 - 13:21

When entity attacked global trigger:

If not is provided world client-side(to fix 'ghost effect' bug)

      If source entity wearing your armor(get item from armor slot (number) of source entity(changed from original) = your armor)

             Add effect poison to event target entity

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know if this topic…
Mon, 05/29/2023 - 13:22

I don't know if this topic is still active, but that procedure will work for what you want.