how to make sword remember mobs it killed?

Started by nuhauponosik228 on

Topic category: Help with modding (Java Edition)

Last seen on 10:33, 29. Sep 2024
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make sword remember mobs it killed?

i want to make a sword that will remember mobs that it killed and will have bonus damage against them but i don't know how to make that, when using string variable it only works for one entity at a time.