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

Started by bbbluess on

Topic category: Help with Minecraft modding (Java Edition)

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?

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.

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.