Class CraftLogic

java.lang.Object
zombie.entity.Component
zombie.entity.components.crafting.CraftLogic

public class CraftLogic extends Component
  • Method Details

    • isValid

      public boolean isValid()
      Overrides:
      isValid in class Component
    • getStartMode

      public StartMode getStartMode()
    • getElapsedTime

      public int getElapsedTime()
    • isStartRequested

      public boolean isStartRequested()
    • isStopRequested

      public boolean isStopRequested()
    • getRequestingPlayer

      public IsoPlayer getRequestingPlayer()
    • isDoAutomaticCraftCheck

      public boolean isDoAutomaticCraftCheck()
    • getInputsGroupName

      public String getInputsGroupName()
    • getOutputsGroupName

      public String getOutputsGroupName()
    • getRecipeTagQuery

      public String getRecipeTagQuery()
    • setRecipeTagQuery

      public void setRecipeTagQuery(String string)
    • getRecipes

      public ArrayList<CraftRecipe> getRecipes(ArrayList<CraftRecipe> arrayList)
    • getRecipes

      public List<CraftRecipe> getRecipes()
    • getInputResources

      public List<Resource> getInputResources()
    • getOutputResources

      public List<Resource> getOutputResources()
    • isRunning

      public boolean isRunning()
    • isFinished

      public boolean isFinished()
    • getCurrentRecipe

      public CraftRecipe getCurrentRecipe()
    • getProgress

      public double getProgress()
    • setRecipe

      public void setRecipe(CraftRecipe craftRecipe)
    • getPossibleRecipe

      public CraftRecipe getPossibleRecipe()
    • debugCanStart

      public CraftRecipeMonitor debugCanStart(IsoPlayer player)
    • canStart

      public boolean canStart(IsoPlayer player)
    • start

      public void start(IsoPlayer player)
    • stop

      public void stop(IsoPlayer player)
    • stop

      public void stop(IsoPlayer player, boolean boolean0)
    • sendStartRequest

      public void sendStartRequest(IsoPlayer player)
    • sendStopRequest

      public void sendStopRequest(IsoPlayer player)