Posted May 16, 20205 yr 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: Spoiler However, I dont know if this works with asm files. Block:AnimatedShaftBlock.java Spoiler Tile Entity:AnimatedShaftTileEntity.java Spoiler asm: animated_shaft.json Spoiler armature: animated_shaft.json Spoiler Model:animated_shaft.json Spoiler BlockState: Spoiler Edited May 16, 20205 yr by FyreDay added pictures in spoilers
June 12, 20205 yr Hi, i am also trying to figure out the Animation API(with little success). I have noticed that the ImersiveEngineering mod has some ASM files, so maybe they figured it out. If you figure it out please do let me know. Link to ASM files: https://github.com/BluSunrize/ImmersiveEngineering/tree/1.15/src/main/resources/asm
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.