#(colossal) I can't force villagers to breed with each other

20 messages · Page 1 of 1 (latest)

velvet pagoda
#

when trying to make villagers breed by adjusting breed it returns an error. While the documentation says only animals can do it, villagers can as well but have different requirements.

  1. Each villager needs a full inventory of food

  2. There needs to be 3 beds (2 for the adults and one for the newly spawned baby villager)

  3. These beds must not be obstructed

Here is the script I used to test it: https://paste.denizenscript.com/View/112879

blazing berryBOT
#

(colossal) I can't force villagers to breed with each other

blazing berryBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

velvet pagoda
#

oopsie, it returns that it isn't a valid entity

#

which i assume it's because the tag doesn't really include it

#

though villagers can bred

#

breed

charred helmBOT
# pine briar !debug
Info: debug

If you need help with a script issue, one of the most powerful tools Denizen has to offer is full debug output. This is displaying in your console whenever scripts are running until you turn debug off. To share a debug log quickly and easily with helpers, simply run the command /denizen debug -r in-game to begin recording, then run through the part of the script you need help with, then run the command /denizen submit. This will give you a link to a paste of the debug log, which you can then copy/paste back to us!

velvet pagoda
#

ok i guess it was actually an exception

wispy jacinth
#

That mechanism is just missing a proper Denizen error so you get a Java error - but it's for animals, villagers have different mechanics

#

I believe you just give them enough food and they'll breed?

subtle urchinBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@velvet pagoda