public final class IntegrationRecipe
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
net.minecraft.util.ResourceLocation |
name |
net.minecraft.item.ItemStack |
output |
net.minecraft.nbt.NBTTagCompound |
recipeTag
Additional tag used to restore network-transmitted recipe to same state
You need to register own
IIntegrationRecipeProvider using IIntegrationRecipeRegistry.addRecipeProvider(IIntegrationRecipeProvider)
to handle this and declare IIntegrationRecipeProvider.getRecipe(ResourceLocation, NBTTagCompound) method |
long |
requiredMicroJoules |
StackDefinition |
target |
com.google.common.collect.ImmutableList<StackDefinition> |
toIntegrate |
Constructor and Description |
---|
IntegrationRecipe(net.minecraft.util.ResourceLocation name,
long requiredMicroJoules,
StackDefinition target,
java.util.List<StackDefinition> toIntegrate,
net.minecraft.item.ItemStack output) |
IntegrationRecipe(net.minecraft.util.ResourceLocation name,
long requiredMicroJoules,
StackDefinition target,
java.util.List<StackDefinition> toIntegrate,
net.minecraft.item.ItemStack output,
net.minecraft.nbt.NBTTagCompound recipeTag) |
IntegrationRecipe(java.lang.String name,
long requiredMicroJoules,
StackDefinition target,
java.util.List<StackDefinition> toIntegrate,
net.minecraft.item.ItemStack output) |
IntegrationRecipe(java.lang.String name,
long requiredMicroJoules,
StackDefinition target,
java.util.List<StackDefinition> toIntegrate,
net.minecraft.item.ItemStack output,
net.minecraft.nbt.NBTTagCompound recipeTag) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
public final net.minecraft.util.ResourceLocation name
public final long requiredMicroJoules
public final StackDefinition target
public final com.google.common.collect.ImmutableList<StackDefinition> toIntegrate
@Nonnull public final net.minecraft.item.ItemStack output
@Nullable public final net.minecraft.nbt.NBTTagCompound recipeTag
IIntegrationRecipeProvider
using IIntegrationRecipeRegistry.addRecipeProvider(IIntegrationRecipeProvider)
to handle this and declare IIntegrationRecipeProvider.getRecipe(ResourceLocation, NBTTagCompound)
methodpublic IntegrationRecipe(net.minecraft.util.ResourceLocation name, long requiredMicroJoules, StackDefinition target, java.util.List<StackDefinition> toIntegrate, @Nonnull net.minecraft.item.ItemStack output, @Nullable net.minecraft.nbt.NBTTagCompound recipeTag)
public IntegrationRecipe(java.lang.String name, long requiredMicroJoules, StackDefinition target, java.util.List<StackDefinition> toIntegrate, @Nonnull net.minecraft.item.ItemStack output, @Nullable net.minecraft.nbt.NBTTagCompound recipeTag)
public IntegrationRecipe(net.minecraft.util.ResourceLocation name, long requiredMicroJoules, StackDefinition target, java.util.List<StackDefinition> toIntegrate, @Nonnull net.minecraft.item.ItemStack output)
public IntegrationRecipe(java.lang.String name, long requiredMicroJoules, StackDefinition target, java.util.List<StackDefinition> toIntegrate, @Nonnull net.minecraft.item.ItemStack output)