public class ToolBadEnchantPurifyAction extends java.lang.Object implements IPurifierAction
| Constructor and Description |
|---|
ToolBadEnchantPurifyAction() |
| 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.
|
public boolean isItemValidForMainSlot(net.minecraft.item.ItemStack itemStack)
IPurifierActionisItemValidForMainSlot in interface IPurifierActionitemStack - The ItemStack that could be inserted.public boolean isItemValidForAdditionalSlot(net.minecraft.item.ItemStack itemStack)
IPurifierActionisItemValidForAdditionalSlot in interface IPurifierActionitemStack - The ItemStack that could be inserted.public boolean canWork(TilePurifier tile)
IPurifierActioncanWork in interface IPurifierActiontile - The Purifier tile.public boolean work(TilePurifier tile)
IPurifierActionwork in interface IPurifierActiontile - The Purifier tile.