"Turn into a Cup"

Started by RedstoneGuy_ on Sun, 11/25/2018 - 11:41

Topic category: Help with MCreator software

Last seen on 16:07, 28. Sep 2019
Joined Oct 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
"Turn into a Cup"
Sun, 11/25/2018 - 11:41

 Hi! I would like to know how can I "drink from a cup". Let me explain: I want to drink the hot chocolate, and when I drink it, it turns into a simple cup.

 For example, I have a milk bucket. When I drink it, it turns into a simple bucket.

 Example number two: I have a water bottle. When I drink it, it turns into a simple bottle.

 So, I want to drink a hot chocolate cup and want it to turn in a CUP when drunk. Can I do the same with my item? Please explain to me how can I do it, I will be very thankful. Thank you for your patience (and sorry for my English, I hope it's understandable),

 

Red.

Last seen on 22:39, 24. May 2020
Joined Feb 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok, so to do it make a…
Sun, 11/25/2018 - 19:28

Ok, so to do it make a procedure that turns the hot chocolate cup into a cup and also replenish your hunger

Last seen on 11:40, 22. Oct 2020
Joined Feb 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
For this: You need to make a…
Mon, 11/26/2018 - 06:14

For this:

You need to make a procedure specific to the event of the food/drink being used. 

Make it so that when the Hot Chocolate Cup has been drank, a cup will spawn in your inventory.

(I am assuming that the cup is replenishable via crafting recipe, basically to craft the HCC you would need to craft it instead of right-clicking say a Hot Chocolate fluid to get it.)

 

Anyways, hope that helped (If not, the comment above mine should also work) :D :) C:

Last seen on 16:07, 28. Sep 2019
Joined Oct 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yeah, I do not understand…
Sat, 12/01/2018 - 12:36

Yeah, I do not understand much of procedures. What I need to know is if I can replace the cup in the same slot as the hot chocolate cup is.

Last seen on 20:45, 22. Jul 2019
Joined Jan 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
To do that you literally go…
Sat, 12/01/2018 - 20:14

To do that you literally go to the item, look into the "when ate" and make a statement where the hot chocolate is removed from the invintory, then it adds a cup to the invintory... That should help..

 

P.S. i have not seen a mod yet where when you drink something the empty item is placed in the same slot as the old one

Last seen on 13:49, 25. Oct 2020
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just set them cup itemstack…
Sat, 12/01/2018 - 21:24

Just set them cup itemstack to 1 and make the  procedure then there will be no worries of more cups dissapearing

Last seen on 16:07, 28. Sep 2019
Joined Oct 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
But I can't check in what…
Sun, 12/02/2018 - 13:41

But I can't check in what slot of the hotbar the hot chocolate is, so I can't replace. 0, 1, 2, 3... I don't know

Last seen on 22:00, 27. Sep 2020
Joined Apr 2014
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok so your procedure should…
Sun, 12/02/2018 - 15:49

Ok so your procedure should look like this
Assign it to On Food Eaten Condition
also replace that bucket with your empty cup

Useless