[MC-10355] Animations for items and blocks do not work properly Created: 26/Feb/13 Updated: 04/May/17 Resolved: 28/Feb/13 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Snapshot 13w09a, Snapshot 13w09b |
| Fix Version/s: | Snapshot 13w09c |
| Type: | Bug | ||
| Reporter: | _zombiehunter | Assignee: | [Mojang] Grum (Erik Broes) |
| Resolution: | Fixed | Votes: | 19 |
| Labels: | animation, block, item, rendering, resource-pack, texture | ||
| Attachments: |
|
||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||
| Confirmation Status: | Community Consensus | ||||||||||||||||||||||||
| Description |
|
All animated items and blocks (except for water, lava, fire, portal, clock and compass) are rendered white with the text "missing texture" on them instead loading the respective animation texture. I made sure all animations have their own txt-file (as required in Snapshot 13w09a). Screenshots and test files attached below ... How to use the test files (showing an animated Monster Spawner): EDIT: ------------------------------ |
| Comments |
| Comment by Novantis [ 09/Mar/13 ] |
|
Argh! Still broken for 1.5 pre-release. EDIT: It seems that the format for the animations changed, so I guess this really isn't a bug in my case. Not sure for everyone else though :\ |
| Comment by Norbert ofcNOT [ 03/Mar/13 ] |
|
thx for pointing me at it. |
| Comment by Tails [ 03/Mar/13 ] |
|
See |
| Comment by Norbert ofcNOT [ 03/Mar/13 ] |
|
I have still the issue with clock... flowing lava and water have worked weird/broken/incorrect when I had their txt files filled with numbers when I deleted the whole "text" - numbers within the txt the animations started to work properly and all 128, resp. 256 frames got animated. I can provide the txt and clock png if needed. |
| Comment by Lane Johnson [ 01/Mar/13 ] |
|
Checked, new txt. files! thanks. |
| Comment by _zombiehunter [ 01/Mar/13 ] |
|
@Lane Johnson: |
| Comment by Lane Johnson [ 01/Mar/13 ] |
|
still not fixed in 13w09c |
| Comment by _zombiehunter [ 01/Mar/13 ] |
|
@Hkliese: |
| Comment by PlasmaPod [ 01/Mar/13 ] |
|
look on minecraft wiki under texture packs (FROM SOURCE) Texture Animations in Minecraft 1.5 Snapshot 13w09a note: Starting from this snapshot, in order to have an animated texture, this animation definition text file is mandatory. Any sheet image can be animated by placing additional frames of animation in the same image in y-axis slots. The default behavior will be that, at 10 updates per second (100 ms per frame), the game will copy the next slot into the active texture. Once the bottom of the sheet image is reached, the game will start over from the topmost slot again. For example, to create a block texture that quickly flips between two 16x16 images, place them above each other in a 16x32 sheet image. It will be possible to customize the duration and selection of which frames to use. For example you may want to "ping-pong" the animation (using frames 1-2-3-2-1) instead of looping it (1-2-3-1-2-3). This will be done by creating a text file with the same name as the sheet image (such as "dirt.txt" for "dirt.png") and specifying which frame indices the game should pick when it's ticked. The format of the animation file is simply numbers specifying which frames to pick (indices start from 0), separated by either commas or new lines. For example, if you would want to ping-pong an animation that has 4 frames, the contents of text file would look like this: ... or like this: To make the animation slower than 10 updates per second, the animation file can be specified to keep the frame for any number of ticks using an asterisk and the number of ticks to keep it. For example, to make the animation above four times slower, the file would look like this: The water, lava, and lava_flow textures all have default text files which must be overwritten if you have an animation that varies from the default length of 32 frames for water and 16 frames for lava. |
| Comment by [Mojang] Grum (Erik Broes) [ 28/Feb/13 ] |
|
Thanks for reporting; stupid stuff slipping through cracks of manual testing >.> |
| Comment by _zombiehunter [ 28/Feb/13 ] |
|
Thanks a lot for fixing that, Grum |
| Comment by [Mojang] Grum (Erik Broes) [ 28/Feb/13 ] |
|
Fixed for 1.5! |
| Comment by _zombiehunter [ 28/Feb/13 ] |
|
Master Kahr has spoken. Thx. I'll add your comment to the main post. Let's hope they fix it before they pre-release Minecraft 1.5. |
| Comment by Kahr [ 28/Feb/13 ] |
|
I suspect the problem lies in bji.class. The method "public boolean c(String)" which checks if the texture pack contains a given file does not strip off the leading slash from the path. Adding a .substring(1) before calling ZipFile.getEntry should fix it. |
| Comment by _zombiehunter [ 28/Feb/13 ] |
|
@Lane Johnson: |
| Comment by Lane Johnson [ 28/Feb/13 ] |
|
tried the folder type for my texture pack and my textures work, but now water flow, lava flow, compass and clock are broken. |
| Comment by _zombiehunter [ 28/Feb/13 ] |
|
Come on, Mojang. You can't do a pre-release without this bug fixed. You messed up the whole texture animation system! Everyone else: Please upvote this! Animated blocks/items are one of the main features of the new texturepack format, this has to be fixed BEFORE the 1.5 pre-release! |
| Comment by Jayvee D. Enaguas [ 28/Feb/13 ] |
|
@Mark Cashion That is impossible to 1.5 pre-release yet. |
| Comment by Mark Cashion [ 27/Feb/13 ] |
|
Ok, I just tried the .zip version of my 32x texture pack & the animations don't work. The only ones that work are the portal, fire, water, & lava animations. None of the other ones work. I have all the .txt definitions for my animations too, so I didn't mess up. This is a bug that I'm experiencing too. |
| Comment by Mark Cashion [ 27/Feb/13 ] |
|
Ok, I tried the folder version of my 32x texture pack & the animations work fine. I'm about to try it with the .zip version of my 32x texture pack, & see what happens. |
| Comment by Mark Cashion [ 27/Feb/13 ] |
|
@Jayvee D. Enaguas |
| Comment by Tom Thorogood [ 27/Feb/13 ] |
|
I have the same problem. |
| Comment by Lane Johnson [ 27/Feb/13 ] |
|
have the same problem with my 32x32 pack. animation descriptions are there and the log says that there is a broken aspect ratio. All normal textures are good it only effects the animated ones. |
| Comment by Jayvee D. Enaguas [ 27/Feb/13 ] |
|
What about 13w09c about animation blocks has been fixed? |
| Comment by _zombiehunter [ 27/Feb/13 ] |
|
Still not fixed in 13w09b, please upvote this. Besides, would any mod please officially confirm this and change the confirmation status? |
| Comment by _zombiehunter [ 27/Feb/13 ] |
|
thx @Jnrm3, can confirm this. Animations work with folder based texturepacks (but ONLY with folder based packs!). Texturepacks are commonly used as zip-folders, so this bug still affects the majority of all texturepack users. |
| Comment by Jnrm3 [ 27/Feb/13 ] |
|
Ok, now it does the same thing. It appears that animations in zip files do not work, but they work fine when in folders. Tested with several packs in both folder and zip form. |
| Comment by _zombiehunter [ 27/Feb/13 ] |
|
Come on ... this bug is at least as important as |
| Comment by _zombiehunter [ 27/Feb/13 ] |
|
@xland44, I quote myself: If you take a look at the attached test pack, there IS a proper txt-file in it, but the in-game result is still white with that silly "missing texture" message. |
| Comment by xland44 [ 27/Feb/13 ] |
|
Um, animated blocks and items in texture packs now requires the animation definition in snapshot 13w09a (previously it was optional) |
| Comment by odisos [ 27/Feb/13 ] |
|
I also have this problem |
| Comment by _zombiehunter [ 27/Feb/13 ] |
|
C'mon everyone, can anyone cofirm this? Added a small test-texturepack to the attachments containing the shown files ... |
| Comment by _zombiehunter [ 26/Feb/13 ] |
|
You mean an empty mobSpawner.txt-file ? |
| Comment by Ben Trigg [ 26/Feb/13 ] |
|
Please add an empty txt file with the animated *.png names and test again? |
| Comment by _zombiehunter [ 26/Feb/13 ] |
|
OK, that's strange, it seems to work for some people. I just added the test files to another texturepack to make sure, but the animation does not load. Everything white. My Minecraft is not modded, I tested it with a clean minecraft.jar (Snapshot 13w09a) ! |
| Comment by Ben Trigg [ 26/Feb/13 ] |
|
Same here, No "missing texture" for me. |
| Comment by Jnrm3 [ 26/Feb/13 ] |
|
Tried this and it works as expected, no "missing texture" thing happens when I tested it. |