Hey guys, i´ve been modding for a while but im kinda stuck on this, cant find much information about it on 1.12; i want to breed 2 different races mobs to get a % table like:
Mob 1 (Brown Monkey) X Mob 2 (Yellow Monkey)
25% - Brown Monkey
25%- Yellow Monkey
50% - Black Monkey; something like that, but i cant code it.. i got all the 3 mobs coded right, they breed and generate smaller mobs of themselves, and they are tamable, what i want here is WHEN i breed different mobs they use that pool above... any help?
i know i must add something on this part here:
@Override
public EntitycapuchinBlond createChild(EntityAgeable ageable) {
return new EntitycapuchinBlond(world);
}
Hey guys, i´ve been modding for a while but im kinda stuck on this, cant find much information about it on 1.12; i want to breed 2 different races mobs to get a % table like:
Mob 1 (Brown Monkey) X Mob 2 (Yellow Monkey)
25% - Brown Monkey
25%- Yellow Monkey
50% - Black Monkey; something like that, but i cant code it.. i got all the 3 mobs coded right, they breed and generate smaller mobs of themselves, and they are tamable, what i want here is WHEN i breed different mobs they use that pool above... any help?
i know i must add something on this part here: