Add exosuit inventory upgrades to enderdragon and wither

This commit is contained in:
DBotThePony 2022-10-10 16:30:29 +07:00
parent d29aed077d
commit 8091abe830
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -145,4 +145,14 @@ fun addLootModifiers(it: LootModifiers) {
ItemStack(MItems.EXOSUIT_PROBE) ItemStack(MItems.EXOSUIT_PROBE)
) )
)) ))
it.add("wither_exosuit_upgrades", LootTableSeparatedAppender(
arrayOf(LootTableIdCondition(EntityType.WITHER.defaultLootTable)),
ItemStack(MItems.ExosuitUpgrades.INVENTORY_UPGRADE_WITHER, 1) to 1.0,
))
it.add("ender_dragon_exosuit_upgrades", LootTableSeparatedAppender(
arrayOf(LootTableIdCondition(EntityType.ENDER_DRAGON.defaultLootTable)),
ItemStack(MItems.ExosuitUpgrades.INVENTORY_UPGRADE_ENDER_DRAGON, 1) to 1.0,
))
} }