public enum AllRecipeTypes extends java.lang.Enum<AllRecipeTypes> implements IRecipeTypeInfo
| Enum Constant and Description |
|---|
BASIN |
COMPACTING |
CONVERSION |
CRUSHING |
CUTTING |
DEPLOYING |
EMPTYING |
FILLING |
MECHANICAL_CRAFTING |
MILLING |
MIXING |
PRESSING |
SANDPAPER_POLISHING |
SEQUENCED_ASSEMBLY |
SPLASHING |
| Modifier and Type | Method and Description |
|---|---|
<C extends net.minecraft.inventory.IInventory,T extends net.minecraft.item.crafting.IRecipe<C>> |
find(C inv,
net.minecraft.world.World world) |
net.minecraft.util.ResourceLocation |
getId() |
<T extends net.minecraft.item.crafting.IRecipeSerializer<?>> |
getSerializer() |
<T extends net.minecraft.item.crafting.IRecipeType<?>> |
getType() |
static void |
register(net.minecraftforge.event.RegistryEvent.Register<net.minecraft.item.crafting.IRecipeSerializer<?>> event) |
static <T extends net.minecraft.item.crafting.IRecipe<?>> |
simpleType(net.minecraft.util.ResourceLocation id) |
static AllRecipeTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllRecipeTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllRecipeTypes MECHANICAL_CRAFTING
public static final AllRecipeTypes CONVERSION
public static final AllRecipeTypes CRUSHING
public static final AllRecipeTypes CUTTING
public static final AllRecipeTypes MILLING
public static final AllRecipeTypes BASIN
public static final AllRecipeTypes MIXING
public static final AllRecipeTypes COMPACTING
public static final AllRecipeTypes PRESSING
public static final AllRecipeTypes SANDPAPER_POLISHING
public static final AllRecipeTypes SPLASHING
public static final AllRecipeTypes DEPLOYING
public static final AllRecipeTypes FILLING
public static final AllRecipeTypes EMPTYING
public static final AllRecipeTypes SEQUENCED_ASSEMBLY
public static AllRecipeTypes[] values()
for (AllRecipeTypes c : AllRecipeTypes.values()) System.out.println(c);
public static AllRecipeTypes 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 net.minecraft.util.ResourceLocation getId()
getId in interface IRecipeTypeInfopublic <T extends net.minecraft.item.crafting.IRecipeSerializer<?>> T getSerializer()
getSerializer in interface IRecipeTypeInfopublic <T extends net.minecraft.item.crafting.IRecipeType<?>> T getType()
getType in interface IRecipeTypeInfopublic <C extends net.minecraft.inventory.IInventory,T extends net.minecraft.item.crafting.IRecipe<C>> java.util.Optional<T> find(C inv,
net.minecraft.world.World world)
public static void register(net.minecraftforge.event.RegistryEvent.Register<net.minecraft.item.crafting.IRecipeSerializer<?>> event)
public static <T extends net.minecraft.item.crafting.IRecipe<?>> net.minecraft.item.crafting.IRecipeType<T> simpleType(net.minecraft.util.ResourceLocation id)