From 7c146145553d8f3c92679227accf4b96d33d18f5 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Thu, 25 Aug 2022 22:12:10 +0700 Subject: [PATCH] Adjust pill spawn chances --- .../ru/dbotthepony/mc/otm/datagen/DataGen.kt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/DataGen.kt b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/DataGen.kt index 04113bddf..f8418afb3 100644 --- a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/DataGen.kt +++ b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/DataGen.kt @@ -699,14 +699,16 @@ object DataGen { lootModifier.lambda { it.add("dungeon_pill", LootTableBasicAppender( arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/simple_dungeon")).build()), - ItemStack(MItems.PILL_ANDROID, 1) to 0.1, + ItemStack(MItems.PILL_ANDROID, 1) to 0.4, ItemStack(MItems.PILL_HEAL, 2) to 0.5, + ItemStack(MItems.PILL_HEAL, 1) to 0.75, )) it.add("mineshaft_pill", LootTableBasicAppender( arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/abandoned_mineshaft")).build()), - ItemStack(MItems.PILL_ANDROID, 1) to 0.1, - ItemStack(MItems.PILL_HEAL, 1) to 0.25, + ItemStack(MItems.PILL_ANDROID, 1) to 0.075, + ItemStack(MItems.PILL_HEAL, 2) to 0.1, + ItemStack(MItems.PILL_HEAL, 1) to 0.4, )) it.add("desert_pyramid_pill", LootTableBasicAppender( @@ -717,19 +719,19 @@ object DataGen { it.add("jungle_temple_pill", LootTableBasicAppender( arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/jungle_temple")).build()), - ItemStack(MItems.PILL_ANDROID, 1) to 0.1 + ItemStack(MItems.PILL_ANDROID, 1) to 0.5 )) it.add("end_city_pill", LootTableBasicAppender( arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/end_city_treasure")).build()), ItemStack(MItems.PILL_ANDROID, 1) to 0.1, - ItemStack(MItems.PILL_HUMANE, 1) to 0.2, - ItemStack(MItems.PILL_OBLIVION, 1) to 0.4, + ItemStack(MItems.PILL_HUMANE, 1) to 0.3, + ItemStack(MItems.PILL_OBLIVION, 1) to 0.5, )) it.add("shipwreck_supply_pill", LootTableBasicAppender( arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/shipwreck_supply")).build()), - ItemStack(MItems.PILL_HUMANE, 1) to 0.3 + ItemStack(MItems.PILL_HUMANE, 1) to 0.4 )) } }