Help me create my primitive campfire for fashion, please!

Started by AKOModificatio… on

Topic category: Help with modding (Java Edition)

Last seen on 17:49, 3. Dec 2023
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help me create my primitive campfire for fashion, please!
Sat, 12/02/2023 - 17:12 (edited)

I'm trying to make a primitive bonfire for my mod.

 

 How do I make sure that when at least one cell has any wooden object, I could start my fire, moreover, the time of its operation depended on the number of wooden objects. I'm new to Mcreator, so I can't implement this on my own.

 

 Please help me!
 Thank you in advance!

 

Edited by AKOModification Studio on Sat, 12/02/2023 - 17:12
Last seen on 07:04, 18. May 2024
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Check the number of items in…
Sun, 12/03/2023 - 08:58

Check the number of items in a slot, and set that to a variable. Check if there is wood in the slot, and if so, have it burn, but place air so it stops burning after a certain amount of time. This could be done by taking the variable, and multiplying it to reach the desired amount per wood.