I'm curious if there is a way to have a transitional animated texture when a block state changes.
Basically an animated texture that plays when a block state is updated from one value to a different one.
Has anyone done this, or is it even possible?
It isn't possible. The only condition that starts an animated texture is loading the world. Random variants not withstanding, if you have multiple of the same block all next to each other their animations will always be in sync even if some blocks are placed later than the others. Minecraft just has the one trigger, so there's no way to stagger animations.
How about having an animation that starts when the block state changes, then with an infinite frame length at the end as an alternate method?
The key problem with that is "start when the block state changes". The only way to start an animation is when the world loads. So unless the blockstate only changes when the world loads (not sure how that would work exactly) then there's no way to key the start of the animation to a block state change. That was what I was trying to convey with my previous post.
I'm curious if there is a way to have a transitional animated texture when a block state changes.
Basically an animated texture that plays when a block state is updated from one value to a different one.
Has anyone done this, or is it even possible?
It isn't possible. The only condition that starts an animated texture is loading the world. Random variants not withstanding, if you have multiple of the same block all next to each other their animations will always be in sync even if some blocks are placed later than the others. Minecraft just has the one trigger, so there's no way to stagger animations.
Sorry to be the bearer of bad news.
Thanks for the info.
How about having an animation that starts when the block state changes, then with an infinite frame length at the end as an alternate method?
The key problem with that is "start when the block state changes". The only way to start an animation is when the world loads. So unless the blockstate only changes when the world loads (not sure how that would work exactly) then there's no way to key the start of the animation to a block state change. That was what I was trying to convey with my previous post.
I hope that clarifies matters.
Thanks for the reply