GlowstoneMC / GlowstoneMC/Bukkit2Sponge
Easier Event System
- Dominant language
- Java
- Stars
- 18
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Instead of implementing every Event in Sponge and transfering it to Bukkit (or vice versa), is there any way you could call the event based on the Bukkit event?
``` java
public class EventTranslator implements Listener {
@EventHandler
public void genericEvent(Event e){
Sponge.Magic.call(e);
}
}
```
Obvisouly that doesn't work, but there's probably some way to add a `switch` for each Event. Plus I don't know if a normal Event will be called.
##
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11698939-easier-event-system?utm_campaign=plugin&utm_content=tracker%2F15396672&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15396672&utm_medium=issues&utm_source=github).
Contributor guide
Assessment
This issue has not been assessed yet.