Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Individual OverrideDrop for each mob. #151

Open
erik1988 opened this issue Aug 17, 2015 · 4 comments
Open

Individual OverrideDrop for each mob. #151

erik1988 opened this issue Aug 17, 2015 · 4 comments

Comments

@erik1988
Copy link

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

@mung3r
Copy link
Owner

mung3r commented Aug 17, 2015

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.

@erik1988
Copy link
Author

Oh really? Thanks :)

@erik1988
Copy link
Author

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.

@mung3r
Copy link
Owner

mung3r commented Sep 17, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants