Better Passive Mobs
Introduction
Back in early Beta, minecraft had a different passive mob spawning system. That system was great for a hunter type of lifestyle, but it was impossible to farm mobs, because they would all vanish after a minecraft day or so, and different ones would spawn in their place. Then, Beta 1.8 came out and the spawning system was completely overhauled. Now, once spawned, a passive mob would stay forever. However, after the world was created, new mobs only spawn very, very rarely. So it was awful for hunter people but great for farmers. It was also very bad for servers, because now, all of the mobs within a thousand blocks of the server's spawn get killed off very quickly by people looking for food. This plugin seeks to fix that by melding the two systems to make one that satisfies everyone.
How it works
This plugin splits passive mobs into two categories, wild mobs and domesticated mobs. Wild mobs will spawn and despawn naturally- no matter how many of them you kill, the next day more will spawn. You can hunt them to your heart's content without feeling bad. If you actually want to farm, feed a wild mob its breeding item (Wheat, carrots, seeds, or bones). It will then become a domesticated mob. It will have a name over its head, it can be bred, and it will never despawn.
Renaming
When a mob is domesticated, it will be assigned a random name from a list of default names. You can add to and modify these lists in the plugin's config.yml. Because most people probably won't like these random names, you can rename your domesticated animals by right-clicking them with a branding iron (an iron hoe). After you click them you can type the new name that you desire.
Commands and Permissions
There are no commands.
Permissions: BetterPassives.tame: allows a person to tame animals. Defaults to true. BetterPassives.rename: allows a person to rename animals. Defaults to true.
Notes
- Once a server has used BetterPassives it will be difficult to switch back to the default spawn system. If you have used BetterPassives for a long period of time, you will find that once you uninstall it your world will be completely empty of passive mobs. Use with caution.
- Enjoy!
- This plugin is really cool and you need it.
Try before you download!
As mentioned in the notes section above, it's hard to switch back to the default system after using BetterPassives for any length of time. So why not try it out on another server that is already running it? BetterPassives was inspired by and developed for the wonderful folks at Erecia.net roleplay server, and I sincerely encourage you to give them a visit. If you don't get at least 5 welcomes when you log in for the first time, or if you don't immediately love their magnificent world, roleplay environment, and community, I'll give you the next version of BetterPassives absolutely FREE! Oh, wait... :). I'm also online there at least 2-3 times a week, so if you want to meet me in person, that's a good place to do it!
Donations
If you like what you see and want to say thanks, a small donation can really brighten my day. At the top right-hand corner of your screen, right next to the curse logo, is a donate button. Thanks!
How does this mob operate with villagers? Do you have to tame them?how? Also if you cant tame them is there a chance they will despawn?
Thanks a lot. it's realy kind to see a nice answer.
Take your time to do this i will check regulary for an update.
@MonnierAnt
Certainly not a problem, that probably should be configurable, you're right. I developed this for Erecia, and their world is highly customized and tends to be covered with very tall trees. In order to compensate for this I ended up making the spawning system perhaps a bit too frequent. I would be happy to make it configurable for you in the next update.
hello first of all i have to say that your plugin is a great plugin and it works very well.
well the less pleasant part. I foud that there is a very lot of mob that spawning (to much for our server) i wonder if it's possible to add a percent of chance of spawning in order to see less mobs. Just while spawning an if test with a random number vs a fix value in the config should be correct.
I don't want to bother you i just think that it could be a good idea and i think that i'm the lonely person who want this feature.
@Mushroomkngwasmo
Taming a mob isn't supposed to make them breed, just tame. I just happened to use the same particle effect for taming as is apparently used for breeding. Once tamed, they should be able to breed.
I fixed the previous stated error, but now when I tame them, the right name appears, but it doesn't take my item, and they do not breed for some odd reason.
Thanks for the reply. When I add custom default names, they don't show when I 'tame' mobs, and the default names that were from the default config (The one generated right after you add the plugin) show on their head instead.
@Mushroomkngwasmo
No, it works everywhere.
Does this spawning system only work on new chunks?
@Hangar
That might be good. Or just a config option for despawning.
@Dibujaron
So how would you implement this on an existing world and not lose animals unless everyone comes online at the same time to re-claim their animals? Maybe an option to not de-spawn any animals for an admin-definable transition period would be helpful.
@TheMisterB
Ocelots/cats work already.
As far as not having nametags, I now finally understand why you would want that feature. This will require some thought. This plugin is very very lightweight, due to the fact that there is no database system, but rather tamed is only distinguished from wild by the name over their head. If I were to remove the overhead name, I would have to use some sort of database, which would make this so much heavier weight that I would be ashamed to release it.
Any plans for this to support ocelots/cats, and even better, not having the nametags? I understand why you use them, but it makes anyone with a hidden base unable to domesticate their animals in fear of being found out.
@TheMisterB
they only despawn once their chunks are unloaded. So long as somebody is inside of the village where they are, within 50 blocks or so, they won't despawn.
Only thing I'm worried about is adding this to a server, then having all the mobs people have collected despawn. How long until they despawn, will the players have enough time to domesticate them?
@Typical_Name
Apologies. Ticket replied to.
@BiweGas
You aren't the first to request this, but I still don't understand why you guys want that... Why would you want to not have the name overhead, and instead have a far less cool (and far more resource-intensive) right-click for the name?
Right now the overhead name is used to distinguish between tame and wild mobs. If they have a name, they are tamed. If they don't, wild. Switching to a system such as you suggest would require me to instead use some sort of database, which would make this plugin much heavier than it currently is.
@Typical_Name
Why be you ignoring my comment and ticket? :/
Hey maby it is possible to make that it show is passive tamed or not with right clicking with hand with nothing and it says is it tamed or not(also config to not display name)
@xX_YA_MAMMA_Xx
That's against the rules, and will get him in trouble
@Dibujaron
Could we possibly get a upload to Mega.co.nz or mediafire? Thanks for the great plugin. :)