Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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?

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 ;)

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

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.