Breeding without player interaction

Started by IanDoesHacks on

Topic category: User side tutorials

Last seen on 22:41, 29. Jan 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Breeding without player interaction

Hey, so I wanted to make a *realistic* way of my animal's breeding, by that I mean them doing it on their own.
I set a part of their Ai just to go breed but they don't do it?
Any way to just let them breed without me feeding them or anything?

Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What I would do is make a…
Thu, 02/25/2021 - 04:38

What I would do is make a varible "breed time" then make it increase by one every entiy tick. if breed time is bigger than 1500 (that would be 5 min) checks if same entity is withinn 2 blocks, if it is set breed time to 0 and spawn entity

Last seen on 22:41, 29. Jan 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ill try that thanks! In case…
Thu, 02/25/2021 - 06:02

Ill try that thanks!
In case you see this again what exactly is the block for checking if an entity is nearby?

Last seen on 22:41, 29. Jan 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(No subject)
Thu, 02/25/2021 - 06:25

Last seen on 22:41, 29. Jan 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
any idea why this doesnt…
Thu, 02/25/2021 - 06:25

any idea why this doesnt work?

Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
it looks like the counter…
Thu, 02/25/2021 - 15:13

it looks like the counter does not increase, for that you need a new varible under on mob tick, that just increase it by 1 :)

Last seen on 22:41, 29. Jan 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
could you give an example?…
Fri, 02/26/2021 - 02:06

could you give an example? if possible I would really appreciate it.
Seriously thank you for all the help so far!

Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
okay, would you be fine if I…
Sat, 02/27/2021 - 02:28

okay, would you be fine if I gave you the screenshots on Sunday?

Last seen on 22:41, 29. Jan 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah, that would be great I…
Sat, 02/27/2021 - 04:27

yeah, that would be great I'm in no rush, thanks lots!

Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
wait a second what mob…
Wed, 03/03/2021 - 02:34

wait a second what mob trigger is it set too?

Last seen on 22:41, 29. Jan 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
dont worry about it I…
Tue, 03/16/2021 - 22:01

dont worry about it I figured it out

Last seen on 19:15, 17. Mar 2021
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
cool, really sorry I have…
Wed, 03/17/2021 - 19:16

cool, really sorry I have been busy playing Rlcraft modpack

Last seen on 01:07, 21. Nov 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Wait no please--post that…
Mon, 12/06/2021 - 07:31

Wait no please--post that screenshot I beg of you xD
I'm also struggling with about the same issue and I'm new to using procedures. A screenshot would be wonderful--then myself and others with the same problem can see how you resolved it.

Last seen on 19:15, 25. Apr 2023
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if anybody wants to know you…
Tue, 12/28/2021 - 17:43

if anybody wants to know you need this plugin: https://mcreator.net/plugin/72173/uuid-procedures

after you download it you can download the procedure i have to breed mobs ( https://www.mediafire.com/file/xnnd7u8q2yn6hm8/breed.ptpl/file ) also make a string variable you can use to get the uuid of the mob that will breed with the entity, and also you can replace the cow with the mob you want to breed (and you can remove the thing to check if a player is nearby but i put that in to get rid of some lag, it might crash if you remove it)

and if you want to use it for vanilla mobs make the global trigger on loaded entity tick update