identification of mobs

Started by M0Ngalaxi on

Topic category: Help with modding (Java Edition)

Last seen on 13:55, 22. Feb 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
identification of mobs

please help with the creation of a mod for viruses. I want the player to get a certain effect when bitten by a zombie.

Last seen on 19:36, 28. Mar 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Something like this And if…
Mon, 02/06/2023 - 23:56

Something like this

And if you want your virus to last untill the player/entity dies give them a lifetime global variable that adds your virus on tick (that prevents it from being cured by milk), just make sure that if you add a item that cures the virus it removes the variable aswell.

 

Last seen on 13:55, 22. Feb 2023
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you. you helped me a…
Tue, 02/07/2023 - 19:17

thank you. you helped me a lot.

Last seen on 19:36, 28. Mar 2024
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No worries, good luck with…
Tue, 02/07/2023 - 23:33

No worries, good luck with the mod!