Jump to content

Recommended Posts

Posted

Is it possible to create two of a mob male and female per say, so I have two seperate mobs which are modelled and look male and female, but then in breeding can it be made they can only breed with each other or does the mob have to be the same?

Posted

It's "per se."

 

Well. You can use IExtendedProperties, or even make entities with NBT.

You can look at Minecraft's code of breeding (Child) for details of that.

 

Create new data and make sure that "between each is a male and a female" to allow breeding.

This would take quite some time to accomplish, but it's not impossible ;)

Posted

I wrote my own breeding script for a raptor class.  It wasn't hard, took about 5 minutes. 

 

Look at the vanilla breeding script and adapt it.    Your biggest trick will be deciding how to trigger it.  On mine i made it to where they tried to breed after chowing down on a live animal instead of the right click event.

Long time Bukkit & Forge Programmer

Happy to try and help

Posted

Sure,

just PM me if you need it.  It wasn't that hard to figure out from the vanilla breeding stuff though.  The Minecraft programmers should be shot for some of the ridiculously complicated ways they do things, but this one was fairly straight forward.

Long time Bukkit & Forge Programmer

Happy to try and help

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.