Home›Java›Mods›GuicyBukkit
GuicyBukkit
ModsJava

GuicyBukkit

Java mod listed for Minecraft 1.7–1.15. Download on the author's site.

⬇ Download on Spigot
guicy logo.png
GuicyBukkit
​

Dependency injection is great. Using it with Spigot is even better, right?

Guice is a pretty good framework to use it with, but it was pretty boilerplate-y to use it with Spigot . Not to mention the hassle of putting listeners and commands.

And that's where GuicyBukkit comes in!

Features
Documentation
Showcase
Code (Java):
public class MyNicePluginModule extends PluginModule {
      // We need a MyNicePlugin instance to create this module, and inject it.
      public MyNicePluginModule ( MyNicePlugin plugin ) {
          super ( plugin ) ;
      }

     @Override
      protected void configureBindings ( ) {
         bind ( SomeService. class ) . to ( SomeServiceImpl. class ) ;
      }

     @Override
      protected void configureListeners ( Multibinder < Listener > binder ) {
         binder. addBinding ( ) . to ( UsefulListener. class ) ;
      }

     @Override
      protected void configureCommands ( Multibinder < CommandConfigurator > binder ) {
         binder. addBinding ( ) . to ( HelloCommand. class ) ;
      }
}
Code (Java):
public class MyNicePlugin extends JavaPlugin {
   @Override
    public void onLoad ( ) {
       Injector injector = Guice. createInjector ( new MyNicePluginModule ( this ) ) ;
       PluginDependencies. fromInjector ( injector ) . registerAll ( this ) ;
    }
}
You just need few lines of code to get Guice running with spigot. Neat.

Aditionnal resources
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

GuicyBukkit is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 142 times (via Spigot). Download it and open it directly in the game.

Explore more