How do I make totems of undying drop items when they are used?

Started by bbbluess on

Topic category: Help with modding (Java Edition)

Last seen on 18:29, 29. Mar 2023
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make totems of undying drop items when they are used?

I'm making a mod where you can use a totem, but instead of it being gone, it turns into a "Dead totem", where when you forge it with a lapis block on a smithing table, its live again.

The problem is, how do I make the totem turn into a dead totem when said totem is used?

Last seen on 21:34, 28. Mar 2024
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is an "entity uses a…
Sun, 03/03/2024 - 17:17

There is an "entity uses a totem" event trigger when creating a procedure. Use that and have it add 1 totem to the player's inventory.

Last seen on 21:34, 28. Mar 2024
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
One dead totem, that is.
Fri, 03/22/2024 - 00:03

One dead totem, that is.