ooprs!!1
This commit is contained in:
parent
072d2187f8
commit
c98a1573aa
@ -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
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user