Game is unable to display multiple animated variations on blocks
Partner Rank:
N/A
Verification Builds:
1.20.12
Regression Builds:
N/A
Summary:
I am trying to create a new set of animated textures for the lava_still block.
1. a general texture with a high "weight" to encompass the majority of a lava pool.
2. a bubbling lava texture to appear here and there on the surface of the lava pool
Although the "flipbook_textures.json" and "terrain_texture.json" appear to be correct, the effect cannot be achieved.
Affects currently Live Content:
No
Impact:
Minimal impact. At the moment we scrapped this idea and we're just going the simple route with just one texture.
Repro Steps:
- download and install the attached world
- play world and inspect the textures on the surface of the lava pool
Observed Results:
It seems that if multiple variations of the same texture are animated, the game only knows to animate the last variation.
Expected Results:
For every variation chosen on a block, we would expect it to read the animation properly from the "flipbook_textures.json". In this case I expect the entire lava pool to look as if it's slowly flowing, and here and there I expect to see a bubbling texture, but NOT synchronized bubbling, since I specifically made 3 bubbling variations to be desynchronized.
Screenshots/Videos attached:
No, just the .mcworld
Notes:
Theoretically, in order to achieve this we need to edit both "terrain_texture.json" and "flipbook_textures.json". In the first file we would define "still_lava" as an atlas_tile, and create the variations needed with the weights attributed.
In "flipbook_textures.json" we would tell the game to animate those specific textures.
"atlas_index": 0 => this tells the game that we want this animation for the first object/texture in the "still_lava" atlas_tile.
"atlas_tile_variant": 2 => this tells the game that we want this animation for the THIRD VARIANT inside the object specified through "atlas_index".