Class Deprecator

java.lang.Object
org.polyfrost.oneconfig.utils.v1.Deprecator

public final class Deprecator extends Object
Class used by OneConfig for deprecation related utilities
  • Method Details

    • markDeprecated

      public static void markDeprecated()
      mark a method as deprecated

      When a method has this call it will throw a new exception to grab the name or package of the mod that called said method
      This will then send a notification detailing this to the user

      It also throws an UnsupportedOperationException to print a stack to the log