Package appeng.api.networking.crafting
Interface ICraftingRequester
- All Superinterfaces:
IActionHost
,IGridNodeService
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet
<ICraftingLink> called when the host is added to the grid, and should return all crafting links it poses so they can be connected with the cpu that hosts the job.long
insertCraftedItems
(ICraftingLink link, AEKey what, long amount, Actionable mode) items are injected into the requester as they are completed.void
jobStateChange
(ICraftingLink link) called when the job changes from in progress, to either complete, or canceled.Methods inherited from interface appeng.api.networking.security.IActionHost
getActionableNode
-
Method Details
-
getRequestedJobs
com.google.common.collect.ImmutableSet<ICraftingLink> getRequestedJobs()called when the host is added to the grid, and should return all crafting links it poses so they can be connected with the cpu that hosts the job.- Returns:
- set of jobs, or an empty list.
-
insertCraftedItems
items are injected into the requester as they are completed.- Returns:
- the number of items inserted.
-
jobStateChange
called when the job changes from in progress, to either complete, or canceled.after this call the crafting link is "dead" and should be discarded.
-