diff --git a/src/main/java/com/minelittlepony/unicopia/item/URecipes.java b/src/main/java/com/minelittlepony/unicopia/item/URecipes.java index 497e6d6c..0c509917 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/URecipes.java +++ b/src/main/java/com/minelittlepony/unicopia/item/URecipes.java @@ -8,7 +8,6 @@ import com.minelittlepony.unicopia.item.cloud.CloudShapingRecipe; import net.fabricmc.fabric.api.loot.v2.LootTableEvents; import net.minecraft.loot.LootTable; -import net.minecraft.loot.context.LootContextTypes; import net.minecraft.recipe.CuttingRecipe; import net.minecraft.recipe.Ingredient; import net.minecraft.recipe.RecipeSerializer; @@ -59,15 +58,11 @@ public interface URecipes { LootTable table = manager.getLootTable(modId); if (table != LootTable.EMPTY) { - if (table.getType() == LootContextTypes.ARCHAEOLOGY) { - supplier.modifyPools(poolBuilder -> { - for (var pool : table.pools) { - poolBuilder.with(List.of(pool.entries)); - } - }); - } else { - supplier.pools(List.of(table.pools)); - } + supplier.modifyPools(poolBuilder -> { + for (var pool : table.pools) { + poolBuilder.with(List.of(pool.entries)); + } + }); } }); } diff --git a/src/main/resources/data/unicopiamc/loot_tables/chests/ancient_city.json b/src/main/resources/data/unicopiamc/loot_tables/chests/ancient_city.json index c0edba35..4f78427a 100644 --- a/src/main/resources/data/unicopiamc/loot_tables/chests/ancient_city.json +++ b/src/main/resources/data/unicopiamc/loot_tables/chests/ancient_city.json @@ -3,14 +3,14 @@ "pools": [ { "rolls": { - "min": 2.0, - "max": 4.0, + "min": 0.0, + "max": 1.0, "type": "minecraft:uniform" }, "entries": [ { "type": "minecraft:item", - "weight": 2, + "weight": 1, "name": "unicopia:grogars_bell" } ]