diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-01 22:25:01 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-03-09 13:48:53 +0100 |
commit | 217aaca699cf1fa85740da4d1f0b71d4b8d806d7 (patch) | |
tree | 5a0118e453c6b13342f1a04019cf73ba60f4cd96 /src/CraftingRecipes.h | |
parent | CheckBlockInteractionsRate() fixed & enabled (diff) | |
download | cuberite-217aaca699cf1fa85740da4d1f0b71d4b8d806d7.tar cuberite-217aaca699cf1fa85740da4d1f0b71d4b8d806d7.tar.gz cuberite-217aaca699cf1fa85740da4d1f0b71d4b8d806d7.tar.bz2 cuberite-217aaca699cf1fa85740da4d1f0b71d4b8d806d7.tar.lz cuberite-217aaca699cf1fa85740da4d1f0b71d4b8d806d7.tar.xz cuberite-217aaca699cf1fa85740da4d1f0b71d4b8d806d7.tar.zst cuberite-217aaca699cf1fa85740da4d1f0b71d4b8d806d7.zip |
Diffstat (limited to 'src/CraftingRecipes.h')
-rw-r--r-- | src/CraftingRecipes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CraftingRecipes.h b/src/CraftingRecipes.h index 9d92cbfab..90e41eddc 100644 --- a/src/CraftingRecipes.h +++ b/src/CraftingRecipes.h @@ -165,6 +165,9 @@ protected: /// Checks if the grid matches the specified recipe, offset by the specified offsets. Returns a matched cRecipe * if so, or NULL if not matching. Caller must delete the return value! cRecipe * MatchRecipe(const cItem * a_CraftingGrid, int a_GridWidth, int a_GridHeight, int a_GridStride, const cRecipe * a_Recipe, int a_OffsetX, int a_OffsetY); + + /** 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); } ; |