Breeding without player interaction

Started by IanDoesHacks on Thu, 02/25/2021 - 03:00

Topic category: User side tutorials

Last seen on 15:59, 7. Apr 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Breeding without player interaction
Thu, 02/25/2021 - 03:00

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:
  • Tracker tickets:
  • 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 15:59, 7. Apr 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 15:59, 7. Apr 2021
Joined Jun 2020
Points:

User statistics:

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

Last seen on 15:59, 7. Apr 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:
  • Tracker tickets:
  • 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 15:59, 7. Apr 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:
  • Tracker tickets:
  • 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 15:59, 7. Apr 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:
  • Tracker tickets:
  • 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 15:59, 7. Apr 2021
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
cool, really sorry I have…
Wed, 03/17/2021 - 19:16

cool, really sorry I have been busy playing Rlcraft modpack