From 6f05db465b91cdf3bc740dc7bc702fb7c6b4a380 Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 24 Jun 2021 22:12:23 +0200 Subject: [PATCH] Added recipes and loot table entries for some of the food items --- .../data/unicopia/recipes/burned_juice.json | 9 +++++ .../data/unicopia/recipes/cider.json | 23 ++++++++++++ .../data/unicopia/recipes/juice.json | 18 ++++++++++ .../resources/data/unicopia/recipes/mug.json | 17 +++++++++ .../loot_tables/blocks/course_dirt.json | 36 +++++++++++++++++++ .../unicopiamc/loot_tables/blocks/dirt.json | 36 +++++++++++++++++++ .../loot_tables/blocks/grass_block.json | 36 +++++++++++++++++++ .../loot_tables/blocks/mycelium.json | 36 +++++++++++++++++++ .../unicopiamc/loot_tables/blocks/podzol.json | 36 +++++++++++++++++++ 9 files changed, 247 insertions(+) create mode 100644 src/main/resources/data/unicopia/recipes/burned_juice.json create mode 100644 src/main/resources/data/unicopia/recipes/cider.json create mode 100644 src/main/resources/data/unicopia/recipes/juice.json create mode 100644 src/main/resources/data/unicopia/recipes/mug.json create mode 100644 src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json create mode 100644 src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json create mode 100644 src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json create mode 100644 src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json create mode 100644 src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json diff --git a/src/main/resources/data/unicopia/recipes/burned_juice.json b/src/main/resources/data/unicopia/recipes/burned_juice.json new file mode 100644 index 00000000..22ddf879 --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/burned_juice.json @@ -0,0 +1,9 @@ +{ + "type": "smelting", + "ingredient": { + "item": "unicopia:juice" + }, + "result": "unicopia:burned_juice", + "experience": 0, + "cookingtime": 100 +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/recipes/cider.json b/src/main/resources/data/unicopia/recipes/cider.json new file mode 100644 index 00000000..2fbe7a94 --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/cider.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "SBS", + "NAN", + " S " + ], + "key": { + "S": [ + { "item": "minecraft:stick" } + ], + "B": [ + { "item": "unicopia:burned_juice" } + ], + "N": [ + { "item": "minecraft:iron_nugget" } + ], + "A": [ + { "tag": "unicopia:fresh_apples" } + ] + }, + "result": { "item": "unicopia:cider" } +} diff --git a/src/main/resources/data/unicopia/recipes/juice.json b/src/main/resources/data/unicopia/recipes/juice.json new file mode 100644 index 00000000..e8bed46c --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/juice.json @@ -0,0 +1,18 @@ +{ + "type": "minecraft:crafting_shaped", + + "pattern": [ + "AAA", + "AAA", + " B " + ], + "key": { + "B": [ + { "item": "minecraft:glass_bottle" } + ], + "A": [ + { "tag": "unicopia:fresh_apples" } + ] + }, + "result": { "item": "unicopia:juice" } +} diff --git a/src/main/resources/data/unicopia/recipes/mug.json b/src/main/resources/data/unicopia/recipes/mug.json new file mode 100644 index 00000000..55404f71 --- /dev/null +++ b/src/main/resources/data/unicopia/recipes/mug.json @@ -0,0 +1,17 @@ +{ + "type": "minecraft:crafting_shaped", + "pattern": [ + "# #", + "* *", + " # " + ], + "key": { + "#": [ + { "item": "minecraft:stick" } + ], + "*": [ + { "item": "minecraft:iron_nugget" } + ] + }, + "result": { "item": "unicopia:mug" } +} diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json new file mode 100644 index 00000000..5132660e --- /dev/null +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/course_dirt.json @@ -0,0 +1,36 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.05, 0.052222223, 0.055, 0.066666665, 0.1 + ] + } + ], + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "unicopia:wheat_worms" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json new file mode 100644 index 00000000..5132660e --- /dev/null +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/dirt.json @@ -0,0 +1,36 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.05, 0.052222223, 0.055, 0.066666665, 0.1 + ] + } + ], + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "unicopia:wheat_worms" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json new file mode 100644 index 00000000..5132660e --- /dev/null +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/grass_block.json @@ -0,0 +1,36 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.05, 0.052222223, 0.055, 0.066666665, 0.1 + ] + } + ], + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "unicopia:wheat_worms" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json new file mode 100644 index 00000000..5132660e --- /dev/null +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/mycelium.json @@ -0,0 +1,36 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.05, 0.052222223, 0.055, 0.066666665, 0.1 + ] + } + ], + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "unicopia:wheat_worms" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json b/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json new file mode 100644 index 00000000..5132660e --- /dev/null +++ b/src/main/resources/data/unicopiamc/loot_tables/blocks/podzol.json @@ -0,0 +1,36 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "conditions": [ + { + "condition": "minecraft:table_bonus", + "enchantment": "minecraft:fortune", + "chances": [ + 0.05, 0.052222223, 0.055, 0.066666665, 0.1 + ] + } + ], + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1.0, + "max": 2.0, + "type": "minecraft:uniform" + } + }, + { + "function": "minecraft:explosion_decay" + } + ], + "name": "unicopia:wheat_worms" + } + ] + } + ] +} \ No newline at end of file