mirror of
https://github.com/GTNewHorizons/Advanced-Botany.git
synced 2026-11-24 22:04:43 +00:00
Error solved2
This commit is contained in:
1 parent
62cf59acbd
commit
74d78094a6
14 files changed
+60
-25
No files matched your search
@@ -10,8 +10,8 @@ import ab.common.lib.register.EntityListAB;
|
||||
import ab.common.lib.register.FlowerRegister;
|
||||
import ab.common.lib.register.ItemListAB;
|
||||
import ab.common.minetweaker.MineTweakerConfig;
|
||||
import ab.common.utils.CraftingManager;
|
||||
import ab.common.utils.ModHelperManager;
|
||||
import ab.utils.CraftingManager;
|
||||
import ab.utils.ModHelperManager;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||
|
||||
@@ -6,7 +6,7 @@ import net.minecraftforge.common.AchievementPage;
|
||||
|
||||
import ab.api.AchievementAB;
|
||||
import ab.api.AdvancedBotanyAPI;
|
||||
import ab.common.utils.*;
|
||||
import ab.utils.*;
|
||||
|
||||
public class AchievementRegister {
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ import ab.common.block.tile.TileNidavellirForge;
|
||||
import ab.common.core.handler.ConfigABHandler;
|
||||
import ab.common.item.block.ItemBlockBase;
|
||||
import ab.common.item.block.ItemBlockBoard;
|
||||
import ab.common.utils.*;
|
||||
import ab.utils.*;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
|
||||
public class BlockListAB {
|
||||
|
||||
@@ -7,7 +7,7 @@ import ab.common.entity.EntityManaVine;
|
||||
import ab.common.entity.EntityNebulaBlaze;
|
||||
import ab.common.entity.EntitySeed;
|
||||
import ab.common.entity.EntitySword;
|
||||
import ab.common.utils.*;
|
||||
import ab.utils.*;
|
||||
import cpw.mods.fml.common.registry.EntityRegistry;
|
||||
|
||||
public class EntityListAB {
|
||||
|
||||
@@ -9,7 +9,7 @@ import ab.common.block.subtile.SubTileArdentAzarcissus;
|
||||
import ab.common.block.subtile.SubTileAspecolus;
|
||||
import ab.common.block.subtile.SubTileDictarius;
|
||||
import ab.common.block.subtile.SubTilePureGladiolus;
|
||||
import ab.common.utils.*;
|
||||
import ab.utils.*;
|
||||
|
||||
public class FlowerRegister {
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ import ab.common.item.relic.ItemHornPlenty;
|
||||
import ab.common.item.relic.ItemPocketWardrobe;
|
||||
import ab.common.item.relic.ItemSphereNavigation;
|
||||
import ab.common.item.relic.ItemTalismanHiddenRiches;
|
||||
import ab.common.utils.*;
|
||||
import ab.utils.*;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
|
||||
public class ItemListAB {
|
||||
|
||||
@@ -3,7 +3,6 @@ package ab.common.lib.register;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import net.fuzzycraft.botanichorizons.util.OreDict;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.item.Item;
|
||||
@@ -53,9 +52,10 @@ import ab.api.recipe.lexicon.AlphirineCraftPage;
|
||||
import ab.common.block.tile.TileLebethronCore;
|
||||
import ab.common.core.handler.ConfigABHandler;
|
||||
import ab.common.item.ItemCraftingPattern;
|
||||
import ab.common.utils.*;
|
||||
import ab.common.utils.LocalizationManager;
|
||||
import ab.common.utils.VersionInfo;
|
||||
import ab.utils.*;
|
||||
import ab.utils.LocalizationManager;
|
||||
import ab.utils.OreDict;
|
||||
import ab.utils.VersionInfo;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
|
||||
public class RecipeListAB implements IModHelper {
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
package ab.common.utils;
|
||||
|
||||
public class VersionInfo {
|
||||
|
||||
public static final String ModID = "GRADLETOKEN_MODID";
|
||||
public static final String ModName = "GRADLETOKEN_MODNAME";
|
||||
public static final String Version = "GRADLETOKEN_VERSION";
|
||||
public static final String Depends = "required-after:Thaumcraft; ";
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package ab.common.utils;
|
||||
package ab.utils;
|
||||
|
||||
public class CraftingManager {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package ab.common.utils;
|
||||
package ab.utils;
|
||||
|
||||
public interface IModHelper {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package ab.common.utils;
|
||||
package ab.utils;
|
||||
|
||||
import net.minecraft.util.StatCollector;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package ab.common.utils;
|
||||
package ab.utils;
|
||||
|
||||
import ab.common.lib.register.RecipeListAB;
|
||||
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
package ab.utils;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
|
||||
import vazkii.botania.common.lib.LibOreDict;
|
||||
|
||||
public class OreDict {
|
||||
|
||||
public static final String[] FLOWER_INGREDIENT = new String[] { "flowerIngredientWhite", "flowerIngredientOrange",
|
||||
"flowerIngredientMagenta", "flowerIngredientLightBlue", "flowerIngredientYellow", "flowerIngredientLime",
|
||||
"flowerIngredientPink", "flowerIngredientGray", "flowerIngredientLightGray", "flowerIngredientCyan",
|
||||
"flowerIngredientPurple", "flowerIngredientBlue", "flowerIngredientBrown", "flowerIngredientGreen",
|
||||
"flowerIngredientRed", "flowerIngredientBlack" };
|
||||
|
||||
public static final String[] FLOWER_VANILLA = new String[] { "flowerWhite", "flowerOrange", "flowerMagenta",
|
||||
"flowerLightBlue", "flowerYellow", "flowerLime", "flowerPink", "flowerGray", "flowerLightGray",
|
||||
"flowerCyan", "flowerPurple", "flowerBlue", "flowerBrown", "flowerGreen", "flowerRed", "flowerBlack" };
|
||||
|
||||
public static final String GAIA_SPIRIT = LibOreDict.LIFE_ESSENCE;
|
||||
|
||||
public static final String MUSHROOM = "listMagicMushroom";
|
||||
|
||||
public static final String FLOWER_NONMAGICAL = "flowerNonmagical";
|
||||
|
||||
// GT Material references
|
||||
public static final String MANA_STEEL_PLATE = "plateManasteel";
|
||||
public static final String DENSE_MANA_STEEL_PLATE = "plateDenseManasteel";
|
||||
public static final String TERRA_STEEL_PLATE = "plateTerrasteel";
|
||||
public static final String DENSE_TERRA_STEEL_PLATE = "plateDenseTerrasteel";
|
||||
public static final String ELEMENTIUM_PLATE = "plateElvenElementium";
|
||||
public static final String DENSE_ELEMENTIUM_STEEL_PLATE = "plateDenseElvenElementium";
|
||||
|
||||
public static final ItemStack preference(String... oredictKeys) {
|
||||
for (String key : oredictKeys) {
|
||||
List<ItemStack> ores = OreDictionary.getOres(key);
|
||||
if (ores != null && ores.size() > 0) return ores.get(0);
|
||||
}
|
||||
throw new IllegalArgumentException("Can't find any oreDictionary entry among " + Arrays.toString(oredictKeys));
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package ab.common.utils;
|
||||
package ab.utils;
|
||||
|
||||
public class VersionInfo {
|
||||
|
||||
|
||||
Reference in new issue
Block a user