CardinalPGM
CardinalPGM copied to clipboard
Add chance attribute to blockdrops.
I found most of these issues whilst testing #1039 so I thought I'd fix them too.
This class could do with a re-write to enable the punch
and trample
elements in the future.
- Add
chance
s to item drops. - Gather
wrongtool
info when attribute and element. - Fix usage of
wrongtool
. - Fix giving incorrect
experience
.
Update 1:
- Use new parsing.
- Gather reset of elements.
Update 2:
- Can't remember how on earth this stuff works.
- Create new method for
generateDrops()
to be used in all events. - Start support for
trample
andpunch
.
Looks good, I'm fine with this being merged. I don't know if @Pablete1234 has other opinions.
@twizmwazin It's not ready yet, trample and punch don't work, @iPGz was waiting for cause filters to be implemented first
I still see some debug messages and tests arround, so i'm labeling as WIP