From 47408b451da18073ab3a6430bd14276bc7968b56 Mon Sep 17 00:00:00 2001 From: Gavin Lambert Date: Thu, 12 Dec 2024 22:51:43 +1300 Subject: [PATCH] Fix bad loot table path (#10529) Fixes bad loot table path --- .../loot_tables/{loot_tables => }/miner/lucky_ore1.json | 2 +- .../loot_tables/{loot_tables => }/miner/lucky_ore2.json | 2 +- .../loot_tables/{loot_tables => }/miner/lucky_ore3.json | 2 +- .../loot_tables/{loot_tables => }/miner/lucky_ore4.json | 2 +- .../loot_tables/{loot_tables => }/miner/lucky_ore5.json | 2 +- .../entity/ai/workers/production/EntityAIStructureMiner.java | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename src/datagen/generated/minecolonies/data/minecolonies/loot_tables/{loot_tables => }/miner/lucky_ore1.json (84%) rename src/datagen/generated/minecolonies/data/minecolonies/loot_tables/{loot_tables => }/miner/lucky_ore2.json (90%) rename src/datagen/generated/minecolonies/data/minecolonies/loot_tables/{loot_tables => }/miner/lucky_ore3.json (92%) rename src/datagen/generated/minecolonies/data/minecolonies/loot_tables/{loot_tables => }/miner/lucky_ore4.json (94%) rename src/datagen/generated/minecolonies/data/minecolonies/loot_tables/{loot_tables => }/miner/lucky_ore5.json (94%) diff --git a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore1.json b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore1.json similarity index 84% rename from src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore1.json rename to src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore1.json index 68e1519c018..860997572e0 100644 --- a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore1.json +++ b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore1.json @@ -17,5 +17,5 @@ "rolls": 1.0 } ], - "random_sequence": "minecolonies:loot_tables/miner/lucky_ore1" + "random_sequence": "minecolonies:miner/lucky_ore1" } \ No newline at end of file diff --git a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore2.json b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore2.json similarity index 90% rename from src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore2.json rename to src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore2.json index 2158112901d..aea019e675d 100644 --- a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore2.json +++ b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore2.json @@ -27,5 +27,5 @@ "rolls": 1.0 } ], - "random_sequence": "minecolonies:loot_tables/miner/lucky_ore2" + "random_sequence": "minecolonies:miner/lucky_ore2" } \ No newline at end of file diff --git a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore3.json b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore3.json similarity index 92% rename from src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore3.json rename to src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore3.json index fb6521139a0..c963cd9789e 100644 --- a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore3.json +++ b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore3.json @@ -37,5 +37,5 @@ "rolls": 1.0 } ], - "random_sequence": "minecolonies:loot_tables/miner/lucky_ore3" + "random_sequence": "minecolonies:miner/lucky_ore3" } \ No newline at end of file diff --git a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore4.json b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore4.json similarity index 94% rename from src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore4.json rename to src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore4.json index 63c9fb3f3cd..67afdd3a432 100644 --- a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore4.json +++ b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore4.json @@ -46,5 +46,5 @@ "rolls": 1.0 } ], - "random_sequence": "minecolonies:loot_tables/miner/lucky_ore4" + "random_sequence": "minecolonies:miner/lucky_ore4" } \ No newline at end of file diff --git a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore5.json b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore5.json similarity index 94% rename from src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore5.json rename to src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore5.json index 1577bb6e16b..dcbee353a5f 100644 --- a/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/loot_tables/miner/lucky_ore5.json +++ b/src/datagen/generated/minecolonies/data/minecolonies/loot_tables/miner/lucky_ore5.json @@ -46,5 +46,5 @@ "rolls": 1.0 } ], - "random_sequence": "minecolonies:loot_tables/miner/lucky_ore5" + "random_sequence": "minecolonies:miner/lucky_ore5" } \ No newline at end of file diff --git a/src/main/java/com/minecolonies/core/entity/ai/workers/production/EntityAIStructureMiner.java b/src/main/java/com/minecolonies/core/entity/ai/workers/production/EntityAIStructureMiner.java index 56dabefd2c9..ee298b7b719 100755 --- a/src/main/java/com/minecolonies/core/entity/ai/workers/production/EntityAIStructureMiner.java +++ b/src/main/java/com/minecolonies/core/entity/ai/workers/production/EntityAIStructureMiner.java @@ -72,7 +72,7 @@ public class EntityAIStructureMiner extends AbstractEntityAIStructureWithWorkOrd /** * Lucky ore loot table */ - public static final ResourceLocation LUCKY_ORE_LOOT_TABLE = new ResourceLocation(Constants.MOD_ID, "loot_tables/miner/lucky_ore"); + public static final ResourceLocation LUCKY_ORE_LOOT_TABLE = new ResourceLocation(Constants.MOD_ID, "miner/lucky_ore"); /** * Lead the miner to the other side of the shaft.