use of com.ichorpowered.guardian.launch.facet.GamePluginFacet in project guardian by ichorpowered.
the class GuardianPlugin method onGameInitialization.
// PLUGIN INITIALIZATION
@Listener
public void onGameInitialization(GameInitializationEvent event) {
this.facetBootstrap.addComponent("core", new CorePluginFacet(this.logger, this));
this.facetBootstrap.addComponent("common", new InternalPluginFacet(this.logger, this));
this.facetBootstrap.addComponent("game", new GamePluginFacet(this.logger, this));
this.facetBootstrap.send(FacetBootstrap.FacetRequest.STARTUP, new SimpleFacetMessage(System.currentTimeMillis(), "Game Initialization", this), "core");
}
Aggregations