Permalink
Browse files

Added the StainedClay -> Terracotta as a possible smelt target.

  • Loading branch information...
me4502 committed Jul 8, 2017
1 parent 944b904 commit eb9fc4ef3273a0298ab690e561a2fc69b9e5d175
Showing with 35 additions and 0 deletions.
  1. +35 −0 src/main/java/com/sk89q/craftbook/util/ItemUtil.java
@@ -489,6 +489,41 @@ public static ItemStack getSmeletedResult(ItemStack item) {
if (item.getData().getData() == 0)
return null;
else return new ItemStack(Material.SPONGE);
case STAINED_CLAY:
switch(item.getData().getData()) {
case 0:
return new ItemStack(Material.WHITE_GLAZED_TERRACOTTA);
case 1:
return new ItemStack(Material.ORANGE_GLAZED_TERRACOTTA);
case 2:
return new ItemStack(Material.MAGENTA_GLAZED_TERRACOTTA);
case 3:
return new ItemStack(Material.LIGHT_BLUE_GLAZED_TERRACOTTA);
case 4:
return new ItemStack(Material.YELLOW_GLAZED_TERRACOTTA);
case 5:
return new ItemStack(Material.LIME_GLAZED_TERRACOTTA);
case 6:
return new ItemStack(Material.PINK_GLAZED_TERRACOTTA);
case 7:
return new ItemStack(Material.GRAY_GLAZED_TERRACOTTA);
case 8:
return new ItemStack(Material.SILVER_GLAZED_TERRACOTTA);
case 9:
return new ItemStack(Material.CYAN_GLAZED_TERRACOTTA);
case 10:
return new ItemStack(Material.PURPLE_GLAZED_TERRACOTTA);
case 11:
return new ItemStack(Material.BLUE_GLAZED_TERRACOTTA);
case 12:
return new ItemStack(Material.BROWN_GLAZED_TERRACOTTA);
case 13:
return new ItemStack(Material.GREEN_GLAZED_TERRACOTTA);
case 14:
return new ItemStack(Material.RED_GLAZED_TERRACOTTA);
case 15:
return new ItemStack(Material.BLACK_GLAZED_TERRACOTTA);
}
default:
return null;
}

0 comments on commit eb9fc4e

Please sign in to comment.