Annotation Interface ValueOnVanillaServer


@Retention(RUNTIME) @Target(FIELD) @Documented public @interface ValueOnVanillaServer
Adding this to a config field will reset it to this value on joining a vanilla server, and return it to what it was on leaving. Use the load listeners if you want to do something more fancy. Due to limitations, you cannot use 0 or empty (false-y) values.
  • Element Details

    • stringValue

      String stringValue
      Default:
      ""
    • integerValue

      int integerValue
      Default:
      0
    • floatValue

      float floatValue
      Default:
      0.0f
    • booleanValue

      TriBoolean booleanValue
      Default:
      DEFAULT