Class CraftLogic
java.lang.Object
zombie.entity.Component
zombie.entity.components.crafting.CraftLogic
-
Method Summary
Modifier and TypeMethodDescriptionboolean
debugCanStart
(IsoPlayer player) int
double
getRecipes
(ArrayList<CraftRecipe> arrayList) boolean
boolean
boolean
boolean
boolean
boolean
isValid()
void
sendStartRequest
(IsoPlayer player) void
sendStopRequest
(IsoPlayer player) void
setRecipe
(CraftRecipe craftRecipe) void
setRecipeTagQuery
(String string) void
void
void
Methods inherited from class zombie.entity.Component
DoTooltip, DoTooltip, getComponent, getComponentType, getGameEntity, getOwner, getRenderLastPriority, getUsingPlayer, isAddedToEngine, isQualifiesForMetaStorage, isRenderLast, isRunningInMeta, isUsingPlayer, isValidOwnerType, sendServerPacketTo, toString
-
Method Details
-
isValid
-
getStartMode
-
getElapsedTime
public int getElapsedTime() -
isStartRequested
public boolean isStartRequested() -
isStopRequested
public boolean isStopRequested() -
getRequestingPlayer
-
isDoAutomaticCraftCheck
public boolean isDoAutomaticCraftCheck() -
getInputsGroupName
-
getOutputsGroupName
-
getRecipeTagQuery
-
setRecipeTagQuery
-
getRecipes
-
getRecipes
-
getInputResources
-
getOutputResources
-
isRunning
public boolean isRunning() -
isFinished
public boolean isFinished() -
getCurrentRecipe
-
getProgress
public double getProgress() -
setRecipe
-
getPossibleRecipe
-
debugCanStart
-
canStart
-
start
-
stop
-
stop
-
sendStartRequest
-
sendStopRequest
-