public enum FacadeAssemblyRecipes extends java.lang.Enum<FacadeAssemblyRecipes> implements IAssemblyRecipeProvider, IRecipeViewable.IRecipePowered
IRecipeViewable.IRecipePowered, IRecipeViewable.IViewableGrid| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.item.ItemStack |
createFacadeStack(FacadeBlockStateInfo info,
boolean isHollow) |
ChangingObject<java.lang.Long> |
getMjCost() |
java.util.Optional<AssemblyRecipe> |
getRecipe(net.minecraft.util.ResourceLocation name,
net.minecraft.nbt.NBTTagCompound recipeTag)
Returns recipe by it's name
|
ChangingItemStack[] |
getRecipeInputs() |
ChangingItemStack |
getRecipeOutputs() |
java.util.List<AssemblyRecipe> |
getRecipesFor(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> possible)
Should return a list of all the valid recipes given the input items.
|
static FacadeAssemblyRecipes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FacadeAssemblyRecipes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacadeAssemblyRecipes INSTANCE
public static FacadeAssemblyRecipes[] values()
for (FacadeAssemblyRecipes c : FacadeAssemblyRecipes.values()) System.out.println(c);
public static FacadeAssemblyRecipes 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 null@Nonnull public java.util.List<AssemblyRecipe> getRecipesFor(@Nonnull net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> possible)
IAssemblyRecipeProvidergetRecipesFor in interface IAssemblyRecipeProviderpublic static net.minecraft.item.ItemStack createFacadeStack(FacadeBlockStateInfo info, boolean isHollow)
public ChangingItemStack[] getRecipeInputs()
getRecipeInputs in interface IRecipeViewablepublic ChangingItemStack getRecipeOutputs()
getRecipeOutputs in interface IRecipeViewablepublic ChangingObject<java.lang.Long> getMjCost()
getMjCost in interface IRecipeViewable.IRecipePoweredpublic java.util.Optional<AssemblyRecipe> getRecipe(@Nonnull net.minecraft.util.ResourceLocation name, @Nullable net.minecraft.nbt.NBTTagCompound recipeTag)
IAssemblyRecipeProvidergetRecipe in interface IAssemblyRecipeProviderrecipeTag - Additional tag attached to network-transmitted recipe definition