From 99a4ac4fb3afea0ea931bc0a2788d2d032146739 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Fri, 2 Sep 2016 11:36:28 -0400 Subject: [PATCH] Added a test loot table for later testing. Also fixed a small issue in the Routing Node documentation. --- .../compat/guideapi/book/CategoryDemon.java | 2 +- .../bloodmagic/loottables/bm_loot_table.json | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/assets/bloodmagic/loottables/bm_loot_table.json diff --git a/src/main/java/WayofTime/bloodmagic/compat/guideapi/book/CategoryDemon.java b/src/main/java/WayofTime/bloodmagic/compat/guideapi/book/CategoryDemon.java index 46596466..597e48fc 100644 --- a/src/main/java/WayofTime/bloodmagic/compat/guideapi/book/CategoryDemon.java +++ b/src/main/java/WayofTime/bloodmagic/compat/guideapi/book/CategoryDemon.java @@ -105,7 +105,7 @@ public class CategoryDemon { routingPages.add(new PageTartaricForgeRecipe(nodeRecipe)); } - TartaricForgeRecipe inputNodeRecipe = RecipeHelper.getForgeRecipeForOutput(new ItemStack(ModBlocks.itemRoutingNode)); + TartaricForgeRecipe inputNodeRecipe = RecipeHelper.getForgeRecipeForOutput(new ItemStack(ModBlocks.inputRoutingNode)); if (inputNodeRecipe != null) { routingPages.add(new PageTartaricForgeRecipe(inputNodeRecipe)); diff --git a/src/main/resources/assets/bloodmagic/loottables/bm_loot_table.json b/src/main/resources/assets/bloodmagic/loottables/bm_loot_table.json new file mode 100644 index 00000000..853a2c18 --- /dev/null +++ b/src/main/resources/assets/bloodmagic/loottables/bm_loot_table.json @@ -0,0 +1,20 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:stone", + "weight": 3, + "functions": [ + { + "function": "set_data", + "data": 0 + } + ] + } + ] + } + ] +} \ No newline at end of file