Package net.frozenblock.wilderwild
Class WWConstants
java.lang.Object
net.frozenblock.wilderwild.WWConstants
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic @NotNull net.minecraft.resources.ResourceLocationstatic voidstatic voidlogWithModId(String message, boolean shouldLog) static voidprintStackTrace(String message, boolean shouldPrint) static StringsafeString(String path) static @NotNull Stringstatic net.minecraft.network.chat.Componentstatic net.minecraft.network.chat.Componentstatic @NotNull net.minecraft.resources.ResourceLocationstatic void
-
Field Details
-
PROJECT_ID
- See Also:
-
MOD_ID
- See Also:
-
LOGGER
public static final org.slf4j.Logger LOGGER -
UNSTABLE_LOGGING
public static boolean UNSTABLE_LOGGINGUsed for features that may be unstable and crash in public builds.It's smart to use this for at least registries.
-
MC_LIVE_TENDRILS
public static boolean MC_LIVE_TENDRILS
-
-
Constructor Details
-
WWConstants
public WWConstants()
-
-
Method Details
-
log
-
logWithModId
-
warn
-
error
-
printStackTrace
-
id
@NotNull public static @NotNull net.minecraft.resources.ResourceLocation id(@NotNull @NotNull String path) -
vanillaId
@NotNull public static @NotNull net.minecraft.resources.ResourceLocation vanillaId(@NotNull @NotNull String path) -
string
-
safeString
-
text
- Returns:
- A text component for use in a Config GUI
-
tooltip
- Returns:
- A tooltip component for use in a Config GUI
-