Started by
AKOModificatio…
on
Topic category: Help with Minecraft modding (Java Edition)
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
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.