public interface IPurifierAction
IPurifierActionRegistry.| Modifier and Type | Method and Description |
|---|---|
boolean |
canWork(TilePurifier tile)
Check if he Purifier can work in the current state.
|
boolean |
isItemValidForAdditionalSlot(net.minecraft.item.ItemStack itemStack)
Check if the given item can be inserted into the additional slot of the Purifier.
|
boolean |
isItemValidForMainSlot(net.minecraft.item.ItemStack itemStack)
Check if the given item can be inserted into the Purifier to purify.
|
boolean |
work(TilePurifier tile)
Execute a valid Purifier action for the given Purifier tile.
|
boolean isItemValidForMainSlot(net.minecraft.item.ItemStack itemStack)
itemStack - The ItemStack that could be inserted.boolean isItemValidForAdditionalSlot(net.minecraft.item.ItemStack itemStack)
itemStack - The ItemStack that could be inserted.boolean canWork(TilePurifier tile)
tile - The Purifier tile.boolean work(TilePurifier tile)
tile - The Purifier tile.