Package net.timtaran.interactivemc.util
Class InteractiveMCIdentifier
java.lang.Object
net.timtaran.interactivemc.util.InteractiveMCIdentifier
Utils for generating mod-specific identifiers.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InteractiveMCIdentifier
public InteractiveMCIdentifier()
-
-
Method Details
-
getTranslationKey
Generates a translation key for the given category and path. The returned key is in the format "category.mod_id.path".- Parameters:
category- The category of the translation key.path- The path of the translation key.- Returns:
- The generated translation key.
-
get
Returns aResourceLocationwith the given path and mod_id namespace.- Parameters:
path- The path of the resource location.- Returns:
- The generated resource location.
-