From 5e4ae44db46f90d57f86fde7ae3bbed765d32f8c Mon Sep 17 00:00:00 2001 From: Cynix32 <69455883+Cynix32@users.noreply.github.com> Date: Thu, 19 Aug 2021 13:54:26 +0800 Subject: [PATCH 1/2] Rearrange loot tables directory Put loot tables in proper directory and ensure item drops when breaking blocks --- .../data/storagetech/loot_tables/{ => blocks}/chemicaldrive.json | 0 .../storagetech/loot_tables/{ => blocks}/chemicalexporter.json | 0 .../data/storagetech/loot_tables/{ => blocks}/chemicalgrid.json | 0 .../storagetech/loot_tables/{ => blocks}/chemicalimporter.json | 0 .../data/storagetech/loot_tables/{ => blocks}/partscombiner.json | 0 .../data/storagetech/loot_tables/{ => blocks}/poeexporter.json | 0 .../data/storagetech/loot_tables/{ => blocks}/poefurnace.json | 0 .../data/storagetech/loot_tables/{ => blocks}/poeimporter.json | 0 .../loot_tables/{ => blocks}/structureconstructor.json | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename resources/data/storagetech/loot_tables/{ => blocks}/chemicaldrive.json (100%) rename resources/data/storagetech/loot_tables/{ => blocks}/chemicalexporter.json (100%) rename resources/data/storagetech/loot_tables/{ => blocks}/chemicalgrid.json (100%) rename resources/data/storagetech/loot_tables/{ => blocks}/chemicalimporter.json (100%) rename resources/data/storagetech/loot_tables/{ => blocks}/partscombiner.json (100%) rename resources/data/storagetech/loot_tables/{ => blocks}/poeexporter.json (100%) rename resources/data/storagetech/loot_tables/{ => blocks}/poefurnace.json (100%) rename resources/data/storagetech/loot_tables/{ => blocks}/poeimporter.json (100%) rename resources/data/storagetech/loot_tables/{ => blocks}/structureconstructor.json (100%) diff --git a/resources/data/storagetech/loot_tables/chemicaldrive.json b/resources/data/storagetech/loot_tables/blocks/chemicaldrive.json similarity index 100% rename from resources/data/storagetech/loot_tables/chemicaldrive.json rename to resources/data/storagetech/loot_tables/blocks/chemicaldrive.json diff --git a/resources/data/storagetech/loot_tables/chemicalexporter.json b/resources/data/storagetech/loot_tables/blocks/chemicalexporter.json similarity index 100% rename from resources/data/storagetech/loot_tables/chemicalexporter.json rename to resources/data/storagetech/loot_tables/blocks/chemicalexporter.json diff --git a/resources/data/storagetech/loot_tables/chemicalgrid.json b/resources/data/storagetech/loot_tables/blocks/chemicalgrid.json similarity index 100% rename from resources/data/storagetech/loot_tables/chemicalgrid.json rename to resources/data/storagetech/loot_tables/blocks/chemicalgrid.json diff --git a/resources/data/storagetech/loot_tables/chemicalimporter.json b/resources/data/storagetech/loot_tables/blocks/chemicalimporter.json similarity index 100% rename from resources/data/storagetech/loot_tables/chemicalimporter.json rename to resources/data/storagetech/loot_tables/blocks/chemicalimporter.json diff --git a/resources/data/storagetech/loot_tables/partscombiner.json b/resources/data/storagetech/loot_tables/blocks/partscombiner.json similarity index 100% rename from resources/data/storagetech/loot_tables/partscombiner.json rename to resources/data/storagetech/loot_tables/blocks/partscombiner.json diff --git a/resources/data/storagetech/loot_tables/poeexporter.json b/resources/data/storagetech/loot_tables/blocks/poeexporter.json similarity index 100% rename from resources/data/storagetech/loot_tables/poeexporter.json rename to resources/data/storagetech/loot_tables/blocks/poeexporter.json diff --git a/resources/data/storagetech/loot_tables/poefurnace.json b/resources/data/storagetech/loot_tables/blocks/poefurnace.json similarity index 100% rename from resources/data/storagetech/loot_tables/poefurnace.json rename to resources/data/storagetech/loot_tables/blocks/poefurnace.json diff --git a/resources/data/storagetech/loot_tables/poeimporter.json b/resources/data/storagetech/loot_tables/blocks/poeimporter.json similarity index 100% rename from resources/data/storagetech/loot_tables/poeimporter.json rename to resources/data/storagetech/loot_tables/blocks/poeimporter.json diff --git a/resources/data/storagetech/loot_tables/structureconstructor.json b/resources/data/storagetech/loot_tables/blocks/structureconstructor.json similarity index 100% rename from resources/data/storagetech/loot_tables/structureconstructor.json rename to resources/data/storagetech/loot_tables/blocks/structureconstructor.json From 545b9f1c299b0580c3a90c753682387e93ef85e2 Mon Sep 17 00:00:00 2001 From: Cynix32 <69455883+Cynix32@users.noreply.github.com> Date: Thu, 19 Aug 2021 14:15:02 +0800 Subject: [PATCH 2/2] Create poedrive.json --- .../loot_tables/blocks/poedrive.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 resources/data/storagetech/loot_tables/blocks/poedrive.json diff --git a/resources/data/storagetech/loot_tables/blocks/poedrive.json b/resources/data/storagetech/loot_tables/blocks/poedrive.json new file mode 100644 index 0000000..d14e2c2 --- /dev/null +++ b/resources/data/storagetech/loot_tables/blocks/poedrive.json @@ -0,0 +1,19 @@ +{ + "type": "minecraft:block", + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "storagetech:poedrive" + } + ], + "conditions": [ + { + "condition": "minecraft:survives_explosion" + } + ] + } + ] +} \ No newline at end of file