Contents
- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- Alloc(CraftMode, boolean, boolean, boolean, boolean)
- setMonitor(CraftRecipeMonitor)
- isAllowInputItems()
- isAllowOutputItems()
- isAllowInputResources()
- isAllowOutputResources()
- getToOutputItems()
- reset()
- setRecipe(CraftRecipe)
- getRecipe()
- getDataForInputScript(InputScript)
- getFirstManualInputFor(InputScript)
- canOfferInputItem(InventoryItem)
- canOfferInputItem(InventoryItem, boolean)
- canOfferInputItem(InputScript, InventoryItem)
- canOfferInputItem(InputScript, InventoryItem, boolean)
- offerAndReplaceInputItem(InventoryItem)
- offerAndReplaceInputItem(CraftRecipeData.InputScriptData, InventoryItem)
- offerInputItem(InputScript, InventoryItem)
- offerInputItem(InputScript, InventoryItem, boolean)
- containsInputItem(InventoryItem)
- containsInputItem(CraftRecipeData.InputScriptData, InventoryItem)
- removeInputItem(InventoryItem)
- areAllInputItemsSatisfied()
- luaCallOnTest()
- luaCallOnStart()
- luaCallOnStart(IsoGameCharacter)
- luaCallOnUpdate()
- luaCallOnCreate()
- luaCallOnCreate(IsoGameCharacter)
- luaCallOnFailed()
- canPerform(IsoGameCharacter, List, List, boolean, ArrayList)
- perform(IsoGameCharacter, List, List, ArrayList)
- getPossibleCraftCount(List, List, List, List, boolean)
- canConsumeInputs(List, List, boolean, boolean)
- canConsumeInputs(List)
- consumeInputs(List)
- consumeOnTickInputs(List)
- canCreateOutputs(List)
- createOutputs(List)
- canCreateOutputs(List, IsoGameCharacter)
- createOutputs(List, IsoGameCharacter)
- createOnTickOutputs(List)
- OnTestItem(InventoryItem)
- save(ByteBuffer)
- load(ByteBuffer, int, CraftRecipe, boolean)
- getModData()
- getModelHandOne()
- getModelHandTwo()
- getAllConsumedItems()
- getAllRecordedConsumedItems()
- getAllConsumedItems(ArrayList)
- getAllRecordedConsumedItems(ArrayList)
- getAllConsumedItems(ArrayList, boolean)
- getAllConsumedItems(ArrayList, boolean, boolean)
- getAllKeepInputItems()
- getAllKeepInputItems(ArrayList)
- getAllInputItemsWithFlag(String)
- getInputItems(Integer)
- getFirstInputItemWithFlag(String)
- getFirstInputItemWithTag(String)
- getAllInputItems()
- getAllDestroyInputItems()
- getAllPutBackInputItems()
- getAllNotKeepInputItems()
- getFirstCreatedItem()
- getAllCreatedItems()
- getAllCreatedItems(ArrayList)
- getFirstInputFluidWithFlag(String)
- getViableItem(int)
- getViableResource(int)
Class CraftRecipeData
java.lang.Object
zombie.entity.components.crafting.recipe.CraftRecipeData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCraftRecipeData(CraftMode arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4) -
Method Summary
Modifier and TypeMethodDescriptionstatic CraftRecipeDatabooleanbooleancanConsumeInputs(List<Resource> list) booleancanConsumeInputs(List<Resource> list0, List<InventoryItem> list1, boolean boolean0, boolean boolean1) booleancanCreateOutputs(List<Resource> list) booleancanCreateOutputs(List<Resource> list, IsoGameCharacter character) booleanbooleancanOfferInputItem(InventoryItem arg0, boolean arg1) booleancanOfferInputItem(InputScript arg0, InventoryItem arg1) booleancanOfferInputItem(InputScript arg0, InventoryItem arg1, boolean arg2) booleancanPerform(IsoGameCharacter character, List<Resource> list0, List<InventoryItem> list1, boolean boolean0, ArrayList<ItemContainer> arrayList) booleanconsumeInputs(List<Resource> list) booleanconsumeOnTickInputs(List<Resource> list) booleancontainsInputItem(CraftRecipeData.InputScriptData inputScriptData, InventoryItem item) booleanbooleancreateOnTickOutputs(List<Resource> list) booleancreateOutputs(List<Resource> list) booleancreateOutputs(List<Resource> list, IsoGameCharacter character) getAllConsumedItems(ArrayList<InventoryItem> arrayList) getAllConsumedItems(ArrayList<InventoryItem> arrayList, boolean boolean0) getAllConsumedItems(ArrayList<InventoryItem> arrayList, boolean boolean1, boolean boolean0) getAllCreatedItems(ArrayList<InventoryItem> arrayList) getAllInputItemsWithFlag(String string) getAllKeepInputItems(ArrayList<InventoryItem> arrayList) getAllRecordedConsumedItems(ArrayList<InventoryItem> arrayList) getDataForInputScript(InputScript inputScript) getFirstInputFluidWithFlag(String string) getInputItems(Integer integer) se.krka.kahlua.vm.KahluaTableintgetPossibleCraftCount(List<Resource> list3, List<InventoryItem> list2, List<Resource> list1, List<InventoryItem> list0, boolean boolean0) getViableItem(int arg0) getViableResource(int arg0) booleanbooleanbooleanbooleanbooleanload(ByteBuffer arg0, int arg1, CraftRecipe arg2, boolean arg3) voidvoidvoidvoidvoidbooleanvoidbooleanofferAndReplaceInputItem(CraftRecipeData.InputScriptData inputScriptData, InventoryItem item) booleanbooleanofferInputItem(InputScript arg0, InventoryItem arg1) booleanofferInputItem(InputScript arg0, InventoryItem arg1, boolean arg2) booleanOnTestItem(InventoryItem arg0) booleanperform(IsoGameCharacter character, List<Resource> list0, List<InventoryItem> list1, ArrayList<ItemContainer> arrayList) booleanremoveInputItem(InventoryItem arg0) voidreset()voidsave(ByteBuffer arg0) voidsetMonitor(CraftRecipeMonitor arg0) voidsetRecipe(CraftRecipe arg0)
-
Field Details
-
Constructor Details
-
Method Details
-
Alloc
public static CraftRecipeData Alloc(CraftMode arg0, boolean arg1, boolean arg2, boolean arg3, boolean arg4) -
setMonitor
-
isAllowInputItems
public boolean isAllowInputItems() -
isAllowOutputItems
public boolean isAllowOutputItems() -
isAllowInputResources
public boolean isAllowInputResources() -
isAllowOutputResources
public boolean isAllowOutputResources() -
getToOutputItems
-
reset
public void reset() -
setRecipe
-
getRecipe
-
getDataForInputScript
-
getFirstManualInputFor
-
canOfferInputItem
-
canOfferInputItem
-
canOfferInputItem
-
canOfferInputItem
-
offerAndReplaceInputItem
-
offerAndReplaceInputItem
public boolean offerAndReplaceInputItem(CraftRecipeData.InputScriptData inputScriptData, InventoryItem item) -
offerInputItem
-
offerInputItem
-
containsInputItem
-
containsInputItem
public boolean containsInputItem(CraftRecipeData.InputScriptData inputScriptData, InventoryItem item) -
removeInputItem
-
areAllInputItemsSatisfied
public boolean areAllInputItemsSatisfied() -
luaCallOnTest
public boolean luaCallOnTest() -
luaCallOnStart
public void luaCallOnStart() -
luaCallOnStart
-
luaCallOnUpdate
public void luaCallOnUpdate() -
luaCallOnCreate
public void luaCallOnCreate() -
luaCallOnCreate
-
luaCallOnFailed
public void luaCallOnFailed() -
canPerform
public boolean canPerform(IsoGameCharacter character, List<Resource> list0, List<InventoryItem> list1, boolean boolean0, ArrayList<ItemContainer> arrayList) -
perform
public boolean perform(IsoGameCharacter character, List<Resource> list0, List<InventoryItem> list1, ArrayList<ItemContainer> arrayList) -
getPossibleCraftCount
public int getPossibleCraftCount(List<Resource> list3, List<InventoryItem> list2, List<Resource> list1, List<InventoryItem> list0, boolean boolean0) -
canConsumeInputs
public boolean canConsumeInputs(List<Resource> list0, List<InventoryItem> list1, boolean boolean0, boolean boolean1) -
canConsumeInputs
-
consumeInputs
-
consumeOnTickInputs
-
canCreateOutputs
-
createOutputs
-
canCreateOutputs
-
createOutputs
-
createOnTickOutputs
-
OnTestItem
-
save
- Throws:
IOException
-
load
- Throws:
IOException
-
getModData
public se.krka.kahlua.vm.KahluaTable getModData() -
getModelHandOne
-
getModelHandTwo
-
getAllConsumedItems
-
getAllRecordedConsumedItems
-
getAllConsumedItems
-
getAllRecordedConsumedItems
-
getAllConsumedItems
public ArrayList<InventoryItem> getAllConsumedItems(ArrayList<InventoryItem> arrayList, boolean boolean0) -
getAllConsumedItems
public ArrayList<InventoryItem> getAllConsumedItems(ArrayList<InventoryItem> arrayList, boolean boolean1, boolean boolean0) -
getAllKeepInputItems
-
getAllKeepInputItems
-
getAllInputItemsWithFlag
-
getInputItems
-
getFirstInputItemWithFlag
-
getFirstInputItemWithTag
-
getAllInputItems
-
getAllDestroyInputItems
-
getAllPutBackInputItems
-
getAllNotKeepInputItems
-
getFirstCreatedItem
-
getAllCreatedItems
-
getAllCreatedItems
-
getFirstInputFluidWithFlag
-
getViableItem
-
getViableResource
-