public interface IFocus<V>
IRecipeManager#createFocus(Mode, Object).
Use a null IFocus to signify no focus, like in the case of looking up categories of recipes.| Modifier and Type | Interface and Description |
|---|---|
static class |
IFocus.Mode |
| Modifier and Type | Method and Description |
|---|---|
IFocus.Mode |
getMode()
The focus mode.
|
V |
getValue()
The object being focused on.
|
V getValue()
IFocus.Mode getMode()
IFocus.Mode.OUTPUT focus.
When a player looks up the uses for an item, that item is an IFocus.Mode.INPUT focus.