public abstract class IntegrationRecipe
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.util.ResourceLocation |
name |
| Constructor and Description |
|---|
IntegrationRecipe(net.minecraft.util.ResourceLocation name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
abstract IngredientStack |
getCenterStack() |
abstract net.minecraft.item.ItemStack |
getOutput(net.minecraft.item.ItemStack target,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> toIntegrate)
Determines the output of this recipe
|
abstract long |
getRequiredMicroJoules(net.minecraft.item.ItemStack output)
Determines the amount of MJ required to integrate
|
abstract com.google.common.collect.ImmutableList<IngredientStack> |
getRequirements(net.minecraft.item.ItemStack output)
Determines the components to use when crafting finishes
|
int |
hashCode() |
public IntegrationRecipe(net.minecraft.util.ResourceLocation name)
public abstract net.minecraft.item.ItemStack getOutput(@Nonnull
net.minecraft.item.ItemStack target,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> toIntegrate)
target - the stack in the middle to integrate the components intotoIntegrate - All available stacks to integrate (not all have to be used up in this recipe)public abstract com.google.common.collect.ImmutableList<IngredientStack> getRequirements(@Nonnull net.minecraft.item.ItemStack output)
output - The generated outputted, determined by getOutputpublic abstract long getRequiredMicroJoules(net.minecraft.item.ItemStack output)
output - The output that would be generatedpublic abstract IngredientStack getCenterStack()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object