Open EliSussman opened 11 years ago
Does anybody know how to make connected textures without optifine or mcpatcher?
@sciguy1121 @smigolpol Anyone?
Maybe we should use getUnlocalizedName() instead of having getTextureName in every single class related to a block or item.
@LegioXV Thats an idea. If you think so than fix it and make a pull request. :)
No. The only reason that we're using getTextureName is because getUnlocalizedName won't work because it doesn't return the unlocalized name itself, it always adds "item_" in front of it
Anybody know anything about connected textures?
Anyone?
@KingCreeperEli I don't think it's possible.
How does xycraft do it? @LegioXV
@KingCreeperEli xycraft has connected textures?
The glass... @LegioXV
@smigolpol this.getUnlocalizedName().substring(5) doesnt add the item_ prefix.
@LegioXV I just checks and the glass in xycraft is definitely a connected texture
I dont know what xycraft glass is.
in the mod xycraft, they have glass that has connected textures @LegioXV
@KingCreeperEli what's the glass called.
glass viewers
All i managed to see using jd-gui was that xycraft has a custom block rederer for connected textures.
@smigolpol @sciguy1121 Do you know anything about connected textures or how xycraft uses them?
I have tried to look at the code but there is no way for me to read it...
Anybody have an idea how to make connected textures because I want to use some in the mod and as the lead texture developer I really wish I knew how :/
@smigolpol @sciguy1121 @LegioXV ?????
@KingCreeperEli I have no idea, sorry. Perhaps you could do a check for surrounding blocks, and then change the texture based on that?
I have no idea and xycrafts code is unreadable sooo... I guess my titanium glass connected texture is useless... :(
@smigolpol any idea...im still not giving up...I think it needs a custom texture renderer but thats all I can figure out...
I don't think you need custom block renderer for that. I think you just need to check for touching blocks and set the right textures on right sides. I think Xycraft uses the block renderer for something else like the glowing effect or something, but I don't know...
@smigolpol Well, then do you know or could you experiment with the kind of code to do that? In your free time of course Im not forcing or rushing you, just want to eventually know how to do this :)
This is an issue to address any issues people encounter when texturing or problems with textures :)