Breeding without player interaction

Started by IanDoesHacks on

Topic category: User side tutorials

Active 2 years ago
Joined Jun 2020
Points:
744

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 27
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?

Active 4 years ago
Joined Feb 2021
Points:
662

User statistics:

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

Active 2 years ago
Joined Jun 2020
Points:
744

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 27
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?

Active 2 years ago
Joined Jun 2020
Points:
744

User statistics:

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

Active 2 years ago
Joined Jun 2020
Points:
744

User statistics:

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

any idea why this doesnt work?

Active 4 years ago
Joined Feb 2021
Points:
662

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 135
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 :)

Active 2 years ago
Joined Jun 2020
Points:
744

User statistics:

  • Modifications: 0
  • Forum topics: 22
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 27
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!

Active 4 years ago
Joined Feb 2021
Points:
662

User statistics:

  • Modifications: 0
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 135
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?

Active 2 years ago
Joined Jun 2020
Points:
744

User statistics:

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

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

Active 4 years ago
Joined Feb 2021
Points:
662

User statistics:

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

wait a second what mob trigger is it set too?

Active 2 years ago
Joined Jun 2020
Points:
744

User statistics:

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

dont worry about it I figured it out

Active 4 years ago
Joined Feb 2021
Points:
662

User statistics:

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

cool, really sorry I have been busy playing Rlcraft modpack

Active 1 month ago
Joined Mar 2021
Points:
631

User statistics:

  • Modifications: 0
  • Forum topics: 10
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 20
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.

Active 1 year ago
Joined Aug 2021
Points:
651

User statistics:

  • Modifications: 0
  • Forum topics: 21
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 35
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