summaryrefslogtreecommitdiffstats
path: root/src/CraftingRecipes.h
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-07-15 22:31:48 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-07-15 22:31:48 +0200
commit8b74adcfab2a39b8d663f9ebc21cc4cde42761ef (patch)
treebbb45c47667db874f73f57fd8fa55bac4f5f72c4 /src/CraftingRecipes.h
parentMerge pull request #2350 from SamJBarney/PeonySnowFix (diff)
parentLeather Armor can now be dyed. (diff)
downloadcuberite-8b74adcfab2a39b8d663f9ebc21cc4cde42761ef.tar
cuberite-8b74adcfab2a39b8d663f9ebc21cc4cde42761ef.tar.gz
cuberite-8b74adcfab2a39b8d663f9ebc21cc4cde42761ef.tar.bz2
cuberite-8b74adcfab2a39b8d663f9ebc21cc4cde42761ef.tar.lz
cuberite-8b74adcfab2a39b8d663f9ebc21cc4cde42761ef.tar.xz
cuberite-8b74adcfab2a39b8d663f9ebc21cc4cde42761ef.tar.zst
cuberite-8b74adcfab2a39b8d663f9ebc21cc4cde42761ef.zip
Diffstat (limited to 'src/CraftingRecipes.h')
-rw-r--r--src/CraftingRecipes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CraftingRecipes.h b/src/CraftingRecipes.h
index 44444d42e..778dd495a 100644
--- a/src/CraftingRecipes.h
+++ b/src/CraftingRecipes.h
@@ -168,6 +168,9 @@ protected:
/** Searches for anything firework related, and does the data setting if appropriate */
void HandleFireworks(const cItem * a_CraftingGrid, cCraftingRecipes::cRecipe * a_Recipe, int a_GridStride, int a_OffsetX, int a_OffsetY);
+
+ /// Searches for anything dye related for leather, calculates the appropriate color value, and sets the resulting value.
+ void HandleDyedLeather(const cItem * a_CraftingGrid, cCraftingRecipes::cRecipe * a_Recipe, int a_GridStride, int a_GridWidth, int a_GridHeight);
} ;