Started by
IanDoesHacks
on
Topic category: User side tutorials
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?
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
Ill try that thanks!
In case you see this again what exactly is the block for checking if an entity is nearby?
any idea why this doesnt work?
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 :)
could you give an example? if possible I would really appreciate it.
Seriously thank you for all the help so far!
okay, would you be fine if I gave you the screenshots on Sunday?
yeah, that would be great I'm in no rush, thanks lots!
wait a second what mob trigger is it set too?
dont worry about it I figured it out
cool, really sorry I have been busy playing Rlcraft modpack
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.
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