Class ViaVersionUtil

java.lang.Object
io.github.retrooper.packetevents.util.viaversion.ViaVersionUtil

public class ViaVersionUtil extends Object
  • Method Details

    • checkIfViaIsPresent

      public static void checkIfViaIsPresent()
    • isAvailable

      public static boolean isAvailable()
    • getViaVersionAccessor

      public static ViaVersionAccessor getViaVersionAccessor()
    • getProtocolVersion

      public static int getProtocolVersion(com.github.retrooper.packetevents.protocol.player.User user)
    • getProtocolVersion

      public static int getProtocolVersion(org.bukkit.entity.Player player)
    • getUserConnectionClass

      public static Class<?> getUserConnectionClass()
    • getBukkitDecodeHandlerClass

      public static Class<?> getBukkitDecodeHandlerClass()
    • getBukkitEncodeHandlerClass

      public static Class<?> getBukkitEncodeHandlerClass()