Posted February 13, 20169 yr Hey there, I recently started modding minecraft. I know the basics already but i want to go more in depth with modding. So i was wondering how to make connected textures in a mod without an additional texture pack. Can someone tell me how to do that?
February 13, 20169 yr Basically you should define a block state variant for each possibile combination of connected sides (and there are a lot of possible combinations) Than, in your block getActualState, you check which sides of the block is connected to other blocks of the same type and return the correct variant
February 15, 20169 yr This is a test block of my test mod that do just that: https://github.com/ZeroNoRyouki/TestMod18/blob/master/src/main/java/zero/mods/testmod18/common/blocks/OrnatedEmeraldBlock.java The code is not production grade but for a test it work fine
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.