Class LoreBuilder

java.lang.Object
io.github.thebusybiscuit.slimefun4.utils.LoreBuilder

public final class LoreBuilder extends Object
This utility class provides a few handy methods and constants to build the lore of any SlimefunItemStack. It is mostly used directly inside the class SlimefunItems.
Author:
TheBusyBiscuit
See Also:
  • Field Details

  • Method Details

    • radioactive

      @Nonnull public static String radioactive(@Nonnull Radioactivity radioactivity)
    • machine

      @Nonnull public static String machine(@Nonnull MachineTier tier, @Nonnull MachineType type)
    • speed

      @Nonnull public static String speed(float speed)
    • powerBuffer

      @Nonnull public static String powerBuffer(int power)
    • powerPerSecond

      @Nonnull public static String powerPerSecond(int power)
    • power

      @Nonnull public static String power(int power, @Nonnull String suffix)
    • powerCharged

      @Nonnull public static String powerCharged(int charge, int capacity)
    • material

      @Nonnull public static String material(@Nonnull String material)
    • hunger

      @Nonnull public static String hunger(double value)
    • range

      @Nonnull public static String range(int blocks)
    • usesLeft

      @Nonnull public static String usesLeft(int usesLeft)