Topic category: Help with Minecraft modding (Java Edition)
So I have two questions that I need help with while I was modding:
1. I wanted to create a new log type, specifically a maple log. I finished making all the textures and blocks, and made it generate as a tree in a custom biome. But the leaves attached to the trees made of maple logs start to decay. I believe this is because the game treats the maple log not as a real log, but as a random block. Due to this, leaves can't sustain on it. I was wondering how to make it so that leaves can sustain on my custom log.
2. I wanted to make a block that already exists in the vanilla Minecraft open a custom GUI when it is right clicked, but I'm not sure how. I designed the GUI I want, but I just need to know how to make the vanilla block open it.
That's all!
I can only answer the second question you have sorry :(.
Replace the stone with the block of your choice. :)
you need create a "tag", tag namespace "minecraft", named "logs" and tag type "block"