Attack Effects

Started by Physics on

Topic category: Help with modding (Java Edition)

Last seen on 14:24, 12. May 2023
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?

Last seen on 15:53, 25. Apr 2024
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

Last seen on 15:56, 26. Apr 2024
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

Last seen on 15:56, 26. Apr 2024
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.