@Deprecated public class AssemblyRecipeBasic extends AssemblyRecipe
| Constructor and Description |
|---|
AssemblyRecipeBasic(net.minecraft.util.ResourceLocation name,
long requiredMicroJoules,
com.google.common.collect.ImmutableSet<IngredientStack> requiredStacks,
net.minecraft.item.ItemStack output)
Deprecated.
|
AssemblyRecipeBasic(java.lang.String name,
long requiredMicroJoules,
com.google.common.collect.ImmutableSet<IngredientStack> requiredStacks,
net.minecraft.item.ItemStack output)
Deprecated.
|
AssemblyRecipeBasic(java.lang.String name,
long requiredMicroJoules,
java.util.Set<IngredientStack> requiredStacks,
net.minecraft.item.ItemStack output)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<IngredientStack> |
getInputsFor(net.minecraft.item.ItemStack output)
Deprecated.
Used to determine what items to use up for the given output
|
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)
|
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
|
long |
getRequiredMicroJoulesFor(net.minecraft.item.ItemStack output)
Deprecated.
Used to determine how much MJ is required to asemble the given output item
|
compareTo, equals, getRegistryName, getRegistryType, hashCode, setRegistryNamepublic AssemblyRecipeBasic(net.minecraft.util.ResourceLocation name,
long requiredMicroJoules,
com.google.common.collect.ImmutableSet<IngredientStack> requiredStacks,
@Nonnull
net.minecraft.item.ItemStack output)
public AssemblyRecipeBasic(java.lang.String name,
long requiredMicroJoules,
com.google.common.collect.ImmutableSet<IngredientStack> requiredStacks,
@Nonnull
net.minecraft.item.ItemStack output)
public AssemblyRecipeBasic(java.lang.String name,
long requiredMicroJoules,
java.util.Set<IngredientStack> requiredStacks,
@Nonnull
net.minecraft.item.ItemStack output)
public java.util.Set<net.minecraft.item.ItemStack> getOutputs(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> inputs)
AssemblyRecipegetOutputs in class AssemblyRecipeinputs - Current ingredients in the assembly tablepublic java.util.Set<net.minecraft.item.ItemStack> getOutputPreviews()
AssemblyRecipegetOutputPreviews in class AssemblyRecipepublic java.util.Set<IngredientStack> getInputsFor(@Nonnull net.minecraft.item.ItemStack output)
AssemblyRecipegetInputsFor in class AssemblyRecipeoutput - The output we want to know the inputs for, only ever called using stacks obtained from getOutputs or getOutputPreviewspublic long getRequiredMicroJoulesFor(@Nonnull
net.minecraft.item.ItemStack output)
AssemblyRecipegetRequiredMicroJoulesFor in class AssemblyRecipeoutput - The output we want to know the MJ cost for, only ever called using stacks obtained from getOutputs or getOutputPreviews