Started by
mewthehappy
on
Topic category: Help with Minecraft modding (Java Edition)
I want it to have the same size and shape of a torch, and attach to walls and have the shape change like vanilla torches. Any help?
Topic category: Help with Minecraft modding (Java Edition)
I want it to have the same size and shape of a torch, and attach to walls and have the shape change like vanilla torches. Any help?
Why not just retexture the vanilla torch? Are you trying to change its light level or crafting recipe?
I’m changing it’s crafting recipe. Also, I’m making this torch not break underwater. So idk if a retwxture would work, I’m new here so idk how this stuff works.
It's fairly easy in concept, a little annoying in practice. The way I found that works for me is to create 2 block models (I recommend Blockbench as a modeling software), one for the wall and one for the floor. Add both as separate elements but only make the floor torch available in game. Give it directional rotation - you'll have to play around with which way the model needs to face in order to work - then write a procedure that checks whether the torch is placed on a n/s/w/e face or an up face, and replaces it with the wall model as necessary.
Hope this helps a little, let me know if you need more info. :)
Ok cool, that answers most of my question. I’m also a bit confused about resizing things, I changed the dimensions of the block and it didn’t do anything when I tested it out in game. Any help?
How exactly would you do this? like what procedure blocks would you use to make this happen?
How exactly would you do this? Like what procedure blocks would you use?