ecoCreature

ecoCreature

81.5k Downloads

Mob Eggs Support

OhMyGrod opened this issue ยท 4 comments

commented

Hi there,

Would it be possible (or is it already?) to add mob eggs as the items dropped on death for mobs? Along with the ability to customize the amount dropped and chance.

Thanks.

commented

If it has an material ID, you can drop it.

commented

Well the with the way mob eggs currently work I don't see how. For example, 383:58 would drop or give an enderdragon egg. However, with the way we add items to monster drops in the config I don't see how this would be possible.

commented

You can specify "damage values" for items. Your example would be represented as 383.58 (which, by the way is an enderman egg). If you want a dragon egg, that would be 383.63.

Let's say you want to drop a dragon egg 10 percent of the time killing cows. That would look like this:

    Cow:
        Drops: '383.63:1-1:10'
commented

Ah, I see now. Thanks for clearing that up.