Package appeng.api.networking.crafting
Interface ICraftingSubmitResult
@NonExtendable
public interface ICraftingSubmitResult
Result of submitting a crafting job.
-
Method Summary
Modifier and TypeMethodDescription@Nullable CraftingSubmitErrorCode
@Nullable Object
IferrorCode()
is not-null, this may optionally give additional error details.@Nullable ICraftingLink
link()
The crafting link, only available for successful requests with a requester.default boolean
-
Method Details
-
successful
default boolean successful() -
errorCode
- Returns:
- A not-null error code if the auto-crafting request was not submitted successfully.
-
errorDetail
IferrorCode()
is not-null, this may optionally give additional error details. Type depends on the error code returned inerrorCode()
. -
link
The crafting link, only available for successful requests with a requester. Make sure to properly keep track of this object, save it to NBT, load it from NBT, and make it available to the network viaICraftingRequester.getRequestedJobs()
.
-