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

Started by JustaHuman on Sat, 10/24/2020 - 14:49

Topic category: Help with modding (Java Edition)

Last seen on 17:04, 29. Oct 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How i can do my drink right?(glass or bucket stay in inventory?)
Sat, 10/24/2020 - 14:49

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!

Last seen on 23:33, 14. Nov 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?…

Last seen on 23:33, 14. Nov 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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

Last seen on 23:33, 14. Nov 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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  ;)

Last seen on 19:31, 25. Nov 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This will be much easier in…
Sat, 10/24/2020 - 19:04

This will be much easier in 2002.5 with new food result input

Last seen on 23:33, 14. Nov 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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?

 

Last seen on 05:58, 26. Nov 2020
Joined Dec 2017
User points:

User statistics:

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

SQUEEELS!!!! YAY Thank You Klemen!!

Last seen on 15:21, 17. Nov 2020
Joined Apr 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 

Last seen on 23:33, 14. Nov 2020
Joined Sep 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thanks
Mon, 10/26/2020 - 00:04

thanks

Last seen on 17:04, 29. Oct 2020
Joined Oct 2020
User points:

User statistics:

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

Thank you so much!<3

Last seen on 23:33, 14. Nov 2020
Joined Sep 2020
User points:

User statistics:

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

you're welcome! E>