@Override
protected void configure() {
bind(SpongeMod.class).toInstance(SpongeMod.instance);
bind(Logger.class).toInstance(SpongeImpl.getLogger());
bind(PluginContainer.class).annotatedWith(named(SpongeImpl.ECOSYSTEM_ID)).toInstance((PluginContainer) SpongeMod.instance);
<BUG>bind(PluginContainer.class).annotatedWith(named(SpongeImpl.API_ID)).to(SpongeApiContainer.class).in(Scopes.SINGLETON);
</BUG>
bind(PluginContainer.class).annotatedWith(named(SpongeImpl.GAME_ID)).toInstance((PluginContainer) Loader.instance().getMinecraftModContainer());
bind(Game.class).to(SpongeModGame.class).in(Scopes.SINGLETON);
bind(MinecraftVersion.class).toInstance(SpongeImpl.MINECRAFT_VERSION);

@Override
protected void configure() {
bind(SpongeMod.class).toInstance(SpongeMod.instance);
bind(Logger.class).toInstance(SpongeImpl.getLogger());
bind(PluginContainer.class).annotatedWith(named(SpongeImpl.ECOSYSTEM_ID)).toInstance((PluginContainer) SpongeMod.instance);
bind(PluginContainer.class).annotatedWith(named(SpongeImpl.API_ID)).toInstance(SpongeApiModContainer.instance);
bind(PluginContainer.class).annotatedWith(named(SpongeImpl.GAME_ID)).toInstance((PluginContainer) Loader.instance().getMinecraftModContainer());
bind(Game.class).to(SpongeModGame.class).in(Scopes.SINGLETON);
bind(MinecraftVersion.class).toInstance(SpongeImpl.MINECRAFT_VERSION);
