How i can do my drink right?(glass or bucket stay in inventory?)

Started by JustaHuman on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How i can do my drink right?(glass or bucket stay in inventory?)

I want to make chocolate milk,but when i was tested my drink,the bucket is just disappeared.How i can make it stay in inventory?Please,help me!

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Understand that your item…
Sat, 10/24/2020 - 15:52

Understand that your item must be "food" in the elements of MCreator and select as something drinkable, as shown in the image:

https://drive.google.com/file/d/16e9oEQ1OJUryeI-pbhJFDxNepvAgRTgs/view?…

 

Then, in the Triggers Tab, add a procedure for when the player drinks Chocolate Milk, just click on the "+" sign as shown in the image:

https://drive.google.com/file/d/1-E6pwToMP0V75yDyfeR59Dfw2h4TxzRN/view?…

 

When you open the procedure editing page, several buttons will appear on the right side, click on the so-called "player procedures" and when the various procedures on that tab appear, select the one that adds an item to the player's inventory, as shown in the image:

https://drive.google.com/file/d/1DMtFqlEUdBv6yTXPwqdC4EGaxY8sJwy2/view?…

 

Right after, drag and connect this below the global trigger, and by clicking on the red colored block, you can select the item you want to appear in the player's inventory when he drinks the Chocolate Milk, also shown in the image example:

https://drive.google.com/file/d/153E9a3LGEK1xp-0KX6gyojgmWc1S7PJA/view?…

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the third step, I meant …
Sat, 10/24/2020 - 15:56

In the third step, I meant "left side" and not "right side", sorry

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make sure you have saved the…
Sat, 10/24/2020 - 16:00

Make sure you have saved the procedure by the green button on the upper right side of the screen that says "save mod element" so that everything works correctly  ;)

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Omg! Where can I find…
Sat, 10/24/2020 - 19:11

Omg! Where can I find information about what's to come in 2020.5?

 

Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
SQUEEELS!!!! YAY Thank You…
Sun, 10/25/2020 - 05:51

SQUEEELS!!!! YAY Thank You Klemen!!

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
U just the trigger when food…
Sun, 10/25/2020 - 14:07

U just the trigger when food eaten 

add 1 bucket to Event/target inventory 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you so much!<3
Mon, 10/26/2020 - 11:21

Thank you so much!<3

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you're welcome! E>
Mon, 10/26/2020 - 12:13

you're welcome! E>