Modifier and Type | Class and Description |
---|---|
static class |
RecipeSorter.Category
Deprecated.
|
private static class |
RecipeSorter.SortEntry
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static RecipeSorter.SortEntry |
after
Deprecated.
|
private static RecipeSorter.SortEntry |
before
Deprecated.
|
private static java.util.Map<java.lang.Class<?>,RecipeSorter.Category> |
categories
Deprecated.
|
private static java.util.Map<java.lang.String,RecipeSorter.SortEntry> |
entries
Deprecated.
|
static RecipeSorter |
INSTANCE
Deprecated.
|
private static boolean |
isDirty
Deprecated.
|
private static java.util.Map<java.lang.Class<?>,java.lang.Integer> |
priorities
Deprecated.
|
private static java.util.Set<java.lang.Class<?>> |
warned
Deprecated.
|
Modifier | Constructor and Description |
---|---|
private |
RecipeSorter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private static void |
bake()
Deprecated.
|
int |
compare(IRecipe r1,
IRecipe r2)
Deprecated.
|
static RecipeSorter.Category |
getCategory(java.lang.Class<?> recipe)
Deprecated.
|
static RecipeSorter.Category |
getCategory(IRecipe recipe)
Deprecated.
|
private static int |
getPriority(IRecipe recipe)
Deprecated.
|
static void |
register(java.lang.String name,
java.lang.Class<?> recipe,
RecipeSorter.Category category,
java.lang.String dependencies)
Deprecated.
|
static void |
setCategory(java.lang.Class<?> recipe,
RecipeSorter.Category category)
Deprecated.
|
static void |
sortCraftManager()
Deprecated.
|
private static java.util.Map<java.lang.Class<?>,RecipeSorter.Category> categories
private static java.util.Map<java.lang.String,RecipeSorter.SortEntry> entries
private static java.util.Map<java.lang.Class<?>,java.lang.Integer> priorities
public static final RecipeSorter INSTANCE
private static boolean isDirty
private static RecipeSorter.SortEntry before
private static RecipeSorter.SortEntry after
private static java.util.Set<java.lang.Class<?>> warned
public int compare(IRecipe r1, IRecipe r2)
compare
in interface java.util.Comparator<IRecipe>
public static void sortCraftManager()
public static void register(java.lang.String name, java.lang.Class<?> recipe, RecipeSorter.Category category, java.lang.String dependencies)
public static void setCategory(java.lang.Class<?> recipe, RecipeSorter.Category category)
public static RecipeSorter.Category getCategory(IRecipe recipe)
public static RecipeSorter.Category getCategory(java.lang.Class<?> recipe)
private static int getPriority(IRecipe recipe)
private static void bake()