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

Started by davidS on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Mar 2016
Points:
879

User statistics:

  • Modifications: 1
  • Forum topics: 29
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 40
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

Active 40 minutes ago
Joined Feb 2018
Points:
1986

User statistics:

  • Modifications: 1
  • Forum topics: 163
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 785
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.

Active 40 minutes ago
Joined Feb 2018
Points:
1986

User statistics:

  • Modifications: 1
  • Forum topics: 163
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 785
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!