Class CraftLogic
java.lang.Object
zombie.entity.Component
zombie.entity.components.crafting.CraftLogic
-
Method Summary
Modifier and TypeMethodDescriptionbooleandebugCanStart(IsoPlayer arg0) voiddoProgressTooltip(ObjectTooltip.Layout layout, Resource var2, CraftRecipeData craftRecipeData) voidvoidfinaliseRecipe(CraftRecipeData craftRecipeData) intintdoublegetProgress(CraftRecipeData craftRecipeData) getRecipes(ArrayList<CraftRecipe> arrayList) getStatusIconsForInputItem(InventoryItem var1, CraftRecipeData var2) booleanbooleanbooleanbooleanbooleanbooleanisValid()voidonStart()voidonStop(CraftRecipeData var1, boolean boolean0) voidonUpdate(CraftRecipeData var1) voidreturnConsumedItemsToResourcesOrSquare(CraftRecipeData craftRecipeData) voidsendStartRequest(IsoPlayer arg0) voidsendStopRequest(IsoPlayer arg0) voidsetRecipe(CraftRecipe arg0) voidsetRecipeTagQuery(String arg0) voidvoidvoidMethods 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
-
isStartRequested
public boolean isStartRequested() -
isStopRequested
public boolean isStopRequested() -
getRequestingPlayer
-
isDoAutomaticCraftCheck
public boolean isDoAutomaticCraftCheck() -
getActiveCraftCount
public int getActiveCraftCount() -
getInputsGroupName
-
getOutputsGroupName
-
getRecipeTagQuery
-
setRecipeTagQuery
-
getRecipes
-
getRecipes
-
getInputResources
-
getOutputResources
-
isRunning
public boolean isRunning() -
getCurrentRecipe
-
getProgress
-
setRecipe
-
getPossibleRecipe
-
debugCanStart
-
canStart
-
getFreeOutputSlotCount
public int getFreeOutputSlotCount() -
start
-
stop
-
stop
-
onStart
public void onStart() -
onUpdate
-
onStop
-
finaliseRecipe
-
dumpContentsInSquare
public void dumpContentsInSquare()- Overrides:
dumpContentsInSquarein classComponent
-
returnConsumedItemsToResourcesOrSquare
-
isNoContainerOrEmpty
public boolean isNoContainerOrEmpty()- Overrides:
isNoContainerOrEmptyin classComponent
-
sendStartRequest
-
sendStopRequest
-
doProgressTooltip
public void doProgressTooltip(ObjectTooltip.Layout layout, Resource var2, CraftRecipeData craftRecipeData) -
getStatusIconsForInputItem
-