Posted August 5, 20205 yr Hey! I'm new to modding with Forge. I'm trying to animate a block and I'm following the documentation but I can't seem to find the class AnimationTESR. I assume this is because it has been removed in 1.16 and replaced with something else. Can anyone point me toward it or some update notes?
August 5, 20205 yr Author Using a normal TER is a bit clumsy for my purposes. I've found TileEntityRendererAnimation that is supposed to work with the Forge model system and animations. It seems to depend on the block's IModelData having the Properties.AnimationProperty IBakedModel model = blockRenderer.getBlockModelShapes().getModel(state); IModelData data = model.getModelData(world, pos, state, ModelDataManager.getModelData(te.getWorld(), pos)); if (data.hasProperty(Properties.AnimationProperty)) //do animations but I haven't been able to find a way to add the AnimationProperty. I found an old post describing how to do it a few updates back, but some of the method it depends on no longer exist.
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.