How do I get my mob to drop eggs from time to time?

Started by davidS on

Topic category: Help with modding (Java Edition)

Last seen on 19:39, 19. Nov 2022
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I get my mob to drop eggs from time to time?

hi how can i make my guinea fowl drop an egg every now and then?

I clarify that I am new in this of the procedures

If you could offer me a visual example or a detailed description, I would appreciate it.

Google translator

Last seen on 14:47, 18. Apr 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can help you, I reply to…
Fri, 01/29/2021 - 15:12

I can help you, I reply to you, if I found a possible way to do this.

Last seen on 14:47, 18. Apr 2024
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
First go to your Entity Mod…
Fri, 01/29/2021 - 16:23

First go to your Entity Mod Element and go to the Tab Triggers like in the screenshot.

Living Entity Triggers

After that find the Trigger "on Entity Tick Update" and click the plus icon to create Procedure.

Then now you are in the Procedure and here is a screenshot for the Procedure Template. Create two Local Triggers one Logic and one Number Variable.

Egg Tick System Procedure Example

After you done it click the Save Mod Element, now it should in the Triggers Tab looks like this.

Living Entity On Entity Tick Update Trigger added

If you want to import the Procedure with the Comments, you can download it here.

I didn't Test it!