public static final class PressureChamberRecipe.SlotCycle
extends java.lang.Object
PressureChamberRecipe.RecipeSlot and a cycle represented as a list indices for the slot.| Constructor and Description |
|---|
SlotCycle(PressureChamberRecipe.RecipeSlot slot,
com.google.common.collect.ImmutableList<java.lang.Integer> cycle)
Create a data object to store a
PressureChamberRecipe.RecipeSlot and a cycle represented as a list of indices for the slot. |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<java.lang.Integer> |
getCycle()
Get the cycle represented as a list of indices.
|
PressureChamberRecipe.RecipeSlot |
getSlot()
Get the
PressureChamberRecipe.RecipeSlot that this cycle belongs to. |
public SlotCycle(PressureChamberRecipe.RecipeSlot slot, com.google.common.collect.ImmutableList<java.lang.Integer> cycle)
PressureChamberRecipe.RecipeSlot and a cycle represented as a list of indices for the slot.slot - Type of slot and the index of the slotcycle - A cycle represented as a list of indicespublic PressureChamberRecipe.RecipeSlot getSlot()
PressureChamberRecipe.RecipeSlot that this cycle belongs to.public com.google.common.collect.ImmutableList<java.lang.Integer> getCycle()