Posted December 23, 20177 yr I want some of my items to have a blocking animation (like the one before 1.9) on right click. I've already implemented getItemUseAction and so on, but the animation seems to play only in third person view. The only example I've found in vanilla is the shield. It looks like I need an extra model for the blocking state. Can anyone explain the whole procedure to me? Do I have to register the blocking models too? Do I need to create a separate blocking model for every item? Can someone help me with the rotations of the model? Edited December 23, 20177 yr by Melonslise
December 23, 20177 yr Author Ok it wasn't as simple as I thought. I had to add a custom property to my item. After that I needed to create a new model and specify it in the base model as a predicate or whatever. It works now. Not sure if still I need to register the model, though.
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.