public class FacadeAssemblyRecipes extends AssemblyRecipe implements IRecipeViewable.IRecipePowered
IRecipeViewable.IRecipePowered, IRecipeViewable.IViewableGrid
Modifier and Type | Field and Description |
---|---|
static FacadeAssemblyRecipes |
INSTANCE |
Constructor and Description |
---|
FacadeAssemblyRecipes() |
Modifier and Type | Method and Description |
---|---|
static net.minecraft.item.ItemStack |
createFacadeStack(FacadeBlockStateInfo info,
boolean isHollow) |
java.util.Set<IngredientStack> |
getInputsFor(net.minecraft.item.ItemStack output)
Used to determine what items to use up for the given output
|
ChangingObject<java.lang.Long> |
getMjCost() |
java.util.Set<net.minecraft.item.ItemStack> |
getOutputPreviews()
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)
The outputs this recipe can generate with any of the given inputs
|
ChangingItemStack[] |
getRecipeInputs() |
ChangingItemStack |
getRecipeOutputs() |
long |
getRequiredMicroJoulesFor(net.minecraft.item.ItemStack output)
Used to determine how much MJ is required to asemble the given output item
|
compareTo, equals, getRegistryName, getRegistryType, hashCode, setRegistryName
public static final FacadeAssemblyRecipes INSTANCE
public static net.minecraft.item.ItemStack createFacadeStack(FacadeBlockStateInfo info, boolean isHollow)
public ChangingItemStack[] getRecipeInputs()
getRecipeInputs
in interface IRecipeViewable
public ChangingItemStack getRecipeOutputs()
getRecipeOutputs
in interface IRecipeViewable
public ChangingObject<java.lang.Long> getMjCost()
getMjCost
in interface IRecipeViewable.IRecipePowered
public java.util.Set<net.minecraft.item.ItemStack> getOutputs(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> inputs)
AssemblyRecipe
getOutputs
in class AssemblyRecipe
inputs
- Current ingredients in the assembly tablepublic java.util.Set<net.minecraft.item.ItemStack> getOutputPreviews()
AssemblyRecipe
getOutputPreviews
in class AssemblyRecipe
public java.util.Set<IngredientStack> getInputsFor(@Nonnull net.minecraft.item.ItemStack output)
AssemblyRecipe
getInputsFor
in class AssemblyRecipe
output
- 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)
AssemblyRecipe
getRequiredMicroJoulesFor
in class AssemblyRecipe
output
- The output we want to know the MJ cost for, only ever called using stacks obtained from getOutputs or getOutputPreviews