Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Drinking
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
mftg

Drinking

By mftg, November 24, 2020 in Modder Support

  • Reply to this topic
  • Start new topic

Recommended Posts

mftg    0

mftg

mftg    0

  • Tree Puncher
  • mftg
  • Members
  • 0
  • 4 posts
Posted November 24, 2020 (edited)

How do I set a food as drinkable?(I work on 1.15.2) worng category soryy

 

 

Edited November 24, 2020 by mftg
  • Quote

Share this post


Link to post
Share on other sites

Luis_ST    0

Luis_ST

Luis_ST    0

  • Creeper Killer
  • Luis_ST
  • Members
  • 0
  • 149 posts
Posted November 24, 2020

I think you can use the method UseAction:

 

		@Override
		public UseAction getUseAction(ItemStack itemstack) {

			return UseAction.DRINK;

		}

 

  • Quote

Share this post


Link to post
Share on other sites

mftg    0

mftg

mftg    0

  • Tree Puncher
  • mftg
  • Members
  • 0
  • 4 posts
Posted November 24, 2020

Thanks!!!!!!!!!!!!!!!!!!!!!!!!!

 

  • Quote

Share this post


Link to post
Share on other sites

mftg    0

mftg

mftg    0

  • Tree Puncher
  • mftg
  • Members
  • 0
  • 4 posts
Posted November 24, 2020

I readed the shield problem but i am new to modding (and english)

  • Quote

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • Intijir
      Datapack error and safemode

      By Intijir · Posted 3 minutes ago

      Do you know of anyway to fix this problem on mac?
    • blubb
      My forge server wont make a mods folder

      By blubb · Posted 25 minutes ago

      no, wait it still says vanilla server for some reason. 
    • blubb
      My forge server wont make a mods folder

      By blubb · Posted 1 hour ago

      I got it working Im not sure why but if I had to guess its because I cleaned up my desktop into 2 neat folders and suddenly it works
    • blubb
      My forge server wont make a mods folder

      By blubb · Posted 2 hours ago

      No
    • DaemonUmbra
      My forge server wont make a mods folder

      By DaemonUmbra · Posted 2 hours ago

      Are you renaming any files after reinstalling?
  • Topics

    • Intijir
      19
      Datapack error and safemode

      By Intijir
      Started December 20, 2020

    • blubb
      37
      My forge server wont make a mods folder

      By blubb
      Started 6 hours ago

    • ZDOG22
      0
      [1.16.4] Remove Minecraft Pitch Limit

      By ZDOG22
      Started 4 hours ago

    • Eridani
      0
      Best way to create a new dye.

      By Eridani
      Started 4 hours ago

    • djsweely
      1
      SERVER CRASH

      By djsweely
      Started 5 hours ago

  • Who's Online (See full list)

    • Intijir
    • c_o_w
    • blubb
    • ozi
  • All Activity
  • Home
  • Mod Developer Central
  • Modder Support
  • Drinking
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community