public void init() { boolean TELoaded = Loader.isModLoaded(TE); boolean TDLoaded = Loader.isModLoaded(TD); if (!TELoaded || !TDLoaded) { LogHelper.fatal("Thermal Expansion and Thermal Dynamics is required for Thermal Expansion recipes."); throw new MissingModsException(Collections.singleton((ArtifactVersion) new DefaultArtifactVersion((!TELoaded) ? TE : TD))); } getItems(); setRecipes(); }
public GuiModsMissingForServer(MissingModsException modsMissing) { this.modsMissing = modsMissing; }
public GuiModsMissing(MissingModsException modsMissing) { super(null,null); this.modsMissing = modsMissing; }