diff --git a/Core/pom.xml b/Core/pom.xml index 4484a962..e2318d98 100644 --- a/Core/pom.xml +++ b/Core/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../ diff --git a/Core/src/main/java/com/songoda/core/SongodaCore.java b/Core/src/main/java/com/songoda/core/SongodaCore.java index 6e1a5fd6..852909a6 100644 --- a/Core/src/main/java/com/songoda/core/SongodaCore.java +++ b/Core/src/main/java/com/songoda/core/SongodaCore.java @@ -54,7 +54,7 @@ public class SongodaCore { /** * This has been added as of Rev 6 */ - private final static String coreVersion = "2.4.16"; + private final static String coreVersion = "2.4.17"; /** * This is specific to the website api diff --git a/Core/src/main/java/com/songoda/core/compatibility/CompatibleMaterial.java b/Core/src/main/java/com/songoda/core/compatibility/CompatibleMaterial.java index dec1c2b4..43c2ae2c 100644 --- a/Core/src/main/java/com/songoda/core/compatibility/CompatibleMaterial.java +++ b/Core/src/main/java/com/songoda/core/compatibility/CompatibleMaterial.java @@ -1833,6 +1833,162 @@ public enum CompatibleMaterial { } } + /** + * Get the result of putting this item + * into a furnace. + * + * return + */ + public CompatibleMaterial getBurnResult() { + switch (this) { + case PORKCHOP: + return COOKED_PORKCHOP; + case BEEF: + return COOKED_BEEF; + case CHICKEN: + return COOKED_CHICKEN; + case COD: + return COOKED_COD; + case SALMON: + return COOKED_SALMON; + case POTATO: + return BAKED_POTATO; + case MUTTON: + return COOKED_MUTTON; + case RABBIT: + return COOKED_RABBIT; + case KELP: + return DRIED_KELP; + case IRON_ORE: + return IRON_INGOT; + case GOLD_ORE: + return GOLD_INGOT; + case DIAMOND_ORE: + return DIAMOND; + case LAPIS_ORE: + return LAPIS_LAZULI; + case REDSTONE_ORE: + return REDSTONE; + case COAL_ORE: + return COAL; + case EMERALD_ORE: + return EMERALD; + case NETHER_QUARTZ_ORE: + return QUARTZ; + case SAND: + case RED_SAND: + return GLASS; + case COBBLESTONE: + return STONE; + case SANDSTONE: + return SMOOTH_SANDSTONE; + case RED_SANDSTONE: + return SMOOTH_RED_SANDSTONE; + case STONE: + return SMOOTH_STONE; + case QUARTZ_BLOCK: + return SMOOTH_QUARTZ; + case CLAY_BALL: + return BRICK; + case NETHERRACK: + return NETHER_BRICK; + case CLAY: + return BRICKS; + case STONE_BRICKS: + return CRACKED_STONE_BRICKS; + case WHITE_TERRACOTTA: + return WHITE_GLAZED_TERRACOTTA; + case ORANGE_TERRACOTTA: + return ORANGE_GLAZED_TERRACOTTA; + case MAGENTA_TERRACOTTA: + return MAGENTA_GLAZED_TERRACOTTA; + case LIGHT_BLUE_TERRACOTTA: + return LIGHT_BLUE_GLAZED_TERRACOTTA; + case YELLOW_TERRACOTTA: + return YELLOW_GLAZED_TERRACOTTA; + case LIME_TERRACOTTA: + return LIME_GLAZED_TERRACOTTA; + case PINK_TERRACOTTA: + return PINK_GLAZED_TERRACOTTA; + case GRAY_TERRACOTTA: + return GRAY_GLAZED_TERRACOTTA; + case LIGHT_GRAY_TERRACOTTA: + return LIGHT_GRAY_GLAZED_TERRACOTTA; + case CYAN_TERRACOTTA: + return CYAN_GLAZED_TERRACOTTA; + case PURPLE_TERRACOTTA: + return PURPLE_GLAZED_TERRACOTTA; + case BLUE_TERRACOTTA: + return BLUE_GLAZED_TERRACOTTA; + case BROWN_TERRACOTTA: + return BROWN_GLAZED_TERRACOTTA; + case GREEN_TERRACOTTA: + return GREEN_GLAZED_TERRACOTTA; + case RED_TERRACOTTA: + return RED_GLAZED_TERRACOTTA; + case BLACK_TERRACOTTA: + return BLACK_GLAZED_TERRACOTTA; + case IRON_SWORD: + case IRON_PICKAXE: + case IRON_AXE: + case IRON_SHOVEL: + case IRON_HOE: + case IRON_HELMET: + case IRON_CHESTPLATE: + case IRON_LEGGINGS: + case IRON_BOOTS: + case IRON_HORSE_ARMOR: + case CHAINMAIL_HELMET: + case CHAINMAIL_CHESTPLATE: + case CHAINMAIL_LEGGINGS: + case CHAINMAIL_BOOTS: + return IRON_NUGGET; + case GOLDEN_SWORD: + case GOLDEN_PICKAXE: + case GOLDEN_AXE: + case GOLDEN_SHOVEL: + case GOLDEN_HOE: + case GOLDEN_HELMET: + case GOLDEN_CHESTPLATE: + case GOLDEN_LEGGINGS: + case GOLDEN_BOOTS: + case GOLDEN_HORSE_ARMOR: + return GOLD_NUGGET; + case CACTUS: + return GREEN_DYE; + case SEA_PICKLE: + return LIME_DYE; + case OAK_LOG: + case BIRCH_LOG: + case ACACIA_LOG: + case DARK_OAK_LOG: + case JUNGLE_LOG: + case SPRUCE_LOG: + case STRIPPED_ACACIA_LOG: + case STRIPPED_BIRCH_LOG: + case STRIPPED_DARK_OAK_LOG: + case STRIPPED_JUNGLE_LOG: + case STRIPPED_OAK_LOG: + case STRIPPED_SPRUCE_LOG: + case ACACIA_WOOD: + case BIRCH_WOOD: + case JUNGLE_WOOD: + case OAK_WOOD: + case SPRUCE_WOOD: + case STRIPPED_ACACIA_WOOD: + case STRIPPED_BIRCH_WOOD: + case STRIPPED_DARK_OAK_WOOD: + case STRIPPED_JUNGLE_WOOD: + case STRIPPED_OAK_WOOD: + case STRIPPED_SPRUCE_WOOD: + return CHARCOAL; + case CHORUS_FRUIT: + return POPPED_CHORUS_FRUIT; + default: + return null; + } + } + /** * Check if the material is air * diff --git a/NMS/NMS-API/pom.xml b/NMS/NMS-API/pom.xml index 538f3836..bb8b5393 100644 --- a/NMS/NMS-API/pom.xml +++ b/NMS/NMS-API/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_10_R1/pom.xml b/NMS/NMS-v1_10_R1/pom.xml index bcbbfdf9..bf7827ac 100644 --- a/NMS/NMS-v1_10_R1/pom.xml +++ b/NMS/NMS-v1_10_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_11_R1/pom.xml b/NMS/NMS-v1_11_R1/pom.xml index 04302326..4a9b4cc3 100644 --- a/NMS/NMS-v1_11_R1/pom.xml +++ b/NMS/NMS-v1_11_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_12_R1/pom.xml b/NMS/NMS-v1_12_R1/pom.xml index c1a5ea66..5a5b75d0 100644 --- a/NMS/NMS-v1_12_R1/pom.xml +++ b/NMS/NMS-v1_12_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_13_R1/pom.xml b/NMS/NMS-v1_13_R1/pom.xml index 2a0ae7b0..956306ad 100644 --- a/NMS/NMS-v1_13_R1/pom.xml +++ b/NMS/NMS-v1_13_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_13_R2/pom.xml b/NMS/NMS-v1_13_R2/pom.xml index a7433220..11bf888d 100644 --- a/NMS/NMS-v1_13_R2/pom.xml +++ b/NMS/NMS-v1_13_R2/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_14_R1/pom.xml b/NMS/NMS-v1_14_R1/pom.xml index 82c52a91..50d64a5d 100644 --- a/NMS/NMS-v1_14_R1/pom.xml +++ b/NMS/NMS-v1_14_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_15_R1/pom.xml b/NMS/NMS-v1_15_R1/pom.xml index a5949b3b..71249f93 100644 --- a/NMS/NMS-v1_15_R1/pom.xml +++ b/NMS/NMS-v1_15_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_16_R1/pom.xml b/NMS/NMS-v1_16_R1/pom.xml index 094d97ae..f54675ab 100644 --- a/NMS/NMS-v1_16_R1/pom.xml +++ b/NMS/NMS-v1_16_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_16_R2/pom.xml b/NMS/NMS-v1_16_R2/pom.xml index b5eabacd..b0e56ead 100644 --- a/NMS/NMS-v1_16_R2/pom.xml +++ b/NMS/NMS-v1_16_R2/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_8_R1/pom.xml b/NMS/NMS-v1_8_R1/pom.xml index da5b0f89..d0097746 100644 --- a/NMS/NMS-v1_8_R1/pom.xml +++ b/NMS/NMS-v1_8_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_8_R2/pom.xml b/NMS/NMS-v1_8_R2/pom.xml index e506d3fe..043a1274 100644 --- a/NMS/NMS-v1_8_R2/pom.xml +++ b/NMS/NMS-v1_8_R2/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_8_R3/pom.xml b/NMS/NMS-v1_8_R3/pom.xml index 00d64329..70460a99 100644 --- a/NMS/NMS-v1_8_R3/pom.xml +++ b/NMS/NMS-v1_8_R3/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_9_R1/pom.xml b/NMS/NMS-v1_9_R1/pom.xml index bf7fe167..4c397ee2 100644 --- a/NMS/NMS-v1_9_R1/pom.xml +++ b/NMS/NMS-v1_9_R1/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../ diff --git a/NMS/NMS-v1_9_R2/pom.xml b/NMS/NMS-v1_9_R2/pom.xml index adee10ed..1aadb1d5 100644 --- a/NMS/NMS-v1_9_R2/pom.xml +++ b/NMS/NMS-v1_9_R2/pom.xml @@ -3,7 +3,7 @@ com.songoda SongodaCore-Modules - 2.4.16 + 2.4.17 ../../