How to make mob that can be "milked"?

Started by b.ART.ek on

Topic category: Help with modding (Java Edition)

Last seen on 13:08, 28. Mar 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make mob that can be "milked"?

So I've been trying to make a mushroom mob that could be "milked" for mushroom stew, similar to mooshroom. However, no matter what I do, nothing happens when I'm right-clicking on the mob. I don't know what to do, could someone send me a screenshoot of how the procedure should be made?

Last seen on 22:29, 27. Mar 2024
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
https://imgur.com/a/KChDZzx…
Thu, 07/08/2021 - 22:54

https://imgur.com/a/KChDZzx

though this will work more like a glass bottle instead of a bucket, and works better for stacked fillable items, it still works just as well 

Last seen on 02:40, 4. Jan 2022
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
New Procedure   Global…
Fri, 07/09/2021 - 00:22

New Procedure

 

Global trigger - Entity on right click (or similar, i don't have MCreator up rn)

If target entity is your entity

  • If Source Entity provided item is empty bucket
  •  - Remove 1 Empty Bucket from inventory
  •  - Give 1 Mushroom Stew to Entity
Last seen on 02:40, 4. Jan 2022
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
My solution works in newer…
Fri, 07/09/2021 - 00:23

My solution works in newer versions of MCreator where they distinguish between target and source for entities when multiple entities are involved

Last seen on 13:08, 28. Mar 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks a lot to all of you!
Fri, 07/09/2021 - 10:20

Thanks a lot to all of you!

Last seen on 13:08, 28. Mar 2024
Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Another problem appeared…
Fri, 07/09/2021 - 20:33

Another problem appeared... When I click the mob while holding multiple bowls, two bowls get filled at the same time... weird.

Last seen on 02:40, 4. Jan 2022
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hmm might wanna add a Wait…
Fri, 07/09/2021 - 23:45

Hmm might wanna add a Wait 20 ticks block and fill it with do nothing code so it can't make that mistake when spammed

Last seen on 17:35, 27. Jun 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Would somebody please tell…
Sun, 05/15/2022 - 05:53

Would somebody please tell me how I can tell the program which mob i want to milk?

Last seen on 17:35, 27. Jun 2022
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Nvm I have found the type…
Sun, 05/15/2022 - 10:27

Nvm I have found the type bracket