Created
January 11, 2015 01:19
-
-
Save natemort/a503bcd855d738b5e5d4 to your computer and use it in GitHub Desktop.
Example for BukkitGuice
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @PluginService(value=SomeNmsThing.class, minecraftVersion="1_6R1") | |
| public class NmsThing1_6 implements SomeNmsThing { | |
| void doSomething() {} | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @PluginService(value=SomeNmsThing.class, minecraftVersion="1_7R1") | |
| public class NmsThing1_7 implements SomeNmsThing { | |
| void doSomething() {System.exit(0);} | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface SomeNmsThing { | |
| void doSomething(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment