Adjust pill spawn chances
This commit is contained in:
parent
abedc7eace
commit
7c14614555
@ -699,14 +699,16 @@ object DataGen {
|
|||||||
lootModifier.lambda {
|
lootModifier.lambda {
|
||||||
it.add("dungeon_pill", LootTableBasicAppender(
|
it.add("dungeon_pill", LootTableBasicAppender(
|
||||||
arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/simple_dungeon")).build()),
|
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, 2) to 0.5,
|
||||||
|
ItemStack(MItems.PILL_HEAL, 1) to 0.75,
|
||||||
))
|
))
|
||||||
|
|
||||||
it.add("mineshaft_pill", LootTableBasicAppender(
|
it.add("mineshaft_pill", LootTableBasicAppender(
|
||||||
arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/abandoned_mineshaft")).build()),
|
arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/abandoned_mineshaft")).build()),
|
||||||
ItemStack(MItems.PILL_ANDROID, 1) to 0.1,
|
ItemStack(MItems.PILL_ANDROID, 1) to 0.075,
|
||||||
ItemStack(MItems.PILL_HEAL, 1) to 0.25,
|
ItemStack(MItems.PILL_HEAL, 2) to 0.1,
|
||||||
|
ItemStack(MItems.PILL_HEAL, 1) to 0.4,
|
||||||
))
|
))
|
||||||
|
|
||||||
it.add("desert_pyramid_pill", LootTableBasicAppender(
|
it.add("desert_pyramid_pill", LootTableBasicAppender(
|
||||||
@ -717,19 +719,19 @@ object DataGen {
|
|||||||
|
|
||||||
it.add("jungle_temple_pill", LootTableBasicAppender(
|
it.add("jungle_temple_pill", LootTableBasicAppender(
|
||||||
arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/jungle_temple")).build()),
|
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(
|
it.add("end_city_pill", LootTableBasicAppender(
|
||||||
arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/end_city_treasure")).build()),
|
arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/end_city_treasure")).build()),
|
||||||
ItemStack(MItems.PILL_ANDROID, 1) to 0.1,
|
ItemStack(MItems.PILL_ANDROID, 1) to 0.1,
|
||||||
ItemStack(MItems.PILL_HUMANE, 1) to 0.2,
|
ItemStack(MItems.PILL_HUMANE, 1) to 0.3,
|
||||||
ItemStack(MItems.PILL_OBLIVION, 1) to 0.4,
|
ItemStack(MItems.PILL_OBLIVION, 1) to 0.5,
|
||||||
))
|
))
|
||||||
|
|
||||||
it.add("shipwreck_supply_pill", LootTableBasicAppender(
|
it.add("shipwreck_supply_pill", LootTableBasicAppender(
|
||||||
arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/shipwreck_supply")).build()),
|
arrayOf(LootTableIdCondition.Builder(ResourceLocation("chests/shipwreck_supply")).build()),
|
||||||
ItemStack(MItems.PILL_HUMANE, 1) to 0.3
|
ItemStack(MItems.PILL_HUMANE, 1) to 0.4
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user