2015-08-29 14:33:25 +02:00
|
|
|
|
/*
|
|
|
|
|
* This file ("ConfigCrafting.java") is part of the Actually Additions Mod for Minecraft.
|
|
|
|
|
* It is created and owned by Ellpeck and distributed
|
|
|
|
|
* under the Actually Additions License to be found at
|
|
|
|
|
* http://github.com/Ellpeck/ActuallyAdditions/blob/master/README.md
|
|
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
|
*
|
|
|
|
|
* <EFBFBD> 2015 Ellpeck
|
|
|
|
|
*/
|
|
|
|
|
|
2015-04-24 19:22:03 +02:00
|
|
|
|
package ellpeck.actuallyadditions.config.values;
|
|
|
|
|
|
|
|
|
|
import ellpeck.actuallyadditions.config.ConfigCategories;
|
|
|
|
|
|
|
|
|
|
public enum ConfigCrafting{
|
|
|
|
|
|
|
|
|
|
COMPOST("Compost", ConfigCategories.BLOCKS_CRAFTING),
|
2015-08-26 17:14:07 +02:00
|
|
|
|
CLOUD("Smiley Cloud", ConfigCategories.BLOCKS_CRAFTING),
|
2015-07-17 22:49:00 +02:00
|
|
|
|
XP_SOLIDIFIER("Experience Solidifier", ConfigCategories.BLOCKS_CRAFTING),
|
2015-04-24 19:22:03 +02:00
|
|
|
|
WOOD_CASING("Wood Casing", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
STONE_CASING("Stone Casing", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
FISHING_NET("Fishing Net", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
REPAIRER("Repairer", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
SOLAR_PANEL("Solar Panel", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
HEAT_COLLECTOR("Heat Collector", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
INPUTTER("ESD", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
CRUSHER("Crusher", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
DOUBLE_CRUSHER("Double Crusher", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
DOUBLE_FURNACE("Double Furnace", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
FEEDER("Feeder", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
GIANT_CHEST("Storage Crate", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
GREENHOUSE_GLASS("Greenhouse Glass", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
BREAKER("Breaker", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
PLACER("Placer", ConfigCategories.BLOCKS_CRAFTING),
|
2015-05-04 17:26:50 +02:00
|
|
|
|
DROPPER("Dropper", ConfigCategories.BLOCKS_CRAFTING),
|
2015-04-24 19:22:03 +02:00
|
|
|
|
SPEED_UPGRADE("Speed Upgrade", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
BAGUETTE("Baguette", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
PIZZA("Pizza", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
HAMBURGER("Hamburger", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
BIG_COOKIE("Big Cookie", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
SUB("Sub Sandwich", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
FRENCH_FRY("French Fry", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
FRENCH_FRIES("French Fries", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
FISH_N_CHIPS("Fish And Chips", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
CHEESE("Cheese", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
PUMPKIN_STEW("Pumpkin Stew", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
CARROT_JUICE("Carrot Juice", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
SPAGHETTI("Spaghetti", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
NOODLE("Noodle", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
CHOCOLATE("Chocolate", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
CHOCOLATE_CAKE("Chocolate Cake", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
TOAST("Toast", ConfigCategories.FOOD_CRAFTING),
|
2015-10-24 21:20:27 +02:00
|
|
|
|
CHOCOLATE_TOAST("Chocolate Toast", ConfigCategories.FOOD_CRAFTING),
|
2015-04-24 19:22:03 +02:00
|
|
|
|
|
|
|
|
|
LEAF_BLOWER("Leaf Blower", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
LEAF_BLOWER_ADVANCED("Advanced Leaf Blower", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
COIL("Coil", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
ADV_COIL("Advanced Coil", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
KNIFE("Knife", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
STICK_CRAFTER("Crafting Table On A Stick", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
MASHED_FOOD("Mashed Food", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
RING_SPEED("Speed Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
RING_HASTE("Haste Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
RING_STRENGTH("Strength Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
RING_JUMP_BOOST("Jump Boost Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
RING_REGEN("Regen Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
RING_RESISTANCE("Resistance Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
RING_FIRE_RESISTANCE("Fire Resistance Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
RING_WATER_BREATHING("Water Breathing Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
RING_INVISIBILITY("Invisibility Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
RING_NIGHT_VISION("Night Vision Ring", ConfigCategories.POTION_RING_CRAFTING),
|
|
|
|
|
|
|
|
|
|
DOUGH("Dough", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
PAPER_CONE("Paper Cone", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
KNIFE_HANDLE("Knife Handle", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
KNIFE_BLADE("Knife Blade", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
TOOL_EMERALD("Emerald Tools", ConfigCategories.ITEMS_CRAFTING),
|
2015-05-20 22:39:43 +02:00
|
|
|
|
TOOL_OBSIDIAN("Obsidian Tools", ConfigCategories.ITEMS_CRAFTING),
|
2015-08-02 07:18:27 +02:00
|
|
|
|
TOOL_QUARTZ("Obsidian Tools", ConfigCategories.ITEMS_CRAFTING),
|
2015-05-20 22:39:43 +02:00
|
|
|
|
RICE_BREAD("Rice Bread", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
RICE_DOUGH("Rice Dough", ConfigCategories.FOOD_CRAFTING),
|
|
|
|
|
|
|
|
|
|
RICE_GADGETS("Rice Gadgets", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
RESONANT_RICE("Resonant Rice", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
CANOLA_PRESS("Canola Press", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
FERMENTING_BARREL("Fermenting Barrel", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
COAL_GENERATOR("Coal Generator", ConfigCategories.BLOCKS_CRAFTING),
|
2015-10-01 12:11:38 +02:00
|
|
|
|
LEAF_GENERATOR("Leaf Generator", ConfigCategories.BLOCKS_CRAFTING),
|
2015-05-20 22:39:43 +02:00
|
|
|
|
OIL_GENERATOR("Oil Generator", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
PHANTOMFACE("Phantomface", ConfigCategories.BLOCKS_CRAFTING),
|
2015-05-30 17:47:57 +02:00
|
|
|
|
PHANTOM_CONNECTOR("Phantom Connector", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
PHANTOM_ENERGYFACE("Phantom Energyface", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
PHANTOM_LIQUIFACE("Phantom Liquiface", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
PHANTOM_PLACER("Phantom Placer", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
PHANTOM_BREAKER("Phantom Breaker", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
LIQUID_PLACER("Liquid Placer", ConfigCategories.BLOCKS_CRAFTING),
|
2015-06-12 19:12:06 +02:00
|
|
|
|
LIQUID_BREAKER("Liquid Collector", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
CUP("Cup", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
PAXELS("Paxels", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
|
2015-07-12 22:05:34 +02:00
|
|
|
|
|
2015-06-12 19:12:06 +02:00
|
|
|
|
ENDER_CASING("Ender Casing", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
PHANTOM_BOOSTER("Phantom Booster", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
COFFEE_MACHINE("Coffee Machine", ConfigCategories.BLOCKS_CRAFTING),
|
2015-06-21 02:28:49 +02:00
|
|
|
|
LAVA_FACTORY("Lava Factory", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
DRILL("Drill", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
DRILL_SPEED("Drill Speed Upgrades", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
DRILL_FORTUNE("Drill Fortune Upgrades", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
DRILL_SIZE("Drill Size Upgrades", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
DRILL_PLACING("Drill Placing Upgrade", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
DRILL_SILK_TOUCH("Drill Silk Touch Upgrade", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
BATTERY("Battery", ConfigCategories.ITEMS_CRAFTING),
|
2015-07-17 22:49:00 +02:00
|
|
|
|
DOUBLE_BATTERY("Double Battery", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
TRIPLE_BATTERY("Triple Battery", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
QUADRUPLE_BATTERY("Quadruple Battery", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
QUINTUPLE_BATTERY("Quintuple Battery", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
BAT_WINGS("Wings Of The Bats", ConfigCategories.ITEMS_CRAFTING),
|
2015-06-21 02:28:49 +02:00
|
|
|
|
|
|
|
|
|
ENERGIZER("Energizer", ConfigCategories.BLOCKS_CRAFTING),
|
2015-07-01 18:14:21 +02:00
|
|
|
|
ENERVATOR("Enervator", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
|
2015-07-17 11:17:55 +02:00
|
|
|
|
QUARTZ("Black Quartz in a Crafting Table", ConfigCategories.ITEMS_CRAFTING),
|
2015-07-02 11:44:41 +02:00
|
|
|
|
LAMPS("Lamps", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
REDSTONE("Redstone Ore -> Redstone", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
|
|
|
|
LAPIS("Lapis Ore -> Lapis", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
|
|
|
|
COAL("Coal -> Coal Dust", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
2015-07-15 05:59:22 +02:00
|
|
|
|
COAL_ORE("Coal Ore -> Coal", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
2015-07-02 11:44:41 +02:00
|
|
|
|
COAL_BLOCKS("Coal Block -> Coal Dust", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
2015-10-03 22:09:53 +02:00
|
|
|
|
QUARTZ_ORE("Quartz Ore -> Quartz", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
2015-07-02 11:44:41 +02:00
|
|
|
|
COBBLESTONE("Cobblestone -> Sand", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
|
|
|
|
GRAVEL("Gravel -> Flint", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
|
|
|
|
STONE("Stone -> Cobblestone", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
|
|
|
|
RICE_SUGAR("Rice -> Sugar", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
|
|
|
|
NICKEL("Nickel Ore -> Nickel Dust + Platinum Dust", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
2015-07-07 21:59:57 +02:00
|
|
|
|
IRON("Iron Ore -> Iron Dust + Gold Dust", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
2015-10-05 11:27:53 +02:00
|
|
|
|
HORSE_ARMORS("Horse Armor -> Raw Materials", ConfigCategories.CRUSHER_RECIPES, "Crusher"),
|
2015-07-07 21:59:57 +02:00
|
|
|
|
|
2015-08-01 01:30:50 +02:00
|
|
|
|
TELE_STAFF("Tele Staff", ConfigCategories.ITEMS_CRAFTING),
|
2015-08-02 07:18:27 +02:00
|
|
|
|
CASING("Casing", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
ORE_MAGNET("Ore Magnet", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
MAGNET_RING("Magnet Ring", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
WATER_RING("Water Ring", ConfigCategories.ITEMS_CRAFTING),
|
2015-10-05 19:55:28 +02:00
|
|
|
|
GROWTH_RING("Growth Ring", ConfigCategories.ITEMS_CRAFTING),
|
2015-10-10 03:39:42 +02:00
|
|
|
|
DIRECTIONAL_BREAKER("Long-Range Breaker", ConfigCategories.BLOCKS_CRAFTING),
|
2015-10-28 20:35:39 +01:00
|
|
|
|
RANGED_COLLECTOR("Ranged Collector", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
LASER_RELAY("Laser Relay", ConfigCategories.BLOCKS_CRAFTING),
|
|
|
|
|
LASER_WRENCH("Laser Wrench", ConfigCategories.ITEMS_CRAFTING),
|
|
|
|
|
|
|
|
|
|
CHEST_TO_CRATE_UPGRADE("Chest To Crate Upgrade", ConfigCategories.ITEMS_CRAFTING);
|
2015-04-24 19:22:03 +02:00
|
|
|
|
|
|
|
|
|
public final String name;
|
|
|
|
|
public final String category;
|
|
|
|
|
public final boolean defaultValue;
|
2015-07-02 11:44:41 +02:00
|
|
|
|
public final String extraText;
|
2015-04-24 19:22:03 +02:00
|
|
|
|
|
2015-07-01 16:32:21 +02:00
|
|
|
|
public boolean currentValue;
|
|
|
|
|
|
2015-04-24 19:22:03 +02:00
|
|
|
|
ConfigCrafting(String name, ConfigCategories category){
|
|
|
|
|
this(name, category, true);
|
|
|
|
|
}
|
|
|
|
|
|
2015-10-03 10:19:40 +02:00
|
|
|
|
ConfigCrafting(String name, ConfigCategories category, boolean defaultValue){
|
|
|
|
|
this(name, category, "", defaultValue);
|
2015-07-02 11:44:41 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ConfigCrafting(String name, ConfigCategories category, String extraText, boolean defaultValue){
|
2015-04-24 19:22:03 +02:00
|
|
|
|
this.name = name;
|
|
|
|
|
this.category = category.name;
|
|
|
|
|
this.defaultValue = defaultValue;
|
2015-10-02 16:48:01 +02:00
|
|
|
|
this.extraText = extraText.length() > 0 ? extraText+" " : "";
|
2015-07-02 11:44:41 +02:00
|
|
|
|
}
|
|
|
|
|
|
2015-10-03 10:19:40 +02:00
|
|
|
|
ConfigCrafting(String name, ConfigCategories category, String extraText){
|
|
|
|
|
this(name, category, extraText, true);
|
2015-04-24 19:22:03 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean isEnabled(){
|
2015-07-01 16:32:21 +02:00
|
|
|
|
return this.currentValue;
|
2015-04-24 19:22:03 +02:00
|
|
|
|
}
|
|
|
|
|
}
|