getNMSClass

fun getNMSClass(className: String): Class<*>

Loads and returns the Class for the given fully-qualified className.

Example: "net.minecraft.network.protocol.game.ClientboundChatPacket"

Parameters

className

The fully-qualified class name to load.

Throws

if the class cannot be found on the classpath.