How to put a light if right click on the block with a charcoal

Started by lucasxd51 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to put a light if right click on the block with a charcoal
Hello I am creating a decoration mod,
I created a fireplace, what I would like is that when you click on it with a charcoal, it lights the fireplace, emits fire particles which rise to the top of 3blocks and removes to the inventory 1 charcoal.
In procedure if he wanted

If possible do it and put a screen of the procedure (I'm French) I searched on the internet and I found nothing, thank you!