public enum CraftingRecipeCache extends java.lang.Enum<CraftingRecipeCache>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.util.Optional<net.minecraft.item.crafting.ICraftingRecipe> |
getCachedRecipe(net.minecraft.world.World world,
net.minecraft.inventory.CraftingInventory inv) |
static CraftingRecipeCache |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CraftingRecipeCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CraftingRecipeCache INSTANCE
public static CraftingRecipeCache[] values()
for (CraftingRecipeCache c : CraftingRecipeCache.values()) System.out.println(c);
public static CraftingRecipeCache valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.util.Optional<net.minecraft.item.crafting.ICraftingRecipe> getCachedRecipe(net.minecraft.world.World world,
net.minecraft.inventory.CraftingInventory inv)
public void clear()