/
IJeiHelpers.java
56 lines (47 loc) · 1.55 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
56
package mezz.jei.api;
import mezz.jei.api.recipe.IStackHelper;
import mezz.jei.api.recipe.transfer.IRecipeTransferHandlerHelper;
/**
* IJeiHelpers provides helpers and tools for addon mods.
* Get the instance from {@link IModRegistry#getJeiHelpers()}.
*/
public interface IJeiHelpers {
/**
* Helps with the implementation of GUIs.
*/
IGuiHelper getGuiHelper();
/**
* Helps with getting itemStacks from recipes.
*/
IStackHelper getStackHelper();
/**
* Used to stop JEI from displaying a specific item in the item list.
*/
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 #getSubtypeRegistry()}.
*/
@Deprecated
INbtIgnoreList getNbtIgnoreList();
/**
* If your item has subtypes that depend on NBT or capabilities, use this to help JEI identify those subtypes correctly.
* @deprecated since JEI 3.12.1. Implement {@link IModPlugin#registerItemSubtypes(ISubtypeRegistry)}
*/
@Deprecated
ISubtypeRegistry getSubtypeRegistry();
/**
* @deprecated Use {@link #getSubtypeRegistry()}
*/
@Deprecated
INbtRegistry getNbtRegistry();
/**
* Helps with the implementation of Recipe Transfer Handlers
*/
IRecipeTransferHandlerHelper recipeTransferHandlerHelper();
/**
* Reload JEI at runtime.
* Used by mods that add and remove items or recipes like MineTweaker's /mt reload.
*/
void reload();
}