Enum Class PacketHandler.Injector

java.lang.Object
java.lang.Enum<PacketHandler.Injector>
dev.wyck.renderer.packet.PacketHandler.Injector
All Implemented Interfaces:
Serializable, Comparable<PacketHandler.Injector>, Constable
Enclosing interface:
PacketHandler

@AsOf("2.1.0") public static enum PacketHandler.Injector extends Enum<PacketHandler.Injector>
Enum constant for supported packet manipulation libraries.
Since:
2.1.0
  • Enum Constant Details

    • PROTOCOLLIB

      public static final PacketHandler.Injector PROTOCOLLIB
      Requires ProtocolLib to be installed.
    • PACKETEVENTS

      public static final PacketHandler.Injector PACKETEVENTS
      Requires PacketEvents to be installed. By default, PacketEvents does NOT re-sync registries. The server administrator needs to add '-Dpacketevents.force-per-user-registries=true' to their JVM arguments.
    • NETTY

      public static final PacketHandler.Injector NETTY
      Standalone implementation.
  • Method Details

    • values

      public static PacketHandler.Injector[] 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 PacketHandler.Injector 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
    • getName

      public String getName()
    • isAvailable

      public boolean isAvailable()