Class FetchPackagesInstruction

All Implemented Interfaces:
IScheduleInput

public class FetchPackagesInstruction extends TextScheduleInstruction
  • Constructor Details

    • FetchPackagesInstruction

      public FetchPackagesInstruction()
  • Method Details

    • getSummary

      public net.createmod.catnip.data.Pair<net.minecraft.world.item.ItemStack,net.minecraft.network.chat.Component> getSummary()
    • getTitleAs

      public List<net.minecraft.network.chat.Component> getTitleAs(String type)
      Specified by:
      getTitleAs in interface IScheduleInput
      Overrides:
      getTitleAs in class TextScheduleInstruction
    • getSecondLineIcon

      public net.minecraft.world.item.ItemStack getSecondLineIcon()
    • getFilter

      public String getFilter()
    • getFilterForRegex

      public String getFilterForRegex()
    • getSecondLineTooltip

      public List<net.minecraft.network.chat.Component> getSecondLineTooltip(int slot)
    • modifyEditBox

      protected void modifyEditBox(net.minecraft.client.gui.components.EditBox box)
      Overrides:
      modifyEditBox in class TextScheduleInstruction
    • getId

      public net.minecraft.resources.ResourceLocation getId()
    • supportsConditions

      public boolean supportsConditions()
      Specified by:
      supportsConditions in class ScheduleInstruction
    • start

      public DiscoveredPath start(ScheduleRuntime runtime, net.minecraft.world.level.Level level)
      Specified by:
      start in class ScheduleInstruction