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 Type
    Method
    Description
    int
    Get the request related count.
    net.minecraft.network.chat.MutableComponent
    Get a display prefix component.
    net.minecraft.world.item.ItemStack
    Get 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.