Player procedures while cooking something

Started by Neoelfeo on

Topic category: Help with modding (Java Edition)

Last seen on 07:36, 8. Jun 2023
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 20:27, 19. Apr 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 07:36, 8. Jun 2023
Joined Jun 2015
Points:

User statistics:

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

That works for me.

Thanks!