Bukkit-OtherBlocks
Bukkit-OtherBlocks copied to clipboard
Add support for more mob skulls (was: dropping skulls - skull type inconsistent)
some mobs drop a generic skull with their mob name, like "ENDERMAN's skull"
SPIDER: - drop: SKULL@THIS ZOMBIE: - drop: SKULL@THIS
spider drops generic named head, zombie is the proper (green) zombie head
wither skeletons, endermen, spiders all have this problem. haven't tested every mobe...
It would be neat if you were to get the spiders, blazes and endermen (which have no coded head) to drop the player heads that Sethbling made for his Super-Craft-Bros Map.
The wither skeleton is probably dropping the wrong head because it's a skeleton type.
ah.. forgot only some mobs have coded heads. Got spoiled with a skull-dropping plugin for the past while, which dropped all sorts of mob heads (which I planned to replace with otherdrops)
FWIW - been using this plugin, which provides for various non-vanilla mob heads. Maybe you can get some inspiration here ;-)
https://github.com/meiskam/PlayerHeads
If I could get permission to use those heads I'd integrate them into OtherDrops. The PlayerHeads plugin has purchased extra accounts and configured them with the animal skins so that the skull can drop appropriately. I'll keep it open and look into it for the future.
Ah - no idea that was how they did it. How sneaky...
Of course, I'm not sure it can be expected that no one else see those skins. I can make a Notch skull appear in game just by naming it Notch. Player skins are inherently public.
On Mar 25, 2013, at 8:26 AM, Zarius [email protected] wrote:
If I could get permission to use those heads I'd integrate them into OtherDrops. The PlayerHeads plugin has purchased extra accounts and configured them with the animal skins so that the skull can drop appropriately. I'll keep it open and look into it for the future.
— Reply to this email directly or view it on GitHub.
Yes, they are public and I could use them but wouldn't feel right without asking permission which I may do when I'm less busy :) Of course, if I use them there's nothing to stop them changing the skins to something else which would them affect every user of OtherDrops that used those skulls. Owning your own extra accounts gives security that nothing will change.
I'd feel comfortable with a softdepend for a feature like this. There's a public API in PlayerHeads to get skull objects.