ColdFox Posted March 19, 2014 Posted March 19, 2014 I've several custom blocks that use the textures from the game. So if you load a resource pack, they also use those textures. The problem that I'm facing now is when they try to use a animated texture. The renderer resizes the texture and applies it to the block, like so: Quote
sequituri Posted March 20, 2014 Posted March 20, 2014 I've several custom blocks that use the textures from the game. So if you load a resource pack, they also use those textures. The problem that I'm facing now is when they try to use a animated texture. The renderer resizes the texture and applies it to the block, like so: Animated textures load as an animation time strip. If you want to keep the animation, the use the size of just the frame and allow it to tick. Either way, use the single frame size, not the strip size. Quote -S- (if I helped, please click Thank and applaud) http://6upnqa.dm2301.livefilestore.com/y2mtf-vG7Tqq1TiiVpIm53KWj7294NDPoHfSHHb4PzZiMAUfRCfK0UY0MwOu7Q3zTBNVTKqWjr2-xgBfFRpQT5p-QivtvknPpoABMNUw9br9WuZcBFkjePhnAbW500gVm-P/sequiturian.png[/img]
Glenn Posted March 20, 2014 Posted March 20, 2014 Make sure the texture in your resource pack is also accompanied with an .mcmeta file which adds the animation. It seems that adding animation to the original resource doesn't guarantee that it will also happen to overriding textures. Quote http://i.imgur.com/YOLa0KX.png[/img]
ColdFox Posted March 20, 2014 Author Posted March 20, 2014 I've several custom blocks that use the textures from the game. So if you load a resource pack, they also use those textures. The problem that I'm facing now is when they try to use a animated texture. The renderer resizes the texture and applies it to the block, like so: Animated textures load as an animation time strip. If you want to keep the animation, the use the size of just the frame and allow it to tick. Either way, use the single frame size, not the strip size. I managed to force the size to 14x14 but the thing is that I only want that when the texture is animated. Is there any way to get the resource pack path? Quote
Recommended Posts
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.