Open BaudMarch opened 4 months ago
I actually gave it a CustomTile of "air" and that makes it work (in conjunction with the chest_minecart.json). Also works with a CustomTile of "tnt" so I'd bet it works as long as there is a CustomTile set.
Upgraded my whole data-resource pack to 1.21, now the animation works, however it works no matter if the chest_minecart is riding an entity or not. Though again this time it seems to work as intented when a CustomDisplayTile is set that is not a chest variant. it appears as though the .visible parameter is always interpreted as false by default when mentioned in an animation. An example might be useful :
Hence why I think that the bug is that as long as .visible is used in animations, the specified bone will just be invisible by default in its default state, even if it's not what is specified in said animation. (Also tried with is_on_ground condition, seems to yield the same results unfortunately)
However, as previously, it works as intended for the normal minecart.
Description When using "is_riding" in Blockbench animations, a minecart reacts accordingly, but a chest minecart doesn't.
Example : the following line should make it so a minecart riding another entity has its front bone made invisible: "front.visible": "if(is_riding,false,true)" it does work on minecarts, but not on chest minecarts (I tried making both models (minecart.json and chest_minecart.json). I tried with other attributes than visibility, such as scale, no luck. Chest minecarts still take other modifications, such as additional blocks. I didn't try other arguments or other special minecarts.
Version informations: