Class DestinationInstruction

All Implemented Interfaces:
IScheduleInput

public class DestinationInstruction extends TextScheduleInstruction
  • Constructor Details

    • DestinationInstruction

      public DestinationInstruction()
  • Method Details

    • getSummary

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

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

      public net.minecraft.resources.ResourceLocation getId()
    • 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
    • start

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