/
IJeiHelpers.java
55 lines (46 loc) · 1.39 KB
/
IJeiHelpers.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package mezz.jei.api;
import mezz.jei.api.recipe.IStackHelper;
import mezz.jei.api.recipe.transfer.IRecipeTransferHandlerHelper;
import javax.annotation.Nonnull;
/**
* IJeiHelpers provides helpers and tools for addon mods.
* Get it from IModRegistry, which is available to IModPlugins.
*/
public interface IJeiHelpers {
/**
* Helps with the implementation of GUIs.
*/
@Nonnull
IGuiHelper getGuiHelper();
/**
* Helps with getting itemStacks from recipes.
*/
@Nonnull
IStackHelper getStackHelper();
/**
* Used to stop JEI from displaying a specific item in the item list.
*/
@Nonnull
IItemBlacklist getItemBlacklist();
/**
* Used to tell JEI to ignore NBT tags when comparing items for recipes.
* @deprecated all nbt is now ignored by default. If you have nbt that is used to identify your item's subtype, see {@link #getNbtRegistry()}.
*/
@Nonnull
@Deprecated
INbtIgnoreList getNbtIgnoreList();
/**
* If your item has subtypes that depend on NBT, use this to help JEI identify those subtypes correctly.
*/
INbtRegistry getNbtRegistry();
/**
* Helps with the implementation of Recipe Transfer Handlers
*/
@Nonnull
IRecipeTransferHandlerHelper recipeTransferHandlerHelper();
/**
* Reload JEI at runtime.
* Used by mods that add and remove items or recipes like MineTweaker's /mt reload.
*/
void reload();
}