ecoCreature

ecoCreature

81.5k Downloads

Individual OverrideDrop for each mob.

erik1988 opened this issue ยท 4 comments

commented

Would it be possible to only override/clear drops of certain mobs?
I would like to be able to add "OverrideDrops: true/false" under each mob so that I get more controll. The reason is that I would like to limit the amount of meat droped by animals, however i dont want to clear the armor/swords that the zombies picks up.

# Replace instead of stack rewards drops/items
# Default: true
OverrideDrops: true

RewardTable:
Cow:
Drops:
- 'leather:1:55'
- 'raw beef:1:50'
OverrideDrops: true
Zombie:
Drops:
- 'gold nugget:1-2:60'
OverrideDrops: false

commented

It looks like some of the flags in the hunting section are not available. I will have to change that.

commented

Yup, this is supported. Here's an example:

RewardTable:
  Cow:
    Drops:
    Drops:
    - 'leather:2:100'
    - 'raw beef:1-3:100'
    Hunting:
      OverrideDrops: true

In fact, you can override anything in the global 'Hunting' section on a per mob basis.

commented

Oh really? Thanks :)

commented

It does not work. I tried it with the guardians and they still dont drop anything. I also tried it with the zombies to try to make them drop the armor but they dont. my config is like this:
http://pastebin.com/L0rSA81K

If im in creative everything drop as normal minecraft ofc, since im ignored, but in survial it dos not work. It seems to always be clearing the deafult drop no matter what.