I am learning JAVA(from maybe a month now) so i am totally new to all forge things. So, I wanted to ask how do you get some properties, namely the minecraft torch property of different textures when placed on side of blocks and the one in which it pops off when the block it is placed on is broken. I tried copying some code which i thought was relavent to the property of placing on side of blocks, the one using enumfacing, but my game used to crash saying that enum is never used and is not in blockstate container i am currently on my phone so can't attach the files but will do so if requiered. Please do tell me if there is something i am doing stupidly wrong. i also tried adding all the torch code ,without the block properties and stuff of course, but it did not render the model tgis time. the enumfacing worked though. Any help will be greatly appreciated
[EDIT]
I forgot to mention that i am making a custom model block named 'Lantern'. Also, I wanted it to be placeble on the downside of blocks, which cannot be done with minecraft torch