When item in inventory inflict poison to entities attacked by player

Started by myxical on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When item in inventory inflict poison to entities attacked by player

How do I make an item that when in inventory will make it so whenever you attack something, they get poison?

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not what I meant. The entity…
Fri, 06/18/2021 - 19:07

Not what I meant. The entity attacked should get poison, not the player.

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh woops switch the "event…
Fri, 06/18/2021 - 23:23

oh woops switch the "event/target entity" with "source entity" 

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't see the attacking…
Mon, 06/21/2021 - 16:32

I don't see the attacking part. Think of it like a poison sword.

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
does it not work?
Mon, 06/21/2021 - 18:25

does it not work?

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you have an item say…
Mon, 06/21/2021 - 18:28

if you have an item say honey bottle in your inventory, if a entity is attacked while you have it in your inventory they should get poisoned 

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Okay, I guess that's what I…
Thu, 06/24/2021 - 10:51

Okay, I guess that's what I want. thanks

Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well only if its you that…
Thu, 06/24/2021 - 20:15

well only if its you that attacks it, hopefully, test it out so its not if they take damage from something else, that might get chaotic