Posted February 12, 20214 yr Is it possible to dynamically change only one side of the texture of a custom item (apply changes to only one block depending on the top, bottom, left and right blocks)? I think there is a class in vanilla that draws textures, but I couldn't find it when I searched for it.
February 12, 20214 yr Author Specifically, I would like to implement a half-timbered wall. For example, when these are arranged in a square with two in the x direction and two in the y direction, the texture of a large half-timber at an angle of 45 degrees on the 2x2 surface and a vertically long half-timber on the 2x1 surface. I want it to be displayed.
February 12, 20214 yr Author I understand there is a way to do that. However, for example, comparing the textures of the blocks when 2x2x1 and 2x2x2, the state of the bar with the x-plane of 45 degrees and the angle of the z-plane with a small angle is 45 for both the x-plane and the z-plane. I need to have both the state of the degree bar. I plan to do this in many combinations such as 2x1, 3x2 as well as 2x2 and 1x2, and the method of using block properties is not realistic. I need to replace the texture for each face.
February 13, 20214 yr Author I was not good at explaining. Although it is timbered, the actual block is the same cube as usual, as it is actually drawn on the texture of the wall and used as is. Edited February 13, 20214 yr by Zemelua
February 14, 20214 yr Author So does that mean that all combinations of models have to be defined to achieve my goal?
February 15, 20214 yr Author Well, does that mean you can combine textures with block properties like fence's multi-model? If so or not, can you tell me exactly how to do it?
February 16, 20214 yr Author I tried various things, but I couldn't understand it well, so I wanted to refer to the animation texture, but where is the class that deals with it?
February 16, 20214 yr Author I'm sorry. I'm still not sure, what is BakedQuad, what field the texture itself is in BakedQuad, is there a good tutorial or sample code?
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.