Class ChangeTitleInstruction

All Implemented Interfaces:
IScheduleInput

public class ChangeTitleInstruction extends TextScheduleInstruction
  • Constructor Details

    • ChangeTitleInstruction

      public ChangeTitleInstruction()
  • Method Details

    • getSummary

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

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

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

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

      public String getScheduleTitle()
    • getSecondLineTooltip

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

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