WolfieWaffle / Hardcore-Torches-Forge

Other
0 stars 4 forks source link

Torches can be lit by right clicking an unlit campfire #7

Closed TheInfine closed 2 years ago

TheInfine commented 2 years ago

This happens because campfires store their lit state in blockstates.

If this is fixed it would also be cool if lit furnaces, smokers, blast furnaces and maybe candles and candle cakes could be used for lighting torches.

WolfieWaffle commented 2 years ago

Hm I didn't think of that. The problem is that everyone says I should be using block tag json files, but those don't allow for blockstates. I hear there may be another proper solution, but it might take a bit.

TheInfine commented 2 years ago

Maybe you could check if the block has blockstate lit: false, and if so disable lighting a torch with it, at least until there is a proper solution. This would work for all of the vanilla blocks and wouldn't cause additional problems with modded ones.

WolfieWaffle commented 2 years ago

hm, I think I can do that yea