Class ItemDescription

java.lang.Object
com.simibubi.create.foundation.item.ItemDescription

public class ItemDescription extends Object
  • Field Details

    • MISSING

      public static final ItemDescription MISSING
    • trim

      public static net.minecraft.network.chat.Component trim
  • Constructor Details

  • Method Details

    • withSummary

      public ItemDescription withSummary(net.minecraft.network.chat.Component summary)
    • getKineticStats

      public static List<net.minecraft.network.chat.Component> getKineticStats(net.minecraft.world.level.block.Block block)
    • makeProgressBar

      public static String makeProgressBar(int length, int filledLength)
    • withBehaviour

      public ItemDescription withBehaviour(String condition, String behaviour)
    • withControl

      public ItemDescription withControl(String condition, String action)
    • createTabs

      public ItemDescription createTabs()
    • hightlight

      public static String hightlight(String s, ItemDescription.Palette palette)
    • addStrings

      public static void addStrings(List<net.minecraft.network.chat.Component> infoList, List<net.minecraft.network.chat.Component> textLines)
    • add

      public static void add(List<net.minecraft.network.chat.Component> infoList, List<net.minecraft.network.chat.Component> textLines)
    • add

      public static void add(List<net.minecraft.network.chat.Component> infoList, net.minecraft.network.chat.Component line)
    • getPalette

      public ItemDescription.Palette getPalette()
    • addInformation

      public List<net.minecraft.network.chat.Component> addInformation(List<net.minecraft.network.chat.Component> tooltip)
    • getLines

      public List<net.minecraft.network.chat.Component> getLines()
    • getLinesOnCtrl

      public List<net.minecraft.network.chat.Component> getLinesOnCtrl()
    • getLinesOnShift

      public List<net.minecraft.network.chat.Component> getLinesOnShift()