Make progress bar in exopack inventory be clickable

This commit is contained in:
DBotThePony 2024-01-08 23:01:49 +07:00
parent 801577fd9e
commit e009ed33a3
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -1,5 +1,6 @@
package ru.dbotthepony.mc.otm.client.screen
import mezz.jei.api.constants.RecipeTypes
import net.minecraft.client.gui.screens.inventory.InventoryScreen
import net.minecraft.world.item.ItemStack
import net.minecraft.world.item.Items
@ -187,6 +188,8 @@ class ExopackInventoryScreen(menu: ExopackInventoryMenu) : MatteryScreen<Exopack
it.dock = Dock.LEFT
it.dockLeft = 9f
it.dockResize = DockResizeMode.NONE
it.setRecipeType { listOf(RecipeTypes.SMELTING) }
}
SlotPanel(this, row, menu.furnaceOutputs[i]).also {