Package appeng.api.networking.crafting
Interface ICraftingLink
public interface ICraftingLink
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
cancels the job.boolean
boolean
isDone()
boolean
void
writeToNBT
(net.minecraft.nbt.CompoundTag tag) write the link to an NBT Tag
-
Method Details
-
isCanceled
boolean isCanceled()- Returns:
- true if the job was canceled.
-
isDone
boolean isDone()- Returns:
- true if the job was completed.
-
cancel
void cancel()cancels the job. -
isStandalone
boolean isStandalone()- Returns:
- true if this link was generated without a requesting machine, such as a player generated request.
-
writeToNBT
void writeToNBT(net.minecraft.nbt.CompoundTag tag) write the link to an NBT Tag- Parameters:
tag
- to be written data
-
getCraftingID
UUID getCraftingID()- Returns:
- the crafting ID for this link.
-