@Deprecated public abstract class AssemblyRecipe extends java.lang.Object implements java.lang.Comparable<AssemblyRecipe>, net.minecraftforge.registries.IForgeRegistryEntry<AssemblyRecipe>
| Constructor and Description |
|---|
AssemblyRecipe()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AssemblyRecipe o)
Deprecated.
|
boolean |
equals(java.lang.Object o)
Deprecated.
|
abstract java.util.Set<IngredientStack> |
getInputsFor(net.minecraft.item.ItemStack output)
Deprecated.
Used to determine what items to use up for the given output
|
abstract java.util.Set<net.minecraft.item.ItemStack> |
getOutputPreviews()
Deprecated.
Used to determine all outputs from this recipe for recipe previews (guide book and/or JEI)
|
abstract java.util.Set<net.minecraft.item.ItemStack> |
getOutputs(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> inputs)
Deprecated.
The outputs this recipe can generate with any of the given inputs
|
net.minecraft.util.ResourceLocation |
getRegistryName()
Deprecated.
|
java.lang.Class<AssemblyRecipe> |
getRegistryType()
Deprecated.
|
abstract long |
getRequiredMicroJoulesFor(net.minecraft.item.ItemStack output)
Deprecated.
Used to determine how much MJ is required to asemble the given output item
|
int |
hashCode()
Deprecated.
|
AssemblyRecipe |
setRegistryName(net.minecraft.util.ResourceLocation name)
Deprecated.
|
public abstract java.util.Set<net.minecraft.item.ItemStack> getOutputs(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> inputs)
inputs - Current ingredients in the assembly tablepublic abstract java.util.Set<net.minecraft.item.ItemStack> getOutputPreviews()
public abstract java.util.Set<IngredientStack> getInputsFor(@Nonnull net.minecraft.item.ItemStack output)
output - The output we want to know the inputs for, only ever called using stacks obtained from getOutputs or getOutputPreviewspublic abstract long getRequiredMicroJoulesFor(@Nonnull
net.minecraft.item.ItemStack output)
output - The output we want to know the MJ cost for, only ever called using stacks obtained from getOutputs or getOutputPreviewspublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(AssemblyRecipe o)
compareTo in interface java.lang.Comparable<AssemblyRecipe>public AssemblyRecipe setRegistryName(net.minecraft.util.ResourceLocation name)
setRegistryName in interface net.minecraftforge.registries.IForgeRegistryEntry<AssemblyRecipe>@Nullable public net.minecraft.util.ResourceLocation getRegistryName()
getRegistryName in interface net.minecraftforge.registries.IForgeRegistryEntry<AssemblyRecipe>public java.lang.Class<AssemblyRecipe> getRegistryType()
getRegistryType in interface net.minecraftforge.registries.IForgeRegistryEntry<AssemblyRecipe>