Class IdentifierUtil
java.lang.Object
com.refinedmods.refinedstorage.common.util.IdentifierUtil
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.resources.ResourceLocationcreateIdentifier(String value) static net.minecraft.network.chat.MutableComponentcreateStoredWithCapacityTranslation(long stored, long capacity, double pct) static net.minecraft.network.chat.MutableComponentcreateTranslation(String category, String value) static net.minecraft.network.chat.MutableComponentcreateTranslation(String category, String value, Object... args) static net.minecraft.network.chat.MutableComponentcreateTranslationAsHeading(String category, String value) static StringcreateTranslationKey(String category, String value) static Stringformat(long qty) static StringformatWithUnits(double qty) static StringgetTagTranslationKey(net.minecraft.tags.TagKey<?> key)
-
Field Details
-
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
-
createTranslationKey
-
createTranslation
-
createTranslation
-
createStoredWithCapacityTranslation
public static net.minecraft.network.chat.MutableComponent createStoredWithCapacityTranslation(long stored, long capacity, double pct) -
createTranslationAsHeading
-
getTagTranslationKey
-
formatWithUnits
-
format
-