public class TerminalCraftingPlanStatic<I> extends java.lang.Object implements ITerminalCraftingPlan<I>
| Constructor and Description |
|---|
TerminalCraftingPlanStatic(I id,
java.util.List<ITerminalCraftingPlan<I>> dependencies,
java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>> outputs,
TerminalCraftingJobStatus status,
long craftingQuantity,
java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>> storageIngredients,
java.util.List<java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>>> lastMissingIngredients,
java.lang.String unlocalizedLabel,
long tickDuration,
int channel,
java.lang.String initiatorName) |
| Modifier and Type | Method and Description |
|---|---|
static <I> TerminalCraftingPlanStatic<I> |
deserialize(net.minecraft.nbt.NBTTagCompound tag,
ITerminalStorageTabIngredientCraftingHandler<?,I> handler) |
int |
getChannel() |
long |
getCraftingQuantity() |
java.util.List<ITerminalCraftingPlan<I>> |
getDependencies() |
I |
getId() |
java.lang.String |
getInitiatorName() |
java.util.List<java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>>> |
getLastMissingIngredients() |
java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>> |
getOutputs() |
TerminalCraftingJobStatus |
getStatus() |
java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>> |
getStorageIngredients() |
long |
getTickDuration() |
java.lang.String |
getUnlocalizedLabel() |
static <I> net.minecraft.nbt.NBTTagCompound |
serialize(TerminalCraftingPlanStatic<I> plan,
ITerminalStorageTabIngredientCraftingHandler<?,I> handler) |
public TerminalCraftingPlanStatic(I id, java.util.List<ITerminalCraftingPlan<I>> dependencies, java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>> outputs, TerminalCraftingJobStatus status, long craftingQuantity, java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>> storageIngredients, java.util.List<java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>>> lastMissingIngredients, java.lang.String unlocalizedLabel, long tickDuration, int channel, @Nullable java.lang.String initiatorName)
public I getId()
getId in interface ITerminalCraftingPlan<I>public java.util.List<ITerminalCraftingPlan<I>> getDependencies()
getDependencies in interface ITerminalCraftingPlan<I>public java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>> getOutputs()
getOutputs in interface ITerminalCraftingPlan<I>public TerminalCraftingJobStatus getStatus()
getStatus in interface ITerminalCraftingPlan<I>public long getCraftingQuantity()
getCraftingQuantity in interface ITerminalCraftingPlan<I>public java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>> getStorageIngredients()
getStorageIngredients in interface ITerminalCraftingPlan<I>public java.util.List<java.util.List<org.cyclops.commoncapabilities.api.ingredient.IPrototypedIngredient<?,?>>> getLastMissingIngredients()
getLastMissingIngredients in interface ITerminalCraftingPlan<I>TerminalCraftingJobStatus.PENDING_INPUTS.
The inner list represents alternatives.public java.lang.String getUnlocalizedLabel()
getUnlocalizedLabel in interface ITerminalCraftingPlan<I>public long getTickDuration()
getTickDuration in interface ITerminalCraftingPlan<I>public int getChannel()
getChannel in interface ITerminalCraftingPlan<I>@Nullable public java.lang.String getInitiatorName()
getInitiatorName in interface ITerminalCraftingPlan<I>public static <I> net.minecraft.nbt.NBTTagCompound serialize(TerminalCraftingPlanStatic<I> plan, ITerminalStorageTabIngredientCraftingHandler<?,I> handler)
public static <I> TerminalCraftingPlanStatic<I> deserialize(net.minecraft.nbt.NBTTagCompound tag, ITerminalStorageTabIngredientCraftingHandler<?,I> handler)