Make progress bar in exopack inventory be clickable
This commit is contained in:
parent
801577fd9e
commit
e009ed33a3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user