Interface IStackBasedTask
- All Known Implementing Classes:
StandardRequests.AbstractCraftingRequest,StandardRequests.DeliveryRequest,StandardRequests.PrivateCraftingRequest,StandardRequests.PublicCraftingRequest
public interface IStackBasedTask
Stack based requests interface for display purposes.
-
Method Summary
Modifier and TypeMethodDescriptionintGet the request related count.net.minecraft.network.chat.MutableComponentGet a display prefix component.net.minecraft.world.item.ItemStackGet the stack associated to the task.
-
Method Details
-
getTaskStack
net.minecraft.world.item.ItemStack getTaskStack()Get the stack associated to the task.- Returns:
- the stack.
-
getDisplayCount
int getDisplayCount()Get the request related count.- Returns:
- the count.
-
getDisplayPrefix
net.minecraft.network.chat.MutableComponent getDisplayPrefix()Get a display prefix component.- Returns:
- the component.
-