public static class AssemblyRecipeManager.AssemblyRecipe extends java.lang.Object implements IAssemblyRecipeManager.IAssemblyRecipe
| Modifier and Type | Field and Description |
|---|---|
double |
energyCost |
net.minecraft.item.ItemStack |
output |
| Constructor and Description |
|---|
AssemblyRecipeManager.AssemblyRecipe(net.minecraft.item.ItemStack output,
double energyCost,
java.lang.Object... inputs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeDone(net.minecraft.inventory.IInventory inv) |
double |
getEnergyCost() |
java.lang.Object[] |
getInputs() |
net.minecraft.item.ItemStack |
getOutput() |
void |
useItems(net.minecraft.inventory.IInventory inv) |
public final net.minecraft.item.ItemStack output
public final double energyCost
public AssemblyRecipeManager.AssemblyRecipe(net.minecraft.item.ItemStack output,
double energyCost,
java.lang.Object... inputs)
public net.minecraft.item.ItemStack getOutput()
getOutput in interface IAssemblyRecipeManager.IAssemblyRecipepublic java.lang.Object[] getInputs()
getInputs in interface IAssemblyRecipeManager.IAssemblyRecipepublic double getEnergyCost()
getEnergyCost in interface IAssemblyRecipeManager.IAssemblyRecipepublic boolean canBeDone(net.minecraft.inventory.IInventory inv)
public void useItems(net.minecraft.inventory.IInventory inv)