Hello,
While looking at the Forge docs for 1.15 I saw the tutorial for animation with asm and armatures. However, this is slightly outdated and I cannot seem to find a good example to learn from in 1.15. By looking at this tutorial with example I have made it far enough to have an asm file and armature file complete as far as I know, but I can not figure out what methods are for sure needed in my block and tile entity classes, as well as how to bind the TileEntityRenderer to my tile entity and even if I need to create my own TileEntityRenderer class to use an asm. I have the files I currently have below if anyone would like to give me feedback, but I am mainly looking for a concrete example of how to do this. Thanks!
Currently The only way I know how to bind a TileEntityRenderer is to create your own class and extend TileEntityRenderer and then use the code:
However, I dont know if this works with asm files.
Block:AnimatedShaftBlock.java
Tile Entity:AnimatedShaftTileEntity.java
asm: animated_shaft.json
armature: animated_shaft.json
Model:animated_shaft.json
BlockState: