Package com.prineside.tdi2
Class CraftRecipe
java.lang.Object
com.prineside.tdi2.CraftRecipe
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
float
boolean
boolean
void
setStockMaxQueueStack
(int stack) void
setStockTime
(float time)
-
Field Details
-
ingredients
-
result
-
-
Constructor Details
-
CraftRecipe
public CraftRecipe()
-
-
Method Details
-
isAvailable
public boolean isAvailable() -
hasEnoughItemsToRun
public boolean hasEnoughItemsToRun()- Returns:
- true if player has enough items to craft at least a single item
-
setStockTime
public void setStockTime(float time) -
setStockMaxQueueStack
public void setStockMaxQueueStack(int stack) -
getTimeWithGVs
public float getTimeWithGVs() -
getMaxQueueStackWithGVs
public int getMaxQueueStackWithGVs()
-