Started by
Android Flash
on
Topic category: Help with Minecraft modding (Java Edition)
Heya. I'm currently working on a tiny mod which adds a couple alternatives to vanilla torches and glowstone/redstone lamps for light. Between other things, I am trying to put in more torch types as well as lamp objects which all should act like torches when placed down (stick to a wall if placed directly on it, namely).
The thing is that the block model tab in the respective Block category doesn't really have an option for torches or objects placed like them. Now usually I wouldn't mind that, I can just model it; but I don't really know how to make the block act like a torch when placed on a wall. If any of you got a clue on how to deal with that I'd be much obliged.
Make a model of a torch on a wall, then instead of making a block make a item and when right clicked on block place a either a wall torch or normal torch depending from which face was it "placed" on
Ah, that's it. Thank you for the advice.
I take advantage of the fact that this conversation is being launched to ask you if you know a way to change the color of an object emitting light (white/yellow by default, the color of the torch, I think).