This commit is contained in:
DBotThePony 2025-03-29 13:47:39 +07:00
parent 072d2187f8
commit c98a1573aa
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -11,21 +11,21 @@ import ru.dbotthepony.mc.otm.core.math.Decimal
enum class AutomationFilters : AutomationFilter<IContainerSlot> { enum class AutomationFilters : AutomationFilter<IContainerSlot> {
ONLY_OUT { ONLY_OUT {
override fun canAutomationPlaceItem(self: IContainerSlot, itemStack: ItemStack): Boolean { override fun canAutomationPlaceItem(self: IContainerSlot, itemStack: ItemStack): Boolean {
return true return false
} }
override fun canAutomationTakeItem(self: IContainerSlot, desired: Int): Boolean { override fun canAutomationTakeItem(self: IContainerSlot, desired: Int): Boolean {
return false return true
} }
}, },
ONLY_IN { ONLY_IN {
override fun canAutomationPlaceItem(self: IContainerSlot, itemStack: ItemStack): Boolean { override fun canAutomationPlaceItem(self: IContainerSlot, itemStack: ItemStack): Boolean {
return false return true
} }
override fun canAutomationTakeItem(self: IContainerSlot, desired: Int): Boolean { override fun canAutomationTakeItem(self: IContainerSlot, desired: Int): Boolean {
return true return false
} }
}, },