Unofficial Mo'Creatures SMP/CraftBukkit Compatibility Pack
Unofficial Mo'Creatures SMP/CraftBukkit Compatibility Pack
Overview
Please note that although my compatibility classes do not modify Mo'Creatures or contain any Mo'Creatures code, I *DO* have express permission from DrZhark (the creator of Mo'Creatures) to release my code and files. Please also note this is an UNOFFICIAL mod, it is not supported, or maintained by DrZhark.
The Unofficial Mo'Creatures SMP/CraftBukkit Compatibility Pack is a set of classes for CraftBukkit that extends CB with the new creature types from the Mo'Creatures mod. It was created to allow CraftBukkit plugins to utilize the new mob types. For any CraftBukkit mod that retrieves mob types via the mob name, it should correctly return a corresponding CreatureType. One example of a plugin that does this is the RPG plugin called Heroes, which allows users to specify experience, damage, and HP values per creature.
Usage Example
As an example, in Heroes' experience.yml you might have:
creeper: 20 enderman: 30
which would give 20 experience for Creepers and 30 for Endermen. After installing the Compatibility Pack, you might add something like this to your experience.yml file:
wraith: 35 flamewraith: 40 ogre: 50
etc.
Requirements
CraftBukkit (Mo'Creatures only supports CB 1185, though 1188 also works. However, these compatibility files are not CB version specific and should work on later versions should the Mo'Creatures mod be updated.)
Mo'Creatures SMP (currently supports creatures from Beta 1.3.1)
Installation
Please note that this is not a fan update to Mo'Creatures itself, and you WILL need the entire Mo'Creatures SMP package for these compatibility classes to have any effect. See the Requirements section above for a link to the official Mo'Creatures mod thread.
To install, simply open your craftbukkit-0.0.1-SNAPSHOT.jar file in an appropriate editor (7zip, WinRAR etc.), extract or open the contents of the UnofficialMoCreatureCraftBukkitCompat-0.0.1Beta.zip and drag the org folder into the editor window with the craftbukkit .jar open. It will overwrite two files (CreatureType.class, and CraftEntity.class). All other .class files are new code.
Because this mod changes the CraftEntity class's getEntity function to accommodate the new creature types, it MUST be installed *after* you install Mo'Creatures SMP and its dependency, ModLoaderMP. The changes to CraftEntity for this mod also include the (small) changes that ModLoaderMP makes to it, so please do not worry about incompatibilities between the ModLoaderMP version of CraftEntity.class and the Compatibility Pack version.
If the current version of the Compatibility Pack is not present in the files section, please check out the Repository tab. The repository contains both the source code and compiled classes. To install from the repo, simply navigate inside the "compiled" directory and drag the "org" folder into the opened craftbukkit-0.0.1-SNAPSHOT.jar as mentioned above.
Source Code
If you're interested in obtaining the source code for the Unofficial Mo'Creatures SMP/CraftBukkit Compatibility Pack, please check the Repository tab.
In order to compile the code for the Compatibility Pack, you'll need to check out a version of both the Bukkit and CraftBukkit source. First compile Bukkit with code files from org/bukkit/entity in the Compatibility Pack repo. Then you will need to create a .jar with Mo'Creatures SMP as well as its dependencies. Set up Maven to use the .jar as a dependency. Then you can copy the Compatibility Pack code from org/bukkit/craftbukkit/entity into the CraftBukkit source folders and compile CraftBukkit.
Credits
Credit goes to DrZhark for creating Mo'Creatures.
Shout out to Sleaker of the Heroes devs for pointing me in the right direction while developing this pack.
Can't wait for this, personally :)
@ChairGraveyard
Yup, I'm willing to test it as much as possible if you update it ^^
Hey guys, I haven't been playing Minecraft really for a while, and CraftBukkit and MC development in general kind of passed me by with a lot of updates. Also, I never actually expected anyone to download this, and never realized it got so many followers.
That said, the source code is available from the Repository, and I have a blurb up there in the description about compiling it. The plugin is actually quite simple to understand honestly, so I imagine one of the many talented people on BukkitDev could update it.
If no one steps forward to update it in a week or so I'll try and get it updated myself and get you guys a release, but I probably won't be able to properly test it, so I'll be relying on you all to let me know if there are bugs/problems.
Well, ChairGraveyard hasn't logged in since november 8th 2011 as noted here. I'm thinking this plugin is not going to receive any updates. Also noting that mo'creatures is now being updated (was previoulsy locked).
I also found this which claims to have a mob api. It's part of the API+ suite used for Guns+. So idk if that would be a better option or not. I suppose it's worth looking into.
ChairGraveyard,
I was wondering if there was any way possible to link this with the Safari plugin? It would make these two plugins absolutely SHINE!
I will inform FeaRiTail (Safari author) about this perfect plugin..
I'm sure with collaboration, the merge of these two plugins could be a Giant among men...
i need to get rid of the Ogre thay are destroying my smp world how do i get rid of them
I also would like to request an Update please! :)
Update please :-)
Would love to see an update to this as well! Especially now that experience is COMPLETELY broken with mo creatures and Heroes :(
Hi,
I really would love to try this plugin, but everytime i try to mod the minecraft jar..it messes up...
Does anyone have a modded jar i can dowload...i just dont seem to be able to get it right.
thanks
update?
Please Update This Mod, It's an Amazing Piece of Work, and Deserves ATTENTION. WE NEED THIS MOB FOR ENVIRONMENTAL FACTORS, Which is HUGE for Minecraft!
Any news? Still one of the absolutely most important mods for bukkit that could be supported.
Works with minecraft 1.1 and bukkit R3?
This is by far one of the most important mods we need right now. Everyone I know on MC servers (about 15 folks) want Mo' Creatures SMP. We're all pulling for this here and someone's gotta pick up the torch if you don't have time.
Please update the mod. I want to be able to use it on 1.1
Thanks SuBByDew
Please update it for 1.0 and the latest Mo Creatures!
@Guarana_SUI
That would be great, is there any way you can hook this into Residence? or will the monster-spawning thing in residence already work for this?
Very nice. are you planning on making a spout addon ? this would be uber epic! http://forums.getspout.org/threads/client-addon-faq.84/
What is the status of Mo' Creatures SMP on the 1.0.1-R1 CraftBukkit release?