"Turn into a Cup"

Started by RedstoneGuy_ on

Topic category: Help with MCreator software

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Turn into a Cup"

 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.

Joined Feb 2018
Points:

User statistics:

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

Joined Feb 2015
Points:

User statistics:

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

Joined Oct 2018
Points:

User statistics:

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

Joined Jan 2017
Points:

User statistics:

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

Joined Nov 2018
Points:

User statistics:

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

Joined Oct 2018
Points:

User statistics:

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

Joined Apr 2014
Points:

User statistics:

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

Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This Will Help: 1. Make a…
Mon, 12/21/2020 - 14:06

This Will Help:

1. Make a cup item

2. Make the hot chocolate a "Food"

3. Make the eating item result the cup

Its that simple! Just do that!