diff options
| author | 2024-01-10 17:41:07 +0100 | |
|---|---|---|
| committer | 2024-01-10 17:41:07 +0100 | |
| commit | 000b84e87eaedb94fb87ccb11e376c51f99a1d07 (patch) | |
| tree | dd9519e7dadf613a71e01b04cac7be9c121a9f18 /src/main/resources/data | |
| parent | Move out common chest logic to separate files also in client code (diff) | |
| download | mc-eris-alchemy-000b84e87eaedb94fb87ccb11e376c51f99a1d07.tar.gz mc-eris-alchemy-000b84e87eaedb94fb87ccb11e376c51f99a1d07.tar.xz mc-eris-alchemy-000b84e87eaedb94fb87ccb11e376c51f99a1d07.zip | |
Added Energy Condenser
Diffstat (limited to 'src/main/resources/data')
3 files changed, 46 insertions, 1 deletions
diff --git a/src/main/resources/data/eris_alchemy/loot_tables/blocks/energy_condenser.json b/src/main/resources/data/eris_alchemy/loot_tables/blocks/energy_condenser.json new file mode 100644 index 0000000..07e2f55 --- /dev/null +++ b/src/main/resources/data/eris_alchemy/loot_tables/blocks/energy_condenser.json | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | { | ||
| 2 | "type": "minecraft:block", | ||
| 3 | "pools": [{ | ||
| 4 | "rolls": 1, | ||
| 5 | "entries": [{ | ||
| 6 | "type": "minecraft:item", | ||
| 7 | "name": "eris_alchemy:energy_condenser", | ||
| 8 | "functions": [{ | ||
| 9 | "function": "minecraft:copy_nbt", | ||
| 10 | "source": "block_entity", | ||
| 11 | "ops": [{ | ||
| 12 | "op": "replace", | ||
| 13 | "source": "stored_emc", | ||
| 14 | "target": "BlockEntityTag.stored_emc" | ||
| 15 | }] | ||
| 16 | }] | ||
| 17 | }], | ||
| 18 | "conditions": [{ | ||
| 19 | "condition": "minecraft:survives_explosion" | ||
| 20 | }] | ||
| 21 | }] | ||
| 22 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/eris_alchemy/recipes/energy_condenser.json b/src/main/resources/data/eris_alchemy/recipes/energy_condenser.json new file mode 100644 index 0000000..55c04bf --- /dev/null +++ b/src/main/resources/data/eris_alchemy/recipes/energy_condenser.json | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | { | ||
| 2 | "type": "crafting_shaped", | ||
| 3 | "pattern": [ | ||
| 4 | "ODO", | ||
| 5 | "DCD", | ||
| 6 | "ODO" | ||
| 7 | ], | ||
| 8 | "key": { | ||
| 9 | "O": { | ||
| 10 | "item": "obsidian" | ||
| 11 | }, | ||
| 12 | "D": { | ||
| 13 | "item": "diamond" | ||
| 14 | }, | ||
| 15 | "C": { | ||
| 16 | "item": "eris_alchemy:alchemical_chest" | ||
| 17 | } | ||
| 18 | }, | ||
| 19 | "result": { | ||
| 20 | "item": "eris_alchemy:energy_condenser" | ||
| 21 | } | ||
| 22 | } \ No newline at end of file | ||
diff --git a/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json b/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json index 27c0b6d..958cc31 100644 --- a/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json +++ b/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | { | 1 | { |
| 2 | "replace": false, | 2 | "replace": false, |
| 3 | "values": [ | 3 | "values": [ |
| 4 | "eris_alchemy:alchemical_chest" | 4 | "eris_alchemy:alchemical_chest", |
| 5 | "eris_alchemy:energy_condenser" | ||
| 5 | ] | 6 | ] |
| 6 | } \ No newline at end of file | 7 | } \ No newline at end of file |