Jump to content

kaiser_

Members
  • Posts

    27
  • Joined

  • Last visited

Everything posted by kaiser_

  1. Thanks man, I'm really happy about your answer
  2. I'am trying to override the getUseAction method in the Item class, but it doesn't work somehow. I tried to get my item to use the Drink animation when used. Can someone point the issue out for me, or provide me some info on how to do this in the right way? I would be really happy. I also have the item registered as well and it's perfectly visible in the game, however I didn't bother using a texture for it yet, is it an issue in any way? Here is the class: public class ItemDrink extends Item { public ItemDrink(Properties properties) { super(properties); } @Override public UseAction getUseAction(ItemStack stack) { return UseAction.DRINK; } } Also, can anyone provide me with a useful guide on how to properly work with this stuff?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.