Factory for creating appropriate packets or NMS objects according to the server version.
Creates an instance of the specified class.
Gets the class according to the version from the class name. Example: "net.minecraft.network.protocol.game.ClientboundChatPacket"