Player procedures while cooking something

Started by Neoelfeo on Sun, 07/11/2021 - 01:00

Topic category: Help with modding (Java Edition)

Last seen on 09:52, 18. Sep 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Player procedures while cooking something
Sun, 07/11/2021 - 01:01 (edited)

Hi, I was wondering if is it possible to give certain potion effects to a player while is cooking something in a campfire or furnace.

I want to add a new ore to my mod, and if player melts it, it will release poisonous gas around.

Edited by Neoelfeo on Sun, 07/11/2021 - 01:01
Last seen on 17:56, 17. Sep 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
there is... but only with…
Sun, 07/11/2021 - 22:34

there is... but only with items, if you create an ore and make it break into an item, you can go to that items triggers and find the smelting or crafting, and add a poison effect to the player, you can't do this with the block alone sadly.

Last seen on 09:52, 18. Sep 2021
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
That works for me. Thanks!
Fri, 07/16/2021 - 04:45

That works for me.

Thanks!