Enum Class ServerType

java.lang.Object
java.lang.Enum<ServerType>
me.pauleff.converter.ServerType
All Implemented Interfaces:
Serializable, Comparable<ServerType>, Constable

public enum ServerType extends Enum<ServerType>
Identifies the kind of Minecraft server installation being converted.

Each constant carries a human-readable description returned by toString().

  • Enum Constant Details

    • VANILLA

      public static final ServerType VANILLA
      A default vanilla Minecraft server.
    • BUKKIT

      public static final ServerType BUKKIT
      A Bukkit-based server with server-side plugins (Bukkit, Paper, and similar).
    • MODDED

      public static final ServerType MODDED
      A modded server with server- and client-side mods (Forge, Fabric, and similar).
  • Method Details

    • values

      public static ServerType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ServerType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Returns the human-readable description of this server type.
      Overrides:
      toString in class Enum<ServerType>
      Returns:
      the description associated with this constant