Class IdentifierUtil

java.lang.Object
com.refinedmods.refinedstorage.common.util.IdentifierUtil

public final class IdentifierUtil extends Object
  • Field Details

    • MOD_ID

      public static final String MOD_ID
      See Also:
    • YES

      public static final net.minecraft.network.chat.MutableComponent YES
    • NO

      public static final net.minecraft.network.chat.MutableComponent NO
  • Method Details

    • createIdentifier

      public static net.minecraft.resources.ResourceLocation createIdentifier(String value)
    • createTranslationKey

      public static String createTranslationKey(String category, String value)
    • createTranslation

      public static net.minecraft.network.chat.MutableComponent createTranslation(String category, String value)
    • createTranslation

      public static net.minecraft.network.chat.MutableComponent createTranslation(String category, String value, Object... args)
    • createStoredWithCapacityTranslation

      public static net.minecraft.network.chat.MutableComponent createStoredWithCapacityTranslation(long stored, long capacity, double pct)
    • createTranslationAsHeading

      public static net.minecraft.network.chat.MutableComponent createTranslationAsHeading(String category, String value)
    • getTagTranslationKey

      public static String getTagTranslationKey(net.minecraft.tags.TagKey<?> key)
    • formatWithUnits

      public static String formatWithUnits(long qty)
    • format

      public static String format(long qty)