[SPIGOT-3629] Extend EntityEffect Created: 29/Oct/17 Updated: 07/Nov/17 Resolved: 07/Nov/17 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Selebrator | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | API, Bukkit |
Description |
org.bukkit.EntityEffest hasn't been updated for 3 years and is missing many new effects. There will occure some problems when updating:
I also find the documentation to be vague or incomplete sometimes.
/** * When a mob dies. * <p> * <b>This will cause client-glitches!</b> */ DEATH(3)
|
Comments |
Comment by Selebrator [ 29/Oct/17 ] |
btw don't start researching this topic unless you realy want to. I already have a finished and documented class for another project. Just waiting for that notification sothat i can start contibuting... |
Comment by Selebrator [ 29/Oct/17 ] |
Yeah, wasn't sure if I should mention that. EntityEffect.getByData(byte)
return unexpected results. Since that method was intended it for testing by grum and has been deprecated for a very long time I don't think that this outweighs the benefits. |
Comment by md_5 [ 29/Oct/17 ] |
>WOLF_SMOKE and WOLF_HEARTS dont represent thier purpose correctly anymore because also ocelots, parrots, and all horse variations use the same effect. So TAME_SMOKE and TAME_HEARTS would be a better fit. Existing effects cannot be renamed, as that breaks existing usages. |