Discussion in 'Resources' started by hawkfalcon, Jun 3, 2012.
My tahg button tahgs twice KeybordPiano459 KeybordPiano459
lol why? Mine doesn't
Anyways, I should update this w/ your code
This actually does not work
What does that mean?
Has anyone tested this?
Because for me it does not work at all.
Is setting a custom drop really possible without a "setDrops()" method?
Because from waht I see here, "getDrops().clear()" or "getDrops().add(...)" will only modify the returned collection, but not be applied to the block again.
no, doesn't seem to work anymore. :-p
Kinda funny, the game is about mining and building, you'd think affecting drops would be the most important feature of the api. It's amazing how many new gameplay options have been created by plugins in light of not having a pattern-fitting method of changing the basic features.
PS you should change it back to the old cancel-then-set-air method if clear-add doesn't work so as not to confuse new devs
PSS congrats on staff, never noticed until now
Not entirely sure what you mean by the first part.
You can see https://github.com/hawkfalcon/Melon.../MelonSeedsFromGrass/MelonSeedsFromGrass.java how to do this, and sure I'll update the post
hawkfalcon Only problem is that ignores all protection plugins like worldGuard.
Then do ignorecancelled.
hawkfalcon I tried, it's fired anyway.
Protection plugins should listen on MONITOR. Which would bypass this. :-p
Separate names with a comma.