Java Code Examples for cpw.mods.fml.common.Loader#isModLoaded()
The following examples show how to use
cpw.mods.fml.common.Loader#isModLoaded() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RegisteredIntegrations.java From Gadomancy with GNU Lesser General Public License v3.0 | 6 votes |
private static void registerDependent(String modId, String clazz) { if(!Loader.isModLoaded(modId)) { return; } Object integration; try { integration = Injector.getClass(clazz).newInstance(); } catch (Throwable e) {//InstantiationException | IllegalAccessException return; } if(integration instanceof IntegrationMod) { ((IntegrationMod) integration).init(); } }
Example 2
Source File: IGWSupportNotifier.java From PneumaticCraft with GNU General Public License v3.0 | 6 votes |
/** * Needs to be instantiated somewhere in your mod's loading stage. */ public IGWSupportNotifier(){ if(FMLCommonHandler.instance().getSide() == Side.CLIENT && !Loader.isModLoaded("IGWMod")) { File dir = new File(".", "config"); Configuration config = new Configuration(new File(dir, "IGWMod.cfg")); config.load(); if(config.get(Configuration.CATEGORY_GENERAL, "enable_missing_notification", true, "When enabled, this will notify players when IGW-Mod is not installed even though mods add support.").getBoolean()) { ModContainer mc = Loader.instance().activeModContainer(); String modid = mc.getModId(); List<ModContainer> loadedMods = Loader.instance().getActiveModList(); for(ModContainer container : loadedMods) { if(container.getModId().equals(modid)) { supportingMod = container.getName(); FMLCommonHandler.instance().bus().register(this); ClientCommandHandler.instance.registerCommand(new CommandDownloadIGW()); break; } } } config.save(); } }
Example 3
Source File: Chisel.java From Chisel-2 with GNU General Public License v2.0 | 6 votes |
@EventHandler public void preInit(FMLPreInitializationEvent event) { File configFile = event.getSuggestedConfigurationFile(); Configurations.configExists = configFile.exists(); Configurations.config = new Configuration(configFile); Configurations.config.load(); Configurations.refreshConfig(); ChiselTabs.preInit(); Features.preInit(); Statistics.init(); PacketHandler.init(); ChiselController.INSTANCE.preInit(); if (Loader.isModLoaded("ForgeMultipart")) { new FMPCompat().init(); } proxy.preInit(); }
Example 4
Source File: Crossmod.java From Ex-Aliquo with MIT License | 6 votes |
public static void initCross() { if (isArsMagicaLoaded && isTConLoaded) { ArsMagica_Tinker.SmeltArs(); } if (isThaumcraftLoaded && isNetherOresLoaded) { NetherOres_Thaumcraft.Whenk(); } if (isExtraTICLoaded && isMetallurgyLoaded) { ExtraTic_Metallurgy.SmeltMetallurgy(); } if (isExtraTICLoaded && Loader.isModLoaded("Mekanisum")) { ExtraTic_Mekanism.SmeltMekanism(); } CropXYZ.Shoukan(); }
Example 5
Source File: GuiProgrammer.java From PneumaticCraft with GNU General Public License v3.0 | 6 votes |
@Override protected void drawGuiContainerForegroundLayer(int x, int y){ super.drawGuiContainerForegroundLayer(x, y); boolean igwLoaded = Loader.isModLoaded(ModIds.IGWMOD); fontRendererObj.drawString(widgetPage + 1 + "/" + (maxPage + 1), 305, 175, 0xFF000000); fontRendererObj.drawString(I18n.format("gui.programmer.difficulty"), 263, 190, 0xFF000000); if(showingWidgetProgress == 0) { programmerUnit.renderForeground(x, y, draggingWidget); } for(IProgWidget widget : visibleSpawnWidgets) { if(widget != draggingWidget && x - guiLeft >= widget.getX() && y - guiTop >= widget.getY() && x - guiLeft <= widget.getX() + widget.getWidth() / 2 && y - guiTop <= widget.getY() + widget.getHeight() / 2) { List<String> tooltip = new ArrayList<String>(); widget.getTooltip(tooltip); if(igwLoaded) tooltip.add(I18n.format("gui.programmer.pressIForInfo")); if(tooltip.size() > 0) drawHoveringString(tooltip, x - guiLeft, y - guiTop, fontRendererObj); } } }
Example 6
Source File: Waila.java From PneumaticCraft with GNU General Public License v3.0 | 6 votes |
public static void callbackRegister(IWailaRegistrar registrar){ registrar.registerBodyProvider(new WailaPneumaticHandler(), IPneumaticMachine.class); registrar.registerBodyProvider(new WailaHeatHandler(), IHeatExchanger.class); registrar.registerBodyProvider(new WailaPlantHandler(), BlockPneumaticPlantBase.class); registrar.registerBodyProvider(new WailaSemiBlockHandler(), Block.class); registrar.registerBodyProvider(new WailaRedstoneControl(), IRedstoneControl.class); registrar.registerBodyProvider(new WailaTubeModuleHandler(), TileEntityPressureTube.class); registrar.registerNBTProvider(new WailaPneumaticHandler(), IPneumaticMachine.class); registrar.registerNBTProvider(new WailaHeatHandler(), IHeatExchanger.class); registrar.registerNBTProvider(new WailaTubeModuleHandler(), TileEntityPressureTube.class); registrar.registerNBTProvider(new WailaSemiBlockHandler(), Block.class); registrar.registerNBTProvider(new WailaRedstoneControl(), IRedstoneControl.class); if(Loader.isModLoaded(ModIds.FMP)) { registrar.registerBodyProvider(new WailaFMPHandler(), "tile.pressureTube"); registrar.registerBodyProvider(new WailaFMPHandler(), "tile.advancedPressureTube"); } }
Example 7
Source File: Compatibility.java From Chisel with GNU General Public License v2.0 | 5 votes |
public static void addSupport(String modname, String blockname, String name, int metadata, int order) { if(Loader.isModLoaded(modname) && GameRegistry.findBlock(modname, blockname) != null) { Carving.chisel.addVariation(name, GameRegistry.findBlock(modname, blockname), metadata, order); GameRegistry.findBlock(modname, blockname).setHarvestLevel("chisel", 0, 0); } }
Example 8
Source File: GuiHelmetMainOptions.java From PneumaticCraft with GNU General Public License v3.0 | 5 votes |
@Override public void initGui(IGuiScreen gui){ gui.getButtonList().add(new GuiButton(10, 30, 128, 150, 20, "Move Pressure Stat Screen...")); gui.getButtonList().add(new GuiButton(11, 30, 150, 150, 20, "Move Message Screen...")); if(!Loader.isModLoaded(ModIds.NOT_ENOUGH_KEYS)) { changeKeybindingButton = new GuiButton(12, 30, 172, 150, 20, "Change open menu key..."); gui.getButtonList().add(changeKeybindingButton); } }
Example 9
Source File: LoaderReference.java From bartworks with MIT License | 5 votes |
public static void init() { Natura = Loader.isModLoaded("Natura"); RandomThings = Loader.isModLoaded("RandomThings"); TConstruct = Loader.isModLoaded("TConstruct"); chisel = Loader.isModLoaded("chisel"); Railcraft = Loader.isModLoaded("Railcraft"); Ztones = Loader.isModLoaded("Ztones"); witchery = Loader.isModLoaded("witchery"); GalaxySpace = Loader.isModLoaded("GalaxySpace"); GalacticraftCore = Loader.isModLoaded("GalacticraftCore"); GalacticraftMars = Loader.isModLoaded("GalacticraftMars"); Thaumcraft = Loader.isModLoaded("Thaumcraft"); miscutils = Loader.isModLoaded("miscutils"); tectech = Loader.isModLoaded("tectech"); ExtraUtilities = Loader.isModLoaded("ExtraUtilities"); RWG = Loader.isModLoaded("RWG"); galacticgreg = Loader.isModLoaded("galacticgreg"); gendustry = Loader.isModLoaded("gendustry"); croploadcore = Loader.isModLoaded("croploadcore"); Forestry = Loader.isModLoaded("Forestry"); berriespp = Loader.isModLoaded("berriespp"); dreamcraft = Loader.isModLoaded("dreamcraft"); BloodArsenal = Loader.isModLoaded("BloodArsenal"); Botany = Loader.isModLoaded("Botany"); EnderIO = Loader.isModLoaded("EnderIO"); HardcoreEnderExpension = Loader.isModLoaded("HardcoreEnderExpension"); betterloadingscreen = Loader.isModLoaded("betterloadingscreen"); }
Example 10
Source File: GuiAerialInterface.java From PneumaticCraft with GNU General Public License v3.0 | 5 votes |
@Override public void initGui(){ super.initGui(); if(PneumaticCraftAPIHandler.getInstance().liquidXPs.size() > 0) addAnimatedStat("gui.tab.info.aerialInterface.liquidXp.info.title", new ItemStack(Items.water_bucket), 0xFF55FF55, false).setText(getLiquidXPText()); if(Loader.isModLoaded(ModIds.COFH_CORE)) { addAnimatedStat("gui.tab.info.aerialInterface.interfacingRF.info.title", new ItemStack(Items.glowstone_dust), 0xFFFF2222, false).setText("gui.tab.info.aerialInterface.interfacingRF.info"); } if(te.getUpgrades(ItemMachineUpgrade.UPGRADE_DISPENSER_DAMAGE) > 0) { GuiAnimatedStat optionStat = addAnimatedStat("gui.tab.aerialInterface.feedMode", new ItemStack(Items.beef), 0xFFFFCC00, false); List<String> text = new ArrayList<String>(); for(int i = 0; i < 4; i++) text.add(" "); optionStat.setTextWithoutCuttingString(text); GuiButtonSpecial button = new GuiButtonSpecial(1, 5, 20, 20, 20, ""); button.setRenderStacks(new ItemStack(Items.beef)); button.setTooltipText(I18n.format("gui.tab.aerialInterface.feedMode.feedFullyUtilize")); optionStat.addWidget(button); modeButtons[0] = button; button = new GuiButtonSpecial(2, 30, 20, 20, 20, ""); button.setRenderStacks(new ItemStack(Items.apple)); button.setTooltipText(I18n.format("gui.tab.aerialInterface.feedMode.feedWhenPossible")); optionStat.addWidget(button); modeButtons[1] = button; button = new GuiButtonSpecial(3, 55, 20, 20, 20, ""); button.setRenderStacks(new ItemStack(Items.golden_apple)); button.setTooltipText(Arrays.asList(WordUtils.wrap(I18n.format("gui.tab.aerialInterface.feedMode.utilizeFullHealthElsePossible"), 40).split(System.getProperty("line.separator")))); optionStat.addWidget(button); modeButtons[2] = button; } else { for(int i = 0; i < modeButtons.length; i++) modeButtons[i] = null; } }
Example 11
Source File: SemiBlockInitializer.java From PneumaticCraft with GNU General Public License v3.0 | 5 votes |
public static void init(){ MinecraftForge.EVENT_BUS.register(SemiBlockManager.getServerInstance()); FMLCommonHandler.instance().bus().register(SemiBlockManager.getServerInstance()); Class requesterClass = Loader.isModLoaded(ModIds.AE2) ? SemiBlockRequesterAE.class : SemiBlockRequester.class; registerSemiBlock(SemiBlockActiveProvider.ID, SemiBlockActiveProvider.class, false); registerSemiBlock(SemiBlockPassiveProvider.ID, SemiBlockPassiveProvider.class, false); registerSemiBlock(SemiBlockStorage.ID, SemiBlockStorage.class, false); registerSemiBlock(SemiBlockDefaultStorage.ID, SemiBlockDefaultStorage.class, false); registerSemiBlock(SemiBlockRequester.ID, requesterClass, false); registerSemiBlock("heatFrame", SemiBlockHeatFrame.class); PneumaticCraft.proxy.registerSemiBlockRenderer((ItemSemiBlockBase)Itemss.logisticsFrameRequester); SemiBlockManager.registerSemiBlockToItemMapping(requesterClass, Itemss.logisticsFrameRequester); PneumaticCraft.proxy.registerSemiBlockRenderer((ItemSemiBlockBase)Itemss.logisticsFrameDefaultStorage); SemiBlockManager.registerSemiBlockToItemMapping(SemiBlockDefaultStorage.class, Itemss.logisticsFrameDefaultStorage); PneumaticCraft.proxy.registerSemiBlockRenderer((ItemSemiBlockBase)Itemss.logisticsFrameStorage); SemiBlockManager.registerSemiBlockToItemMapping(SemiBlockStorage.class, Itemss.logisticsFrameStorage); PneumaticCraft.proxy.registerSemiBlockRenderer((ItemSemiBlockBase)Itemss.logisticsFramePassiveProvider); SemiBlockManager.registerSemiBlockToItemMapping(SemiBlockPassiveProvider.class, Itemss.logisticsFramePassiveProvider); PneumaticCraft.proxy.registerSemiBlockRenderer((ItemSemiBlockBase)Itemss.logisticsFrameActiveProvider); SemiBlockManager.registerSemiBlockToItemMapping(SemiBlockActiveProvider.class, Itemss.logisticsFrameActiveProvider); }
Example 12
Source File: ThaumcraftIntegration.java From GardenCollection with MIT License | 5 votes |
public static void init () { if (!Loader.isModLoaded(MOD_ID)) return; Block blockCandle = GameRegistry.findBlock(ThaumcraftIntegration.MOD_ID, "blockCandle"); ILanternSource candleSource = new ThaumcraftCandleSource(blockCandle); GardenAPI.instance().registries().lanternSources().registerLanternSource(candleSource); }
Example 13
Source File: Info.java From Electro-Magic-Tools with GNU General Public License v3.0 | 5 votes |
public static boolean isIc2Available() { if (ic2Available != null) return ic2Available; boolean loaded = Loader.isModLoaded("IC2"); if (Loader.instance().hasReachedState(LoaderState.CONSTRUCTING)) { ic2Available = loaded; } return loaded; }
Example 14
Source File: BCItems.java From SimplyJetpacks with MIT License | 5 votes |
public static void init() { SimplyJetpacks.logger.info("Stealing BuildCraft's items"); if (Loader.isModLoaded("BuildCraft|Transport")) { pipeFluidStone = new ItemStack(GameRegistry.findItem("BuildCraft|Transport", "item.buildcraftPipe.pipefluidsstone")); pipeEnergyGold = new ItemStack(GameRegistry.findItem("BuildCraft|Transport", "item.buildcraftPipe.pipepowergold")); } else { pipeFluidStone = "blockGlass"; pipeEnergyGold = "dustRedstone"; } if (Loader.isModLoaded("BuildCraft|Energy")) { Block engine = GameRegistry.findBlock("BuildCraft|Core", "engineBlock"); if (engine == null) { engine = GameRegistry.findBlock("BuildCraft|Energy", "engineBlock"); } engineCombustion = new ItemStack(engine, 1, 2); } else { engineCombustion = "gearIron"; } if (Loader.isModLoaded("BuildCraft|Factory")) { tank = new ItemStack(GameRegistry.findBlock("BuildCraft|Factory", "tankBlock")); } else { tank = "blockGlass"; } if (Loader.isModLoaded("BuildCraft|Silicon")) { chipsetGold = new ItemStack(GameRegistry.findItem("BuildCraft|Silicon", "redstoneChipset"), 1, 2); } else { chipsetGold = "gearGold"; } }
Example 15
Source File: OpenComputersChecker.java From OpenPeripheral with MIT License | 4 votes |
@Override public boolean isEnabled() { return Config.interfaceOpenComputers && Loader.isModLoaded(Mods.OPENCOMPUTERS); }
Example 16
Source File: NEIIntegration.java From GardenCollection with MIT License | 4 votes |
public static void init () { if (!Loader.isModLoaded(MOD_ID)) return; registerNEI(); }
Example 17
Source File: TileEntityAerialInterface.java From PneumaticCraft with GNU General Public License v3.0 | 4 votes |
private boolean isRFAvailable(){ return Loader.isModLoaded(ModIds.COFH_CORE); }
Example 18
Source File: OreDictHandler.java From NewHorizonsCoreMod with GNU General Public License v3.0 | 4 votes |
public static void register_space_rocks() { if(Loader.isModLoaded("GalacticraftCore")) for (byte i=3; i<6;i++) reg_rock(OreDictTypes.Moon.name(),GT_ModHandler.getModItem("GalacticraftCore", "tile.moonBlock", 1L, i)); if(Loader.isModLoaded("GalacticraftMars")) { for (byte i=4; i<7;i++) reg_rock(OreDictTypes.Mars.name(),GT_ModHandler.getModItem("GalacticraftMars", "tile.mars", 1L, i)); reg_rock(OreDictTypes.Mars.name(),GT_ModHandler.getModItem("GalacticraftMars", "tile.mars", 1L, 9)); } for (byte i=0; i<3;i++) { if(Loader.isModLoaded("GalaxySpace")) { reg_rock(OreDictTypes.Phobos.name(),GT_ModHandler.getModItem("GalaxySpace", "phobosblocks", 1L, i)); reg_rock(OreDictTypes.Io.name(),GT_ModHandler.getModItem("GalaxySpace", "ioblocks", 1L, i)); reg_rock(OreDictTypes.PlanetMercury.name(),GT_ModHandler.getModItem("GalaxySpace", "mercuryblocks", 1L, i)); reg_rock(OreDictTypes.Titan.name(),GT_ModHandler.getModItem("GalaxySpace", "titanblocks", 1L, i)); reg_rock(OreDictTypes.Oberon.name(),GT_ModHandler.getModItem("GalaxySpace", "oberonblocks", 1L, i)); reg_rock(OreDictTypes.Miranda.name(),GT_ModHandler.getModItem("GalaxySpace", "mirandablocks", 1L, i)); reg_rock(OreDictTypes.Proteus.name(),GT_ModHandler.getModItem("GalaxySpace", "proteusblocks", 1L, i)); reg_rock(OreDictTypes.Triton.name(),GT_ModHandler.getModItem("GalaxySpace", "tritonblocks", 1L, i)); reg_rock(OreDictTypes.Pluto.name(),GT_ModHandler.getModItem("GalaxySpace", "plutoblocks", 1L, i)); reg_rock(OreDictTypes.Pluto.name(),GT_ModHandler.getModItem("GalaxySpace", "plutoblocks", 1L, (i+3))); reg_rock(OreDictTypes.TcetiE.name(),GT_ModHandler.getModItem("GalaxySpace", "tcetieblocks", 1L, i)); } if(Loader.isModLoaded("GalacticraftMars")) reg_rock(OreDictTypes.Asteroids.name(),GT_ModHandler.getModItem("GalacticraftMars", "tile.asteroidsBlock", 1L, i)); } if(Loader.isModLoaded("GalaxySpace")) { reg_rock(OreDictTypes.Europa.name(),GT_ModHandler.getModItem("GalaxySpace", "europaunderwatergeyser", 1L, 0)); reg_rock(OreDictTypes.Europa.name(),GT_ModHandler.getModItem("GalaxySpace", "europageyser", 1L, 0)); reg_rock(OreDictTypes.Haumea.name(),GT_ModHandler.getModItem("GalaxySpace", "haumeablocks", 1L, 0)); reg_rock(OreDictTypes.CentauriA.name(),GT_ModHandler.getModItem("GalaxySpace", "acentauribbgrunt", 1L, 0)); reg_rock(OreDictTypes.CentauriA.name(),GT_ModHandler.getModItem("GalaxySpace", "acentauribbsubgrunt", 1L, 0)); reg_rock(OreDictTypes.VegaB.name(),GT_ModHandler.getModItem("GalaxySpace", "vegabsubgrunt", 1L, 0)); reg_rock(OreDictTypes.VegaB.name(),GT_ModHandler.getModItem("GalaxySpace", "vegabgrunt", 1L, 0)); reg_rock(OreDictTypes.BarnardaE.name(),GT_ModHandler.getModItem("GalaxySpace", "barnardaEgrunt", 1L, 0)); reg_rock(OreDictTypes.BarnardaE.name(),GT_ModHandler.getModItem("GalaxySpace", "barnardaEsubgrunt", 1L, 0)); reg_rock(OreDictTypes.BarnardaF.name(),GT_ModHandler.getModItem("GalaxySpace", "barnardaFsubgrunt", 1L, 0)); reg_rock(OreDictTypes.BarnardaF.name(),GT_ModHandler.getModItem("GalaxySpace", "barnardaFgrunt", 1L, 0)); reg_rock(OreDictTypes.Io.name(),GT_ModHandler.getModItem("GalaxySpace", "ioglowstone", 1L, 0)); reg_rock(OreDictTypes.Enceladus.name(),GT_ModHandler.getModItem("GalaxySpace", "enceladusglowstone", 1L, 0)); reg_rock(OreDictTypes.Pluto.name(),GT_ModHandler.getModItem("GalaxySpace", "plutoglowstone", 1L, 0)); reg_rock(OreDictTypes.Proteus.name(),GT_ModHandler.getModItem("GalaxySpace", "proteusglowstone", 1L, 0)); reg_rock(OreDictTypes.Ceres.name(),GT_ModHandler.getModItem("GalaxySpace", "ceresglowstone", 1L, 0)); for (byte i=0;i<2;i++) { reg_rock(OreDictTypes.Deimos.name(),GT_ModHandler.getModItem("GalaxySpace", "deimosblocks", 1L, i)); reg_rock(OreDictTypes.Venus.name(),GT_ModHandler.getModItem("GalaxySpace", "venusblocks", 1L, i)); reg_rock(OreDictTypes.Ceres.name(),GT_ModHandler.getModItem("GalaxySpace", "ceresblocks", 1L, i)); reg_rock(OreDictTypes.Europa.name(),GT_ModHandler.getModItem("GalaxySpace", "europagrunt", 1L, i)); reg_rock(OreDictTypes.Ganymede.name(),GT_ModHandler.getModItem("GalaxySpace", "ganymedeblocks", 1L, i)); reg_rock(OreDictTypes.Callisto.name(),GT_ModHandler.getModItem("GalaxySpace", "callistoblocks", 1L, i)); reg_rock(OreDictTypes.Enceladus.name(),GT_ModHandler.getModItem("GalaxySpace", "enceladusblocks", 1L, i)); reg_rock(OreDictTypes.MakeMake.name(),GT_ModHandler.getModItem("GalaxySpace", "makemakegrunt", 1L, i)); } } }
Example 19
Source File: BlockSensor.java From OpenPeripheral-Addons with MIT License | 4 votes |
@Override @SuppressWarnings({ "rawtypes", "unchecked" }) public void getSubBlocks(Item item, CreativeTabs tab, List result) { super.getSubBlocks(item, tab, result); if (Config.addTurtlesToCreative && Loader.isModLoaded(Mods.COMPUTERCRAFT)) ModuleComputerCraft.listSensorTurtles(result); }
Example 20
Source File: OreDictHandler.java From NewHorizonsCoreMod with GNU General Public License v3.0 | 4 votes |
public static void register_space_dust() { reg_dust(OreDictTypes.Asteroids.name(),ItemList.AsteroidsStoneDust.getIS()); reg_dust(OreDictTypes.BarnardaE.name(),ItemList.BarnardaEStoneDust.getIS()); reg_dust(OreDictTypes.BarnardaF.name(),ItemList.BarnardaFStoneDust.getIS()); reg_dust(OreDictTypes.Callisto.name(),ItemList.CallistoStoneDust.getIS()); reg_dust(OreDictTypes.CentauriA.name(),ItemList.CentauriAStoneDust.getIS()); reg_dust(OreDictTypes.Ceres.name(),ItemList.CeresStoneDust.getIS()); reg_dust(OreDictTypes.Deimos.name(),ItemList.DeimosStoneDust.getIS()); reg_dust(OreDictTypes.Enceladus.name(),ItemList.EnceladusStoneDust.getIS()); reg_dust(OreDictTypes.Enceladus.name(),ItemList.EnceladusIceDust.getIS()); reg_dust(OreDictTypes.Europa.name(),ItemList.EuropaIceDust.getIS()); reg_dust(OreDictTypes.Europa.name(),ItemList.EuropaStoneDust.getIS()); reg_dust(OreDictTypes.Ganymede.name(),ItemList.GanymedeStoneDust.getIS()); reg_dust(OreDictTypes.Haumea.name(),ItemList.HaumeaStoneDust.getIS()); reg_dust(OreDictTypes.Io.name(),ItemList.IoStoneDust.getIS()); reg_dust(OreDictTypes.MakeMake.name(),ItemList.MakeMakeStoneDust.getIS()); reg_dust(OreDictTypes.Mars.name(),ItemList.MarsStoneDust.getIS()); reg_dust(OreDictTypes.PlanetMercury.name(),ItemList.MercuryStoneDust.getIS()); reg_dust(OreDictTypes.PlanetMercury.name(),ItemList.MercuryCoreDust.getIS()); reg_dust(OreDictTypes.Miranda.name(),ItemList.MirandaStoneDust.getIS()); reg_dust(OreDictTypes.Moon.name(),ItemList.MoonStoneDust.getIS()); reg_dust(OreDictTypes.Oberon.name(),ItemList.OberonStoneDust.getIS()); reg_dust(OreDictTypes.Phobos.name(),ItemList.PhobosStoneDust.getIS()); reg_dust(OreDictTypes.Pluto.name(),ItemList.PlutoIceDust.getIS()); reg_dust(OreDictTypes.Pluto.name(),ItemList.PlutoStoneDust.getIS()); reg_dust(OreDictTypes.Proteus.name(),ItemList.ProteusStoneDust.getIS()); reg_dust(OreDictTypes.TcetiE.name(),ItemList.TCetiEStoneDust.getIS()); reg_dust(OreDictTypes.Titan.name(),ItemList.TitanStoneDust.getIS()); reg_dust(OreDictTypes.Triton.name(),ItemList.TritonStoneDust.getIS()); reg_dust(OreDictTypes.VegaB.name(),ItemList.VegaBStoneDust.getIS()); reg_dust(OreDictTypes.Venus.name(),ItemList.VenusStoneDust.getIS()); if(Loader.isModLoaded("GalaxySpace")) { reg_dust(OreDictTypes.Enceladus.name(),GT_ModHandler.getModItem("GalaxySpace", "item.GlowstoneDusts", 1L,2)); reg_dust(OreDictTypes.Io.name(),GT_ModHandler.getModItem("GalaxySpace", "item.GlowstoneDusts", 1L,1)); reg_dust(OreDictTypes.Pluto.name(),GT_ModHandler.getModItem("GalaxySpace", "item.GlowstoneDusts", 1L,4)); reg_dust(OreDictTypes.Proteus.name(),GT_ModHandler.getModItem("GalaxySpace", "item.GlowstoneDusts", 1L,3)); reg_dust(OreDictTypes.Ceres.name(),GT_ModHandler.getModItem("GalaxySpace", "item.GlowstoneDusts", 1L)); } }