Class ViaVersionUtil
java.lang.Object
io.github.retrooper.packetevents.util.viaversion.ViaVersionUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static Class
<?> static Class
<?> static int
getProtocolVersion
(com.github.retrooper.packetevents.protocol.player.User user) static int
getProtocolVersion
(org.bukkit.entity.Player player) static Class
<?> static ViaVersionAccessor
static boolean
-
Method Details
-
checkIfViaIsPresent
public static void checkIfViaIsPresent() -
isAvailable
public static boolean isAvailable() -
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
-
getBukkitDecodeHandlerClass
-
getBukkitEncodeHandlerClass
-