Started by
JustaHuman
on
Topic category: Help with Minecraft modding (Java Edition)
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!
Topic category: Help with Minecraft modding (Java Edition)
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!
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?…
In the third step, I meant "left side" and not "right side", sorry
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 ;)
This will be much easier in 2002.5 with new food result input
Omg! Where can I find information about what's to come in 2020.5?
SQUEEELS!!!! YAY Thank You Klemen!!
U just the trigger when food eaten
add 1 bucket to Event/target inventory
https://mcreator.net/changelog
thanks
Thank you so much!<3
you're welcome! E>