public enum FacadeSwapRecipe extends java.lang.Enum<FacadeSwapRecipe> implements net.minecraft.item.crafting.IRecipe, IRecipeViewable.IViewableGrid
net.minecraftforge.registries.IForgeRegistryEntry.Impl<T extends net.minecraftforge.registries.IForgeRegistryEntry<T>>
IRecipeViewable.IRecipePowered, IRecipeViewable.IViewableGrid
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
canFit(int width,
int height) |
static void |
genRecipes() |
net.minecraft.item.ItemStack |
getCraftingResult(net.minecraft.inventory.InventoryCrafting inv) |
int |
getRecipeHeight() |
ChangingItemStack[] |
getRecipeInputs() |
net.minecraft.item.ItemStack |
getRecipeOutput() |
ChangingItemStack |
getRecipeOutputs() |
int |
getRecipeWidth() |
net.minecraft.util.ResourceLocation |
getRegistryName() |
java.lang.Class<net.minecraft.item.crafting.IRecipe> |
getRegistryType() |
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getRemainingItems(net.minecraft.inventory.InventoryCrafting inv) |
boolean |
matches(net.minecraft.inventory.InventoryCrafting inv,
net.minecraft.world.World world) |
net.minecraft.item.crafting.IRecipe |
setRegistryName(net.minecraft.util.ResourceLocation name) |
static FacadeSwapRecipe |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FacadeSwapRecipe[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacadeSwapRecipe INSTANCE
public static FacadeSwapRecipe[] values()
for (FacadeSwapRecipe c : FacadeSwapRecipe.values()) System.out.println(c);
public static FacadeSwapRecipe 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 static void genRecipes()
public boolean matches(net.minecraft.inventory.InventoryCrafting inv, net.minecraft.world.World world)
matches
in interface net.minecraft.item.crafting.IRecipe
public net.minecraft.item.ItemStack getCraftingResult(net.minecraft.inventory.InventoryCrafting inv)
getCraftingResult
in interface net.minecraft.item.crafting.IRecipe
public net.minecraft.item.ItemStack getRecipeOutput()
getRecipeOutput
in interface net.minecraft.item.crafting.IRecipe
public net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getRemainingItems(net.minecraft.inventory.InventoryCrafting inv)
getRemainingItems
in interface net.minecraft.item.crafting.IRecipe
public ChangingItemStack[] getRecipeInputs()
getRecipeInputs
in interface IRecipeViewable
public ChangingItemStack getRecipeOutputs()
getRecipeOutputs
in interface IRecipeViewable
public int getRecipeWidth()
getRecipeWidth
in interface IRecipeViewable.IViewableGrid
public int getRecipeHeight()
getRecipeHeight
in interface IRecipeViewable.IViewableGrid
public net.minecraft.item.crafting.IRecipe setRegistryName(net.minecraft.util.ResourceLocation name)
setRegistryName
in interface net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.item.crafting.IRecipe>
public net.minecraft.util.ResourceLocation getRegistryName()
getRegistryName
in interface net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.item.crafting.IRecipe>
public java.lang.Class<net.minecraft.item.crafting.IRecipe> getRegistryType()
getRegistryType
in interface net.minecraftforge.registries.IForgeRegistryEntry<net.minecraft.item.crafting.IRecipe>
public boolean canFit(int width, int height)
canFit
in interface net.minecraft.item.crafting.IRecipe