Help with finding the item in entity's main hand procedure??

Started by Partyzombie71 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with finding the item in entity's main hand procedure??

I basically just need help on to locate it im making a code to where if a player hits a entity with a certain item it will give them a potion effect...if anyone has any other way of doing this please let me know or at least if you can help me find that piece of code...Thank you!!

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
its on entity data
Thu, 01/06/2022 - 01:06

its on entity data

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make it so i can…
Thu, 01/06/2022 - 01:56

How do i make it so i can hit all entity's with a sword and it will give them poison?

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I tired watching that but it…
Thu, 01/06/2022 - 03:20

I tired watching that but it didnt tell me how to do that on other players just myself...