Posted January 24, 201510 yr Second n00b post for me. Here's my question: how to add a 'drinking' effect? I mean, when you right click with a drinkable item (i.e. milk bucket) in hand, minecraft reproduces a drinking sound and visual effect. Should i work on the onItemRightClick method, and if so, what to do? Thanks a lot.
January 24, 201510 yr Hi This project has an example of drinking https://github.com/TheGreyGhost/MinecraftByExample (see example 11) Item.getItemUseAction() is what you're looking for. -TGG
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.